fix
This commit is contained in:
parent
4fef586a34
commit
9920612d0d
@ -116,7 +116,6 @@ public class TaskProcessRecordServiceImpl extends ServiceImpl<TaskProcessRecordM
|
||||
|
||||
List list = pageUtils.getList();
|
||||
if(CollectionUtils.isNotEmpty(list)){
|
||||
|
||||
if(detailId == null){
|
||||
ResultTask resultTask = resultTaskService.selectResultTaskById(taskId);
|
||||
detailId = resultTask.getDetailId();
|
||||
@ -124,6 +123,7 @@ public class TaskProcessRecordServiceImpl extends ServiceImpl<TaskProcessRecordM
|
||||
ResultDetail resultDetail = resultDetailService.selectResultDetailById(detailId);
|
||||
StaffEntity staffEntity = staffService.selectStaffById(resultDetail.getStaffId());
|
||||
StaffOccupationEntity staffOccupationByStaffId = staffOccupationService.getStaffOccupationByStaffId(resultDetail.getStaffId());
|
||||
|
||||
List<TaskProcessRecordDto> dtos = list;
|
||||
for(TaskProcessRecordDto dto:dtos){
|
||||
dto.setTypeDesc(ProcessRecordEnum.findByType(dto.getType()).getDesc());
|
||||
|
||||
@ -149,7 +149,7 @@
|
||||
|
||||
|
||||
<select id="selectTaskProcessRecordsByTaskIdsAndType" resultType="com.lz.modules.performance.dto.TaskProcessRecordDto">
|
||||
select gmt_create,remark,label,type from lz_task_process_record where is_delete = 0
|
||||
select gmt_create,remark,label,type,use_type from lz_task_process_record where is_delete = 0
|
||||
<if test="useType !=null">
|
||||
and use_type = #{useType}
|
||||
</if>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user