|
|
@ -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)); |
|
|
|
} |
|
|
|
} |