添加了枚举类
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package com.openhis.web.inpatientManage.Assembler;
|
||||
|
||||
public class AdmissionAssembler {
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
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.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;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/inpatient-manage")
|
||||
@Slf4j
|
||||
@AllArgsConstructor
|
||||
public class AdmissionController {
|
||||
private final IEncounterService encounterService;
|
||||
private final IPatientService patientService;
|
||||
|
||||
//办理入院
|
||||
@PostMapping("admission")
|
||||
public void addSupplyRequest(@Validated @RequestBody AdmissionDto admission) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.web.inpatientManage.dto;
|
||||
|
||||
public class AdmissionDto {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.web.inpatientManage.dto;
|
||||
|
||||
public class AdmissionInitPageDto {
|
||||
}
|
||||
@@ -48,6 +48,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@RequestMapping("/inventory-manage-purchase")
|
||||
@Slf4j
|
||||
public class PurchaseInventoryController {
|
||||
|
||||
@Autowired
|
||||
private ISupplyRequestService supplyRequestService;
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user