
Some checks failed
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head There was a failure building this commit
26 lines
860 B
Java
26 lines
860 B
Java
package com.jsl.oa.mapper;
|
|
|
|
import com.jsl.oa.model.doData.ProjectWorkDO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import java.util.List;
|
|
|
|
@Mapper
|
|
public interface ModuleMapper {
|
|
|
|
|
|
|
|
//@Select("select * from organize_oa.oa_project_work where project_id=#{projectId} and principal_id=#{userId} and type=0")
|
|
List<ProjectWorkDO> getByProjectId(Integer projectId, Long userId,int is);
|
|
|
|
//@Select("select * from organize_oa.oa_project_work where pid=#{sysId} and type=1")
|
|
List<ProjectWorkDO> getBySysId(Integer sysId, Long userId,int is);
|
|
|
|
@Select("select principal_id from organize_oa.oa_project where id=#{projectId}")
|
|
Long getPidByProjectid(Integer projectId);
|
|
|
|
@Select("select principal_id from organize_oa.oa_project_work where id=#{sysId}")
|
|
Long getPidBySysid(Integer sysId);
|
|
}
|