Browse Source

规则检索

zhoutg 4 years ago
parent
commit
193b3dfc37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/diagbot/web/KlRegulationController.java

+ 1 - 1
src/main/java/com/diagbot/web/KlRegulationController.java

@@ -48,7 +48,7 @@ public class KlRegulationController {
             "type:规则类型:(1:量表)\n" +
             "type:规则类型:(1:量表)\n" +
             " notCodeList:过滤编码")
             " notCodeList:过滤编码")
     @PostMapping("/index")
     @PostMapping("/index")
-    public RespDTO<RegulationIndexDTO> index(@RequestBody RegulationIndexVO regulationIndexVO) {
+    public RespDTO<List<RegulationIndexDTO>> index(@RequestBody RegulationIndexVO regulationIndexVO) {
         List<RegulationIndexDTO> regulationIndexDTOList = klRegulationFacade.index(regulationIndexVO);
         List<RegulationIndexDTO> regulationIndexDTOList = klRegulationFacade.index(regulationIndexVO);
         return RespDTO.onSuc(regulationIndexDTOList);
         return RespDTO.onSuc(regulationIndexDTOList);
     }
     }