|
@@ -1,9 +1,21 @@
|
|
|
package com.diagbot.web;
|
|
|
|
|
|
|
|
|
+import com.diagbot.annotation.SysLogger;
|
|
|
+import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.dto.SysSetDTO;
|
|
|
+import com.diagbot.facade.SysSetFacade;
|
|
|
+import com.diagbot.vo.SysSetVO;
|
|
|
+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.RequestMapping;
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -13,8 +25,18 @@ import org.springframework.stereotype.Controller;
|
|
|
* @author gaodm
|
|
|
* @since 2020-02-09
|
|
|
*/
|
|
|
-@Controller
|
|
|
+@RestController
|
|
|
@RequestMapping("/sysSet")
|
|
|
+@Api(value = "医院配置API", tags = { "医院配置API" })
|
|
|
+@SuppressWarnings("unchecked")
|
|
|
public class SysSetController {
|
|
|
+ @Autowired
|
|
|
+ private SysSetFacade sysSetFacade;
|
|
|
|
|
|
+ @ApiOperation(value = "获取医院配置[by:gaodm]")
|
|
|
+ @PostMapping("/getSysSet")
|
|
|
+ @SysLogger("getSysSet")
|
|
|
+ public RespDTO<List<SysSetDTO>> getSysSet(SysSetVO sysSetVO){
|
|
|
+ return RespDTO.onSuc(sysSetFacade.getSysSet(sysSetVO));
|
|
|
+ }
|
|
|
}
|