|
@ -81,6 +81,7 @@ public class ChargeZYService {
|
|
|
total = list.size();
|
|
|
for(WlyyCharge obj : list)
|
|
|
{
|
|
|
System.out.println("chargecode:"+obj.getId());
|
|
|
try {
|
|
|
if(!uploadWlyyCharge(obj.getCode()))
|
|
|
{
|
|
@ -109,6 +110,7 @@ public class ChargeZYService {
|
|
|
WlyyCharge charge = chargeDao.findByCode(code);
|
|
|
if(charge!=null) {
|
|
|
SignFamily sign = signFamilyDao.findByCode(charge.getChargeRelation());
|
|
|
System.out.println("获取到签约数据,签约CODE:"+sign.getCode());
|
|
|
String proId = "";
|
|
|
|
|
|
String idcard = sign.getIdcard();
|
|
@ -118,6 +120,7 @@ public class ChargeZYService {
|
|
|
String[] hm = null;
|
|
|
|
|
|
Patient patient = patientDao.findByCode(sign.getPatient());
|
|
|
System.out.println("获取到签约居民,居民CODE:"+sign.getPatient());
|
|
|
try {
|
|
|
hm = getHospitalMapping(sign.getHospital()); //获取机构映射
|
|
|
|
|
@ -218,6 +221,8 @@ public class ChargeZYService {
|
|
|
infoobj.put("zhzfe0",charge.getAccountPay());//医保账户支付
|
|
|
infoobj.put("xjzfe0",charge.getSelfPay());//个人现金自付
|
|
|
jsonObject.put("INSUR_FEE_INFO",infoobj);
|
|
|
|
|
|
System.out.println("开始上传缴费数据:"+jsonObject.toString());
|
|
|
|
|
|
String response = zysoftService.uploadChargeInfo(jsonObject, hm[0], hm[1], operator);
|
|
|
|