Browse Source

create过滤字段删除

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

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

@ -17,7 +17,6 @@ import org.springframework.util.CollectionUtils;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* @Auther: zhenggl
@ -48,7 +47,6 @@ public class StaffCreateEAIService extends AbsEAIService {
throw new DWRuntimeException("缺少必要参数");
}
staffService.saveBatch(staffList);
List<StaffEntity> collect = staffList.stream().map(item -> new StaffEntity(item.getId(),item.getEmployeeNo())).collect(Collectors.toList());
return EAIUtil.buildEAIResult(new JSONObject().fluentPut("wait_register_personnel",collect));
return EAIUtil.buildEAIResult(new JSONObject().fluentPut("wait_register_personnel",staffList));
}
}

Loading…
Cancel
Save