银行账号同步

This commit is contained in:
lihao 2025-04-16 18:41:17 +08:00
parent 7c7792fe52
commit 663c773772
1 changed files with 9 additions and 4 deletions

View File

@ -129,8 +129,8 @@ public class NCCToBIPBackgroupWorkPlugin implements IBackgroundWorkPlugin {
sel_sql=sel_sql+" and pk_cust in ( select pk_customer from bd_customer where code='"+usercustcode+"')"; sel_sql=sel_sql+" and pk_cust in ( select pk_customer from bd_customer where code='"+usercustcode+"')";
}else { }else {
if(dests!="") { if(dests!="") {
sel_sql=sel_sql+" and ts>'"+dests+"'"; // sel_sql=sel_sql+" and ts>'"+dests+"'";
// sel_sql=sel_sql+" and ts>'2020-12-31 11:25:14' and ts <'2021-01-31 11:25:14' "; sel_sql=sel_sql+" and ts>'2025-04-11 11:25:14' and ts <'2027-01-31 11:25:14' ";
// sel_sql=sel_sql+" and ts>'2021-02-28 09:25:07' and ts <'2021-03-20 09:25:07' "; // sel_sql=sel_sql+" and ts>'2021-02-28 09:25:07' and ts <'2021-03-20 09:25:07' ";
} }
} }
@ -294,9 +294,12 @@ public class NCCToBIPBackgroupWorkPlugin implements IBackgroundWorkPlugin {
map_add.put("currency", currencydataInfo.get("id"));//需要从bip获取对应的id map_add.put("currency", currencydataInfo.get("id"));//需要从bip获取对应的id
} }
map_add.put("stopstatus", map.get("enablestate")=="2"?true:false); map_add.put("stopstatus", map.get("enablestate")=="2"?true:false);
if(bankMap!=null) {
l_map_f.add(map_add); l_map_f.add(map_add);
} }
}
}else { }else {
Map<String,Object> map_add = new HashMap<String, Object>(); Map<String,Object> map_add = new HashMap<String, Object>();
@ -341,8 +344,10 @@ public class NCCToBIPBackgroupWorkPlugin implements IBackgroundWorkPlugin {
} }
// //
map_add.put("stopstatus", map.get("enablestate")=="2"?true:false); map_add.put("stopstatus", map.get("enablestate")=="2"?true:false);
if(bankMap!=null) {
l_map_f.add(map_add); l_map_f.add(map_add);
} }
}