Przeglądaj źródła

ID20221008164103新增参数sa_creditbillid

wu 1 dzień temu
rodzic
commit
3f6103620e

+ 2 - 0
src/custom/restcontroller/sale/creditbill/creditbill.java

@@ -121,10 +121,12 @@ public class creditbill extends Controller {
                 row.put("accountname", accountRows.get(0).getString("accountname"));
                 row.put("accountno", accountRows.get(0).getString("accountno"));
                 row.put("creditquota", accountRows.get(0).getBigDecimal("creditquota"));
+                row.put("oldcreditquota", accountRows.get(0).getBigDecimal("creditquota"));
                 row.put("isorder", accountRows.get(0).getString("isorder"));
                 row.put("sa_accountclassid", accountRows.get(0).getString("sa_accountclassid"));
             }
             row.putIfAbsent("creditquota", 0);
+            row.putIfAbsent("oldcreditquota", 0);
             row.putIfAbsent("accountname", "");
             row.putIfAbsent("accountno", "");
             row.putIfAbsent("isorder", "");