|
@@ -143,6 +143,12 @@ public class ExternalUnitCapitalDemandService extends CrudService<ExternalUnitCa
|
|
|
long s6=System.currentTimeMillis();
|
|
|
List<User> users = new ArrayList<>();
|
|
|
List<User> wjbc = new ArrayList<>();
|
|
|
+ if (StringUtils.isNotBlank(capitalDemand.getId())){
|
|
|
+ //通知添加流程实例ID
|
|
|
+ WorkProjectNotify notify = new WorkProjectNotify();
|
|
|
+ notify.setNotifyId(capitalDemand.getId());
|
|
|
+ workProjectNotifyService.readByNotifyId(notify);
|
|
|
+ }
|
|
|
//文件补充审核
|
|
|
User user1 = UserUtils.get(capitalDemand.getExaminer());
|
|
|
wjbc.add(user1);
|
|
@@ -221,10 +227,7 @@ public class ExternalUnitCapitalDemandService extends CrudService<ExternalUnitCa
|
|
|
// 更新流程实例ID
|
|
|
capitalDemand.setProcessInstanceId(processInstance.getId());
|
|
|
capitalDemandDao.updateProcessInstanceId(capitalDemand);
|
|
|
- //通知添加流程实例ID
|
|
|
- WorkProjectNotify notify = new WorkProjectNotify();
|
|
|
- notify.setNotifyId(capitalDemand.getId());
|
|
|
- workProjectNotifyService.readByNotifyId(notify);
|
|
|
+
|
|
|
workProjectNotify.setProcessInstanceId(processInstance.getId());
|
|
|
workProjectNotify.setWapBeginDate(new Date());
|
|
|
workProjectNotifyService.save(workProjectNotify);
|