manage:代码结构调整
parent
8cd33b2698
commit
0f542eed24
@ -0,0 +1,29 @@
|
|||||||
|
package com.supervision.manage.controller;
|
||||||
|
|
||||||
|
import com.supervision.manage.pojo.vo.ConfigTreatmentPlanWrapVo;
|
||||||
|
import com.supervision.manage.pojo.vo.DiseaseVo;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Api(tags = "处置计划管理")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("treatmentPlan")
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class TreatmentPlanController {
|
||||||
|
|
||||||
|
@ApiOperation("查询疾病列表")
|
||||||
|
@GetMapping("/queryList")
|
||||||
|
public ConfigTreatmentPlanWrapVo queryList(@RequestParam("处置方式") Integer disposalMethod) {
|
||||||
|
|
||||||
|
return null;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
package com.supervision.manage.pojo.vo;
|
||||||
|
|
||||||
|
import com.supervision.model.ConfigTreatmentPlan;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class ConfigTreatmentPlanWrapVo {
|
||||||
|
|
||||||
|
private List<ConfigTreatmentPlanWrap> configTreatmentPlanWraps;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
static class ConfigTreatmentPlanWrap extends ConfigTreatmentPlan {
|
||||||
|
|
||||||
|
private List<ConfigTreatmentPlan> child;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue