|
|
|
|
@ -152,7 +152,10 @@ public class TaskManagementService {
|
|
|
|
|
BeanUtils.copyProperties(dto, testingAlcohol); |
|
|
|
|
testingAlcohol.setTaskId(task.getId()); |
|
|
|
|
testingAlcohol.setDataGenerationMethod(dto.getSamplingTarget()); |
|
|
|
|
testingAlcohol.setSummary(String.format("应检%s人,已检0人,未检0人,发现0个问题。", dto.getPoliceVos().size())); |
|
|
|
|
if(CollectionUtil.isNotEmpty(dto.getUserList())){ |
|
|
|
|
testingAlcohol.setSummary(String.format("应检%s人,已检0人,未检0人,发现0个问题。", dto.getUserList().size())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
testingAlcoholService.save(testingAlcohol); |
|
|
|
|
//处理关联关系
|
|
|
|
|
List<SupTaskTestingAlcoholSampling> samplings = new ArrayList<>(); |
|
|
|
|
|