提交修改
This commit is contained in:
commit
4a6b4d7a2f
@ -446,9 +446,20 @@ public class ResultRecordController extends AbstractController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
R r = null;
|
||||||
for (ResultRecord resultRecord : resultRecords) {
|
for (ResultRecord resultRecord : resultRecords) {
|
||||||
resultRecordService.approval(resultRecord.getId(), getUserId());
|
r = resultRecordService.approval(resultRecord.getId(), getUserId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(r != null && r.isSuccess()){//批量提交
|
||||||
|
StaffEntity mySelf = (StaffEntity)r.get("from");
|
||||||
|
StaffEntity toSelf = (StaffEntity)r.get("to");
|
||||||
|
WorkMsgTypeEnum workMsgTypeEnum = (WorkMsgTypeEnum)r.get("type");
|
||||||
|
sendWorkMSG(mySelf, toSelf, workMsgTypeEnum, 0L, 2);
|
||||||
|
}
|
||||||
|
|
||||||
return R.ok("批量提交成功");
|
return R.ok("批量提交成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user