|
@@ -3,8 +3,8 @@ package com.diagbot.web;
|
|
import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.annotation.SysLogger;
|
|
import com.diagbot.annotation.TokenAuth;
|
|
import com.diagbot.annotation.TokenAuth;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
-import com.diagbot.dto.SysSetInfoDTO;
|
|
|
|
-import com.diagbot.facade.SysSetFacade;
|
|
|
|
|
|
+import com.diagbot.dto.PlanDetailDTO;
|
|
|
|
+import com.diagbot.facade.PlanDetailFacade;
|
|
import com.diagbot.vo.HospitalSetVO;
|
|
import com.diagbot.vo.HospitalSetVO;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
@@ -28,19 +27,19 @@ import java.util.List;
|
|
* @since 2020-07-27
|
|
* @since 2020-07-27
|
|
*/
|
|
*/
|
|
@RestController
|
|
@RestController
|
|
-@RequestMapping("/sys/sysSet")
|
|
|
|
|
|
+@RequestMapping("/sys/planDetail")
|
|
@Api(value = "配置信息API", tags = { "配置信息API" })
|
|
@Api(value = "配置信息API", tags = { "配置信息API" })
|
|
@SuppressWarnings("unchecked")
|
|
@SuppressWarnings("unchecked")
|
|
-public class SysSetController {
|
|
|
|
|
|
+public class PlanDetailController {
|
|
@Autowired
|
|
@Autowired
|
|
- SysSetFacade sysSetFacade;
|
|
|
|
|
|
+ PlanDetailFacade planDetailFacade;
|
|
|
|
|
|
@ApiOperation(value = "根据医院编码获取配置信息[by:wangfeng]", notes = "hospitalId :医院id 必填<br> ")
|
|
@ApiOperation(value = "根据医院编码获取配置信息[by:wangfeng]", notes = "hospitalId :医院id 必填<br> ")
|
|
- @PostMapping("/getSysSetInfoDatas")
|
|
|
|
- @SysLogger("getSysSetInfoDatas")
|
|
|
|
|
|
+ @PostMapping("/getPlanDetailDatas")
|
|
|
|
+ @SysLogger("getPlanDetailDatas")
|
|
@TokenAuth
|
|
@TokenAuth
|
|
- public RespDTO<List<SysSetInfoDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO) {
|
|
|
|
- List<SysSetInfoDTO> data = sysSetFacade.getSysSetInfoData(hospitalSetVO);
|
|
|
|
|
|
+ public RespDTO<List<PlanDetailDTO>> getSysSetInfoDatas(@Valid @RequestBody HospitalSetVO hospitalSetVO) {
|
|
|
|
+ List<PlanDetailDTO> data = planDetailFacade.getSysSetInfoData(hospitalSetVO);
|
|
return RespDTO.onSuc(data);
|
|
return RespDTO.onSuc(data);
|
|
}
|
|
}
|
|
}
|
|
}
|