|
@@ -39,6 +39,7 @@ public class YiBaoController {
|
|
|
|
|
|
@PostMapping("/getCbInfo")
|
|
|
public ResultVo<Object> readCard(@RequestBody PatientPojo param) {
|
|
|
+ routines.updateYbRegisterDate(param.getInpatientNo(), param.getYbRegisterDate());
|
|
|
param.setStaffId(TokenUtil.getTokenUserId());
|
|
|
return service.httpPost("readCard", param, param.getResponceType());
|
|
|
}
|
|
@@ -46,6 +47,9 @@ public class YiBaoController {
|
|
|
|
|
|
@PostMapping("/register")
|
|
|
public ResultVo<Object> inpatientRegister(@RequestBody PatientPojo param) {
|
|
|
+ if (param.getResponceType().equals("04")) {
|
|
|
+ routines.updateYbRegisterDate(param.getInpatientNo(), param.getYbRegisterDate());
|
|
|
+ }
|
|
|
param.setStaffId(TokenUtil.getTokenUserId());
|
|
|
return service.httpPost("register", param, param.getResponceType());
|
|
|
}
|