|
@@ -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);
|
|
|
+ }
|
|
|
}
|