Explorar el Código

审核转账单生成的凭证:同步转账单备注

hu hace 1 año
padre
commit
e7000e7988

+ 1 - 1
src/custom/restcontroller/webmanage/sale/transferbill/Transferbill.java

@@ -118,7 +118,7 @@ public class Transferbill extends Controller {
         }
         ArrayList<String> sqlList = new ArrayList<>();
         sqlList.add("update sa_transferbill set checkby='" + username + "',checkdate=current_date,status='审核' where siteid='" + siteid + "' and sa_transferbillid=" + sa_transferbillid);
-        CashbillEntity cashbillEntity = new CashbillEntity(amount.negate(), "", "转账单", rows.get(0).getString("billno"), "sa_transferbill", sa_transferbillid,"货款","");
+        CashbillEntity cashbillEntity = new CashbillEntity(amount.negate(),  rows.get(0).getString("remarks"), "转账单", rows.get(0).getString("billno"), "sa_transferbill", sa_transferbillid,"货款","");
         sqlList.addAll(Accountbalance.createCashbillIncome(this, sys_enterpriseid, sa_accountclassid, cashbillEntity, true,false));
         cashbillEntity.setAmount(amount);
         sqlList.addAll(Accountbalance.createCashbillIncome(this, sys_enterpriseid, inaccountclassid, cashbillEntity, true,false));