This commit is contained in:
mashuai 2024-05-27 16:30:00 +08:00
parent ba74371330
commit 3e93e0ff4b
2 changed files with 1 additions and 6 deletions

View File

@ -651,11 +651,6 @@ public class TmTaskServiceImpl implements TmTaskService {
} }
} }
} }
// 存入领料任务实体集合
tmTask.setLeaseApplyInfoList(collect);
if (collect.size() > 0) {
tmTask.setRemark(collect.get(0).getRemark());
}
} }
//施管部只能看到机具分公司101的数据 //施管部只能看到机具分公司101的数据
if (roles.contains("jjfgs") || roles.contains("sgb") || deptId == 101) { if (roles.contains("jjfgs") || roles.contains("sgb") || deptId == 101) {

View File

@ -940,7 +940,7 @@
AND tt.create_by = #{record.createBy} AND tt.create_by = #{record.createBy}
</if> </if>
<if test="record.companyId != null and record.companyId != '' "> <if test="record.companyId != null and record.companyId != '' ">
AND lai.company_id = #{record.companyId} AND lai.company_id = #{record.companyId} or su.dept_id = #{record.companyId}
</if> </if>
<if test="record.taskId != null and record.taskId != '' "> <if test="record.taskId != null and record.taskId != '' ">
AND tt.task_id = #{record.taskId} AND tt.task_id = #{record.taskId}