修改回盘报错更新状态
This commit is contained in:
parent
816f873d15
commit
10a8ba5c72
@ -1010,6 +1010,9 @@ public class CollectAuditInfoCache {
|
||||
for (int i = 1; i <= snArray.length; i++) {
|
||||
|
||||
Map<String, String> map = querySingleBatchCollect(tx, bo, query_sn, snArray[(i-1)]);
|
||||
if(map == null ) {
|
||||
continue;
|
||||
}
|
||||
if (snArray.length == 1) {
|
||||
if (map.containsKey("RET_CODE") && "0000".equals(map.get("RET_CODE"))) {
|
||||
//核销
|
||||
@ -1222,6 +1225,9 @@ public class CollectAuditInfoCache {
|
||||
// queryBatchXML(req_sn, query_sn, sn);
|
||||
//响应报文
|
||||
String strResp = cp.CollectAuditPayReq(strbuff,file.getAbsolutePath(), batch_title);
|
||||
if(strResp==null || strResp.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
Map<String, String> map = getRetAndCode(strResp);
|
||||
//生成存盘、回盘文件
|
||||
savaFile(tx, strResp,batch_title,bo);
|
||||
|
||||
@ -1008,6 +1008,9 @@ public class CollectAuditInfoCacheTj {
|
||||
for (int i = 1; i <= snArray.length; i++) {
|
||||
|
||||
Map<String, String> map = querySingleBatchCollect(tx, bo, query_sn, snArray[(i-1)]);
|
||||
if(map == null ) {
|
||||
continue;
|
||||
}
|
||||
if (snArray.length == 1) {
|
||||
if (map.containsKey("RET_CODE") && "0000".equals(map.get("RET_CODE"))) {
|
||||
//核销
|
||||
@ -1220,6 +1223,9 @@ public class CollectAuditInfoCacheTj {
|
||||
// queryBatchXML(req_sn, query_sn, sn);
|
||||
//响应报文
|
||||
String strResp = cp.CollectAuditPayReq(strbuff,file.getAbsolutePath(), batch_title);
|
||||
if(strResp==null || strResp.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
Map<String, String> map = getRetAndCode(strResp);
|
||||
//生成存盘、回盘文件
|
||||
savaFile(tx, strResp,batch_title,bo);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user