gaodm 5 gadi atpakaļ
vecāks
revīzija
20c1b6f3b8

+ 3 - 3
tran-service/src/main/java/com/diagbot/facade/SysSetFacade.java

@@ -24,9 +24,9 @@ public class SysSetFacade extends SysSetServiceImpl {
      * @return
      */
     public List<SysSetInfoDTO> getSysSetInfoData(HospitalSetVO hospitalSetVO) {
-//		 QueryWrapper<SysSet> queryWrapper = new QueryWrapper<SysSet>();
-//	        queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
-//	        			.in("hospital_code", hospitalSetVO.getHospitalCode());
+        //		 QueryWrapper<SysSet> queryWrapper = new QueryWrapper<SysSet>();
+        //	        queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
+        //	        			.in("hospital_code", hospitalSetVO.getHospitalCode());
         if (IntegerUtil.isNull(hospitalSetVO.getPlan())) {
             hospitalSetVO.setPlan(0);
         }

+ 18 - 23
tran-service/src/main/java/com/diagbot/web/SysSetController.java

@@ -1,25 +1,20 @@
 package com.diagbot.web;
 
-
-import java.util.List;
-
-import javax.validation.Valid;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
 import com.diagbot.annotation.SysLogger;
-import com.diagbot.dto.IndexDataDTO;
 import com.diagbot.dto.RespDTO;
 import com.diagbot.dto.SysSetInfoDTO;
 import com.diagbot.facade.SysSetFacade;
 import com.diagbot.vo.HospitalSetVO;
-
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.validation.Valid;
+import java.util.List;
 
 /**
  * <p>
@@ -35,14 +30,14 @@ import io.swagger.annotations.ApiOperation;
 @SuppressWarnings("unchecked")
 public class SysSetController {
 
-	@Autowired
-	SysSetFacade sysSetFacade;
-	
-	@ApiOperation(value = "根据医院编码获取配置信息[by:wangfeng]", notes = "hospitalCode :医院code  必填<br> ")
-	@PostMapping("/getSysSetInfoDatas")
-	@SysLogger("getSysSetInfoDatas")
-	public RespDTO<List<SysSetInfoDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO) {
-		 List<SysSetInfoDTO> data = sysSetFacade.getSysSetInfoData(hospitalSetVO);
-		return RespDTO.onSuc(data);
-	}
+    @Autowired
+    SysSetFacade sysSetFacade;
+
+    @ApiOperation(value = "根据医院编码获取配置信息[by:wangfeng]", notes = "hospitalCode :医院code  必填<br> ")
+    @PostMapping("/getSysSetInfoDatas")
+    @SysLogger("getSysSetInfoDatas")
+    public RespDTO<List<SysSetInfoDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO) {
+        List<SysSetInfoDTO> data = sysSetFacade.getSysSetInfoData(hospitalSetVO);
+        return RespDTO.onSuc(data);
+    }
 }