Commit 622dea05 by 穆龙飞

modify:限制转交自己

parent eacc29c7
...@@ -1051,6 +1051,9 @@ public class ChangeFlowBiz { ...@@ -1051,6 +1051,9 @@ public class ChangeFlowBiz {
if (!uid.equals(changeCommander)) { if (!uid.equals(changeCommander)) {
throw ExceptionFactory.createBiz(ResponseCode.NO_AUTH, ResponseCode.NO_AUTH.getMsg()); throw ExceptionFactory.createBiz(ResponseCode.NO_AUTH, ResponseCode.NO_AUTH.getMsg());
} }
if (changeCommander.equals(req.getDeliverUser())) {
throw ExceptionFactory.createBiz(ResponseCode.BAD_REQUEST, "不能转交给自己!");
}
// 工单审核人转交 // 工单审核人转交
String deliverUser = req.getDeliverUser(); String deliverUser = req.getDeliverUser();
UserBaseDTO userBaseDTO = new UserBaseDTO(); UserBaseDTO userBaseDTO = new UserBaseDTO();
......
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