From 9fc9c7e22b8147a24876df2dcc53447e1f013e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E5=AE=87?= <123> Date: Thu, 18 Apr 2024 10:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/controller/BaseEngineController.java | 27 ++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/flysoft-document/src/main/java/com/flysoft/home/controller/BaseEngineController.java b/flysoft-document/src/main/java/com/flysoft/home/controller/BaseEngineController.java index 0f8e65f..807403b 100644 --- a/flysoft-document/src/main/java/com/flysoft/home/controller/BaseEngineController.java +++ b/flysoft-document/src/main/java/com/flysoft/home/controller/BaseEngineController.java @@ -137,7 +137,7 @@ public class BaseEngineController @Autowired private IGwsfRegisterpostuploadfileService gwsfRegisterpostuploadfileService; - + @Autowired private GanbuService ganbuService; @@ -1364,7 +1364,7 @@ public class BaseEngineController //环节类型 0单位环节(人员树只选择本单位的);1:全局环节(人员树选择所有的) int handletype = mblink.getFlowHandleType(); - + //消息提醒方式 String prompttype = mblink.getFlowPrompttype(); @@ -2925,6 +2925,29 @@ public class BaseEngineController } /** + * 处理流转人员数据(新增) + * @param dataid 业务数据id + * @param dfid 流转记录id + * @param dfstate 流转记录状态 + * */ + protected void clCirculationPersonnel(String dataid,String dfid,String dfstate){ + try{ + CirculationPersonnel cps = new CirculationPersonnel(); + cps.setId(StringUtils.getUUID()); + cps.setCsid(dataid); + cps.setDataId(dataid); + cps.setDataflowId(dfid); + cps.setUserId(ShiroUtils.getSysUser().getVuserid()); + cps.setUserName(ShiroUtils.getSysUser().getUserName()); + cps.setDfstate(dfstate); + cps.setCreateBy(ShiroUtils.getLoginName()); + circulationPersonnelService.insertCirculationPersonnel(cps); + }catch (Exception e){ + e.printStackTrace(); + } + } + + /** * 处理流转人员数据(待办、在办、已办) * 相同业务数据(data_id)、流转数据(dataflow_id)、用户(user_id)、用户单位(user_dwid)的数据应只有一条 * 上一环节发送时新增待签收(dfstate=0)的数据;后续办理人员签收时,将自己对应的数据修改为已签收(dfstate=1),办理完成提交时再修改为已完成(dfstate=2)