关于修改任务的问题
This commit is contained in:
parent
6d4a89d665
commit
78d4119301
@ -913,7 +913,8 @@ public class ResultRecordController extends AbstractController {
|
||||
resultTaskService.deleteResultTasksByDetailId(resultDetail.getId());
|
||||
}else{
|
||||
//更新任务
|
||||
if(detailDto.getTaskDtos() != null && detailDto.getTaskDtos().size() > 0){
|
||||
if(getUserId().longValue() == resultRecord.getStaffId().longValue() &&
|
||||
detailDto.getTaskDtos() != null && detailDto.getTaskDtos().size() > 0){//本人编辑任务才允许提交
|
||||
log.info("任务个数{}", detailDto.getTaskDtos().size());
|
||||
int orderBy = 0;
|
||||
for (ResultTaskDto taskDto:detailDto.getTaskDtos()
|
||||
|
||||
@ -161,7 +161,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectEvaluationGroupByCopyId" resultType="EvaluationGroup" >
|
||||
select * from lz_evaluation_group where is_delete = 0 and copy_id = #{copyId} and start_id = #{startId}
|
||||
select * from lz_evaluation_group where is_delete = 0 and copy_id = #{copyId} and start_id = #{startId} limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user