Commit d92c1edb authored by 刘林's avatar 刘林

fix(JG):车用气瓶-监管码功能开发

parent 210f9fa0
...@@ -494,9 +494,9 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform ...@@ -494,9 +494,9 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
try { try {
boolean isLocked = lock.tryLock(0, 180, TimeUnit.SECONDS); boolean isLocked = lock.tryLock(0, 180, TimeUnit.SECONDS);
// 解决并发问题:多个人同时操作一个流程(并发执行通过、驳回、撤回) // 解决并发问题:多个人同时操作一个流程(并发执行通过、驳回、撤回)
//if(isLocked){ if(isLocked){
// throw new BadRequest("当前流程已经被执行!请重新打开页面查看并执行!"); throw new BadRequest("当前流程已经被执行!请重新打开页面查看并执行!");
//} }
// 流程执行时,状态及权限校验 // 流程执行时,状态及权限校验
commonService.checkForExecuteFlow(nextTaskId, instanceId); commonService.checkForExecuteFlow(nextTaskId, instanceId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment