|
|
|
|
@ -60,7 +60,6 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
|
|
|
|
|
private final FlowService flowService; |
|
|
|
|
private final NegativeThingFileService thingFileService; |
|
|
|
|
private final NegativeQueryService negativeQueryService; |
|
|
|
|
private final NegativeWorkService workService; |
|
|
|
|
private final NegativeTaskService negativeTaskService; |
|
|
|
|
private final DepartNegativeRateService departNegativeRateService; |
|
|
|
|
private final NegativeWorkService negativeWorkService; |
|
|
|
|
@ -83,6 +82,10 @@ public class ComplaintCollectionServiceImpl implements ComplaintCollectionServic
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
ComplaintCollection complaintCollection = ComplaintCollectionTransfer.INSTANCE.addRequestToEntity(request); |
|
|
|
|
// 生成编号
|
|
|
|
|
if (StrUtil.isBlank(complaintCollection.getOriginId())){ |
|
|
|
|
complaintCollection.setOriginId(SfssUtil.generateIdWithPrefix(request.getSourceTable())); |
|
|
|
|
} |
|
|
|
|
complaintCollection.setCreateTime(LocalDateTime.now()); |
|
|
|
|
complaintCollection.setCreateBy(UserContextHolder.getCurrentUser().getUserName()); |
|
|
|
|
Boolean res = complaintCollectionResourceService.createComplaintCollection(Arrays.asList(complaintCollection)); |
|
|
|
|
|