1.扣款日志表流水号bug修改
This commit is contained in:
parent
b0290bdaef
commit
7dd80f63e6
@ -1091,7 +1091,7 @@ public class CollectAuditInfoCache {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "部分收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
saveBuckle(bo,tx,i+"",singleRent[i-1]);
|
||||
saveBuckle(bo,tx,sn,singleRent[i-1]);
|
||||
}else{
|
||||
bc.createQuery("update O set O.COLLECT_STATUS=:COLLECT_STATUS ,O.COLLECT_MSG=:COLLECT_MSG,O.BATCH_STATUS=:BATCH_STATUS,O.BATCH_NO='',O.BATCH_SN='' where O.id=:id")
|
||||
.setParameter("COLLECT_STATUS", "批量收款")
|
||||
@ -1102,7 +1102,7 @@ public class CollectAuditInfoCache {
|
||||
bo.setAttributeValue("COLLECT_MSG", "批量代收,收款成功");
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
//bo.setAttributeValue("rent", bo.getAttribute("rent").toString());
|
||||
saveBuckle(bo,tx,i+"",rent);
|
||||
saveBuckle(bo,tx,sn,rent);
|
||||
}
|
||||
|
||||
}else{
|
||||
@ -1115,7 +1115,7 @@ public class CollectAuditInfoCache {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "部分收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
saveBuckle(bo,tx,i+"",singleRent[i-1]);
|
||||
saveBuckle(bo,tx,sn,singleRent[i-1]);
|
||||
}
|
||||
|
||||
}else if (map.containsKey("RET_CODE") && ("2007".equals(map.get("RET_CODE")) || "2005".equals(map.get("RET_CODE")) || "2003".equals(map.get("RET_CODE")) || "2001".equals(map.get("RET_CODE")) || "2000".equals(map.get("RET_CODE")))){
|
||||
@ -1124,7 +1124,7 @@ public class CollectAuditInfoCache {
|
||||
.setParameter("COLLECT_MSG", map.get("ERR_MSG"))
|
||||
.setParameter("id", bo.getAttribute("id").toString()).executeUpdate();
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
saveBuckle(bo,tx,i+"","0.00");
|
||||
saveBuckle(bo,tx,sn,"0.00");
|
||||
}else{//批量拆分多笔扣款,如果扣款成功条数未 0 ,则更新扣款状态为 未扣款
|
||||
if (i == snArray.length && n == 0) {
|
||||
//更新收付状态
|
||||
@ -1136,7 +1136,7 @@ public class CollectAuditInfoCache {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "未收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "");
|
||||
saveBuckle(bo,tx,i+"","0.00");
|
||||
saveBuckle(bo,tx,sn,"0.00");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1094,7 +1094,7 @@ public class CollectAuditInfoCacheTj {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "部分收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
saveBuckle(bo,tx,i+"",singleRent[i-1]);
|
||||
saveBuckle(bo,tx,sn,singleRent[i-1]);
|
||||
}else{
|
||||
bc.createQuery("update O set O.COLLECT_STATUS=:COLLECT_STATUS ,O.COLLECT_MSG=:COLLECT_MSG,O.BATCH_STATUS=:BATCH_STATUS,O.BATCH_NO='',O.BATCH_SN='' where O.id=:id")
|
||||
.setParameter("COLLECT_STATUS", "批量收款")
|
||||
@ -1105,7 +1105,7 @@ public class CollectAuditInfoCacheTj {
|
||||
bo.setAttributeValue("COLLECT_MSG", "批量代收,收款成功");
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
//bo.setAttributeValue("rent", bo.getAttribute("rent").toString());
|
||||
saveBuckle(bo,tx,i+"",rent);
|
||||
saveBuckle(bo,tx,sn,rent);
|
||||
}
|
||||
|
||||
}else{
|
||||
@ -1118,7 +1118,7 @@ public class CollectAuditInfoCacheTj {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "部分收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "complete");
|
||||
saveBuckle(bo,tx,i+"",singleRent[i-1]);
|
||||
saveBuckle(bo,tx,sn,singleRent[i-1]);
|
||||
}
|
||||
|
||||
}else if (map.containsKey("RET_CODE") && ("2007".equals(map.get("RET_CODE")) || "2005".equals(map.get("RET_CODE")) || "2003".equals(map.get("RET_CODE")) || "2001".equals(map.get("RET_CODE")) || "2000".equals(map.get("RET_CODE")))){
|
||||
@ -1127,7 +1127,7 @@ public class CollectAuditInfoCacheTj {
|
||||
.setParameter("COLLECT_MSG", map.get("ERR_MSG"))
|
||||
.setParameter("id", bo.getAttribute("id").toString()).executeUpdate();
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
saveBuckle(bo,tx,i+"","0.00");
|
||||
saveBuckle(bo,tx,sn,"0.00");
|
||||
}else{//批量拆分多笔扣款,如果扣款成功条数未 0 ,则更新扣款状态为 未扣款
|
||||
if (i == snArray.length && n == 0) {
|
||||
//更新收付状态
|
||||
@ -1139,7 +1139,7 @@ public class CollectAuditInfoCacheTj {
|
||||
bo.setAttributeValue("COLLECT_STATUS", "未收款");
|
||||
bo.setAttributeValue("COLLECT_MSG", map.get("ERR_MSG"));
|
||||
bo.setAttributeValue("BATCH_STATUS", "");
|
||||
saveBuckle(bo,tx,i+"","0.00");
|
||||
saveBuckle(bo,tx,sn,"0.00");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user