Browse Source

必要参数判空

master
郑贵龙 1 year ago
parent
commit
bc9ad01d1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/staff/StaffUpdateEAIService.java

+ 1
- 1
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/staff/StaffUpdateEAIService.java View File

@ -50,7 +50,7 @@ public class StaffUpdateEAIService extends AbsEAIService {
EAIRequest request = new EAIRequest(messageBody);
String option = request.getObject("option", String.class);
List<StaffEntity> staffList = request.getObject("wait_register_personnel", StaffUtil.LIST_ENTITY_STAFF);
if (!CollectionUtils.isEmpty(staffList)) {
if (CollectionUtils.isEmpty(staffList)) {
throw new DWRuntimeException("必要参数不可为空");
}
//界面


Loading…
Cancel
Save