|
@@ -62,6 +62,11 @@ public class SiMzService {
|
|
|
}
|
|
|
|
|
|
public ResultVo<String> outpatientRegistration(MzPatientInfo p) {
|
|
|
+ if (Objects.equals(p.getMedType(), MedType.MATERNITY_CLINIC.getCode())) {
|
|
|
+ if (StringUtil.isBlank(p.getMatnType())) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "请选择生育类别!");
|
|
|
+ }
|
|
|
+ }
|
|
|
p.setStaffId(TokenUtil.getInstance().getTokenUserId());
|
|
|
String hisOrdNum = p.getPatNo() + "_" + p.getTimes() + "_" + 1;
|
|
|
int mipCount = dao.selectMipayCount(hisOrdNum);
|