待办中心-已办、已发列表字段增加。
This commit is contained in:
+5
-1
@@ -76,7 +76,11 @@
|
||||
pi.flow_type,
|
||||
createBy.username as "create_by",
|
||||
pi.end_time,
|
||||
pi.status
|
||||
(select detail.task_id from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} limit 1) as task_id,
|
||||
(select detail.task_definition_key from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} limit 1) as task_definition_key,
|
||||
pi.status,
|
||||
pi.prc_num,
|
||||
pi.prc_name
|
||||
FROM
|
||||
process_info pi
|
||||
left join project_library_base plb on plb.id = pi.project_library_id
|
||||
|
||||
+1
@@ -152,6 +152,7 @@ public class ProcessInfoDetailEOServiceImpl extends ServiceImpl<ProcessInfoDetai
|
||||
String taskStatus = jsonObject.getString("taskStatus");
|
||||
LambdaUpdateWrapper<ProcessInfoDetailEO> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
updateWrapper.set(ProcessInfoDetailEO::getStatus,taskStatus);
|
||||
updateWrapper.set(ProcessInfoDetailEO::getSubmitTime,new Date());
|
||||
updateWrapper.eq(ProcessInfoDetailEO::getTaskId,taskId);
|
||||
this.update(updateWrapper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user