丽知:仅退款优化金额为0的问题。
This commit is contained in:
parent
9ef45793f7
commit
4271e8e891
|
@ -513,7 +513,7 @@ public class RefundOnlyPluginInitializerToB extends PluginBaseEntity {
|
||||||
//hbbm 客商==店铺,根据店铺区分tob、toc,,,编码需要转换,转换称自定义项。
|
//hbbm 客商==店铺,根据店铺区分tob、toc,,,编码需要转换,转换称自定义项。
|
||||||
BdCubasdocEntity entity = queryU8CEntityUtil.getFuzzyQueryCustomers(split[1]);
|
BdCubasdocEntity entity = queryU8CEntityUtil.getFuzzyQueryCustomers(split[1]);
|
||||||
if (entity == null) {
|
if (entity == null) {
|
||||||
Assert.state(false, "根据客商自定义项1:{},未查询到客商基本档案,请假查。", split[1]);
|
Assert.state(false, "根据客商自定义项1:{},未查询到客商基本档案,请检查。", split[1]);
|
||||||
}
|
}
|
||||||
parentvo.setHbbm(entity.getCustcode());
|
parentvo.setHbbm(entity.getCustcode());
|
||||||
|
|
||||||
|
@ -637,6 +637,10 @@ public class RefundOnlyPluginInitializerToB extends PluginBaseEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sum_jfbbje.compareTo(BigDecimal.ZERO) == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
childrenn.setJfbbje("-" + sum_jfbbje);
|
childrenn.setJfbbje("-" + sum_jfbbje);
|
||||||
childrenn.setJfybje("-" + sum_jfbbje);
|
childrenn.setJfybje("-" + sum_jfbbje);
|
||||||
childrenn.setJfbbsj("-" + sum_jfbbsj);
|
childrenn.setJfbbsj("-" + sum_jfbbsj);
|
||||||
|
|
|
@ -515,7 +515,7 @@ public class RefundOnlyPluginInitializerToC extends PluginBaseEntity {
|
||||||
//hbbm 客商==店铺,根据店铺区分tob、toc,,,编码需要转换,转换称自定义项。
|
//hbbm 客商==店铺,根据店铺区分tob、toc,,,编码需要转换,转换称自定义项。
|
||||||
BdCubasdocEntity entity = queryU8CEntityUtil.getFuzzyQueryCustomers(split[1]);
|
BdCubasdocEntity entity = queryU8CEntityUtil.getFuzzyQueryCustomers(split[1]);
|
||||||
if (entity == null) {
|
if (entity == null) {
|
||||||
Assert.state(false, "根据客商自定义项1:{},未查询到客商基本档案,请假查。", split[1]);
|
Assert.state(false, "根据客商自定义项1:{},未查询到客商基本档案,请检查。", split[1]);
|
||||||
}
|
}
|
||||||
parentvo.setHbbm(entity.getCustcode());
|
parentvo.setHbbm(entity.getCustcode());
|
||||||
|
|
||||||
|
@ -640,6 +640,9 @@ public class RefundOnlyPluginInitializerToC extends PluginBaseEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sum_jfbbje.compareTo(BigDecimal.ZERO) == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
childrenn.setJfbbje("-" + sum_jfbbje);
|
childrenn.setJfbbje("-" + sum_jfbbje);
|
||||||
childrenn.setJfybje("-" + sum_jfbbje);
|
childrenn.setJfybje("-" + sum_jfbbje);
|
||||||
|
|
Loading…
Reference in New Issue