|
|
@@ -28,6 +28,7 @@ import org.jeecg.modules.medical.service.IAfterwardsAuditDetailService;
|
|
|
import org.jeecg.modules.medical.service.IAfterwardsAuditService;
|
|
|
import org.jeecg.modules.medical.service.IViolationAnalysisService;
|
|
|
import org.jeecg.modules.medical.service.impl.ExportUtilHelperService;
|
|
|
+import org.jeecg.modules.system.service.ISysDictService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
@@ -56,6 +57,8 @@ import java.util.List;
|
|
|
@RequestMapping("/medical/violation/analysis")
|
|
|
@Slf4j
|
|
|
public class ViolationAnalysisController {
|
|
|
+ @Autowired
|
|
|
+ private ISysDictService sysDictService;
|
|
|
|
|
|
@Autowired
|
|
|
private IViolationAnalysisService violationAnalysisService;
|
|
|
@@ -332,6 +335,9 @@ public class ViolationAnalysisController {
|
|
|
IPage<AuditAdvanceWarningAuditDetailResponse> page = new Page<>(pageNo, pageSize);
|
|
|
IPage<MidAuditDetailResponse> result = violationAnalysisService.midViolateRuleTypePageList(page,
|
|
|
medicalInsRuleInfoName, projectType, startTime, endTime,errorAmountTotal);
|
|
|
+ result.getRecords().forEach(it->{
|
|
|
+ it.setProjectType(sysDictService.queryDictTextByKey("PROJECT_USE_TYPE",it.getProjectType()));
|
|
|
+ });
|
|
|
return Result.OK(result);
|
|
|
}
|
|
|
|
|
|
@@ -592,6 +598,9 @@ public class ViolationAnalysisController {
|
|
|
IPage<AuditAdvanceWarningAuditDetailResponse> page = new Page<>(pageNo, pageSize);
|
|
|
IPage<MidAuditDetailResponse> result = violationAnalysisService.afterViolateRuleTypePageList(page,
|
|
|
medicalInsRuleInfoName, projectType, startTime, endTime);
|
|
|
+ result.getRecords().forEach(it->{
|
|
|
+ it.setProjectType(sysDictService.queryDictTextByKey("PROJECT_USE_TYPE",it.getProjectType()));
|
|
|
+ });
|
|
|
return Result.OK(result);
|
|
|
}
|
|
|
|