供应商付款校验

This commit is contained in:
lihao 2025-04-15 08:58:00 +08:00
parent 5c5e6285e8
commit 22f811ab36
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ public class BillSaveCheckAgainAction implements ICommonAction {
return map; return map;
}else{ }else{
map.put("num",1); map.put("num",1);
map.put("money",al.get(0).get("local_money_de")); map.put("list",al);
return map; return map;
} }
} catch (DAOException e) { } catch (DAOException e) {
@ -71,7 +71,7 @@ public class BillSaveCheckAgainAction implements ICommonAction {
conditions.append("(pi.recaccount = '").append(accounts.get(i)).append("' AND pi.local_money_de = '").append(amounts.get(i)).append("')"); conditions.append("(pi.recaccount = '").append(accounts.get(i)).append("' AND pi.local_money_de = '").append(amounts.get(i)).append("')");
} }
return "SELECT pb.PK_ORG,pi.local_money_de " + return "SELECT pi.recaccount,pi.local_money_de " +
"FROM ap_payitem pi " + "FROM ap_payitem pi " +
"LEFT JOIN ap_paybill pb " + "LEFT JOIN ap_paybill pb " +
"ON pb.PK_PAYBILL = pi.PK_PAYBILL " + "ON pb.PK_PAYBILL = pi.PK_PAYBILL " +