|
@@ -25,6 +25,9 @@ import java.util.*;
|
|
|
import static thyyxxk.webserver.utils.YibaoHttpUtil.httpPost;
|
|
|
import static thyyxxk.webserver.utils.FilterUtil.cast;
|
|
|
|
|
|
+/**
|
|
|
+ * @author dj
|
|
|
+ */
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
public class PatientService {
|
|
@@ -170,7 +173,7 @@ public class PatientService {
|
|
|
}
|
|
|
}
|
|
|
private ResultVo<Object> queryHnsyb(YbRegisterInfoParam param) {
|
|
|
- ResultVo<Object> resultVo = httpPost("getPersonInfo", param, "02");
|
|
|
+ ResultVo<Object> resultVo = httpPost("getPersonInfo", param, ResponceType.HUNAN_PROVINCIAL_MEDICAL_INSURANCE);
|
|
|
if (resultVo.getCode() == ExceptionEnum.SUCCESS.getCode()) {
|
|
|
Map<String, String> bizInfo = cast(resultVo.getData());
|
|
|
log.info("查询省医保业务信息结果:{}", bizInfo);
|
|
@@ -210,7 +213,7 @@ public class PatientService {
|
|
|
param.setFromDate(fromDate);
|
|
|
param.setToDate(fromDate);
|
|
|
log.info("查询市医保业务信息:{}", param);
|
|
|
- ResultVo<Object> resultVo = httpPost("queryRegisterInfo", param, "03");
|
|
|
+ ResultVo<Object> resultVo = httpPost("queryRegisterInfo", param, ResponceType.CHANGSHA_CITY_RESIDENTS_MEDICAL_INSURANCE);
|
|
|
if (resultVo.getCode() == ExceptionEnum.SUCCESS.getCode()) {
|
|
|
String[] infos = resultVo.getData().toString().split("\t");
|
|
|
YbRegisterInfo info = new YbRegisterInfo();
|
|
@@ -243,7 +246,7 @@ public class PatientService {
|
|
|
}
|
|
|
param.setMemberSysNo(memberSysNo);
|
|
|
log.info("查询新农合业务信息:{}", param);
|
|
|
- ResultVo<Object> resultVo = httpPost("getPersonInfo", param, "04");
|
|
|
+ ResultVo<Object> resultVo = httpPost("getPersonInfo", param, ResponceType.NEW_RURAL_COOPERATIVE_MEDICAL_INSURANCE);
|
|
|
if (resultVo.getCode() != ExceptionEnum.SUCCESS.getCode()) {
|
|
|
return resultVo;
|
|
|
} else {
|