1
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
package com.openhis.web.inpatientManage.Assembler;
|
|
||||||
|
|
||||||
public class AdmissionAssembler {
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
package com.openhis.web.inpatientManage.dto;
|
|
||||||
|
|
||||||
public class AdmissionDto {
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
package com.openhis.web.inpatientManage.dto;
|
|
||||||
|
|
||||||
public class AdmissionInitPageDto {
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package com.openhis.web.inpatientmanage.assembler;
|
||||||
|
|
||||||
|
public class AdmissionAssembler {}
|
||||||
@@ -1,16 +1,18 @@
|
|||||||
package com.openhis.web.inpatientManage.controller;
|
package com.openhis.web.inpatientmanage.controller;
|
||||||
|
|
||||||
import com.openhis.administration.service.IEncounterService;
|
|
||||||
import com.openhis.administration.service.IPatientService;
|
|
||||||
import com.openhis.web.inpatientManage.dto.AdmissionDto;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
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.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import com.openhis.administration.service.IEncounterService;
|
||||||
|
import com.openhis.administration.service.IPatientService;
|
||||||
|
import com.openhis.web.inpatientmanage.dto.AdmissionDto;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/inpatient-manage")
|
@RequestMapping("/inpatient-manage")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@@ -19,7 +21,7 @@ public class AdmissionController {
|
|||||||
private final IEncounterService encounterService;
|
private final IEncounterService encounterService;
|
||||||
private final IPatientService patientService;
|
private final IPatientService patientService;
|
||||||
|
|
||||||
//办理入院
|
// 办理入院
|
||||||
@PostMapping("admission")
|
@PostMapping("admission")
|
||||||
public void addSupplyRequest(@Validated @RequestBody AdmissionDto admission) {
|
public void addSupplyRequest(@Validated @RequestBody AdmissionDto admission) {
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package com.openhis.web.inpatientmanage.dto;
|
||||||
|
|
||||||
|
public class AdmissionDto {}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package com.openhis.web.inpatientmanage.dto;
|
||||||
|
|
||||||
|
public class AdmissionInitPageDto {}
|
||||||
Reference in New Issue
Block a user