凭证相关--接口优化(处理逾期利息无法传输的问题)

This commit is contained in:
xiezhiwen 2019-05-31 16:23:55 +08:00
parent 41553c6c25
commit 7e2fb61629

View File

@ -288,7 +288,7 @@ public class VoucherToNCforVoucherPZ implements Job{
for (Map<String, String> v8Lend : v1) {
String f7 = v8Lend.get("f7");
double money = Double.parseDouble(f7);
if(money >0) {
if(money !=0) {
// 根据科目id, 获取当前数据对应的科目信息
SUBJECT_ID=v8Lend.get("f6");
f5 = v8Lend.get("f5");
@ -403,8 +403,7 @@ public class VoucherToNCforVoucherPZ implements Job{
for (Map<String, String> v8loan : v2) {
String f8 = v8loan.get("f8");
double money = Double.parseDouble(f8);
if(money>0) {
if(money!=0) {
// 根据科目id, 获取当前数据对应的科目信息
SUBJECT_ID=v8loan.get("f6");
BizObject subject = JBOFactory.createBizObjectQuery(LV_STACTS_CONFIG.CLASS_NAME, "ID=:ID").setParameter("ID", SUBJECT_ID).getSingleResult(false);