|
@@ -10,6 +10,7 @@ import thyyxxk.webserver.config.exception.ExceptionEnum;
|
|
|
import thyyxxk.webserver.constants.Capacity;
|
|
|
import thyyxxk.webserver.constants.sidicts.Insutype;
|
|
|
import thyyxxk.webserver.constants.sidicts.MdtrtCertType;
|
|
|
+import thyyxxk.webserver.constants.sidicts.MedType;
|
|
|
import thyyxxk.webserver.constants.sidicts.SiFunction;
|
|
|
import thyyxxk.webserver.dao.his.medicalinsurance.SiMzDao;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
@@ -372,7 +373,7 @@ public class SiMzService {
|
|
|
mzptnt.setStaffId(param.getStaffId());
|
|
|
mzptnt.setPatNo(param.getPatientId());
|
|
|
mzptnt.setTimes(param.getTimes());
|
|
|
- mzptnt.setMedType("11");
|
|
|
+ mzptnt.setMedType(MedType.GENERAL_CLINIC.getCode());
|
|
|
mzptnt.setOnlyQry(1);
|
|
|
mzptnt.setTimes(-1);
|
|
|
ResultVo<PsnBaseInfo> baseInfo = qryService.obtainBasicPersonInfo(mzptnt);
|
|
@@ -402,6 +403,7 @@ public class SiMzService {
|
|
|
psninfo.setInsutype(Insutype.BASIC_MEDICAL_INSURANCE_FOR_EMPLOYEES.getCode());
|
|
|
int count = dao.selectSiMzInfoCount(mzptnt.getPatNo(), mzptnt.getTimes());
|
|
|
if (count == 0) {
|
|
|
+ psninfo.setMedType(MedType.GENERAL_CLINIC.getCode());
|
|
|
psninfo.setInsuplc(insuInfo.getInsuplcAdmdvs());
|
|
|
psninfo.setPsnType(insuInfo.getPsnType());
|
|
|
psninfo.setEmpName(insuInfo.getEmpName());
|
|
@@ -425,9 +427,6 @@ public class SiMzService {
|
|
|
}
|
|
|
|
|
|
private boolean isInsuplcAdmdvsEligible(String insuplc) {
|
|
|
- if (insuplc.equals("430182")) {
|
|
|
- return false;
|
|
|
- }
|
|
|
return insuplc.startsWith("4301") ||
|
|
|
insuplc.startsWith("4302") ||
|
|
|
insuplc.startsWith("4303") ||
|