hu 5 ماه پیش
والد
کامیت
cfd67ab8f4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/custom/restcontroller/webmanage/sale/sendrepair/sendrepair_pj.java

+ 2 - 2
src/custom/restcontroller/webmanage/sale/sendrepair/sendrepair_pj.java

@@ -60,9 +60,9 @@ public class sendrepair_pj extends Controller {
         HashMap<Long, ItemPrice> itemPriceRowsMap = ItemPrice.getItemPrice(this, sys_enterpriseid,rows.toArrayList("itemid", new ArrayList<>()));
         for (Row row :rows){
             if (itemPriceRowsMap.containsKey(row.getLong("itemid"))) {
-                row.put("saleprice", itemPriceRowsMap.get(row.getLong("itemid")).getPrice());
+                row.put("price", itemPriceRowsMap.get(row.getLong("itemid")).getPrice());
             } else {
-                row.put("saleprice", 0);
+                row.put("price", 0);
             }
         }