|
|
|
@ -54,6 +54,8 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic |
|
|
|
throw new IllegalStateException("存在相同编号+来源"); |
|
|
|
throw new IllegalStateException("存在相同编号+来源"); |
|
|
|
} |
|
|
|
} |
|
|
|
ComplaintCollection complaintCollection = ComplaintCollectionTransfer.INSTANCE.addRequestToEntity(request); |
|
|
|
ComplaintCollection complaintCollection = ComplaintCollectionTransfer.INSTANCE.addRequestToEntity(request); |
|
|
|
|
|
|
|
complaintCollection.setCreateTime(LocalDateTime.now()); |
|
|
|
|
|
|
|
complaintCollection.setCreateBy(UserContextHolder.getCurrentUser().getUserName()); |
|
|
|
Boolean res = complaintCollectionResourceService.createComplaintCollection(Arrays.asList(complaintCollection)); |
|
|
|
Boolean res = complaintCollectionResourceService.createComplaintCollection(Arrays.asList(complaintCollection)); |
|
|
|
return Result.success(res); |
|
|
|
return Result.success(res); |
|
|
|
} |
|
|
|
} |
|
|
|
|