查询逻辑更改
All checks were successful
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head This commit looks good
All checks were successful
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head This commit looks good
This commit is contained in:
parent
424fddd2ed
commit
746ddee34a
|
@ -37,6 +37,7 @@ public class ModuleServiceImpl implements ModuleService {
|
|||
//判断是否是项目负责人
|
||||
int is = 1;
|
||||
if(!pid.equals(userId)){
|
||||
log.info("不是负责人");
|
||||
is = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<select id="getByProjectId" resultType="com.jsl.oa.model.doData.ProjectWorkDO">
|
||||
select * from organize_oa.oa_project_work where project_id=#{projectId} and type=0
|
||||
<if test="is != 1 ">
|
||||
and principal_id=#{userId}
|
||||
and (principal_id=#{userId} or principal_id is null)
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user