Ver Fonte

bug修复

hu há 5 meses atrás
pai
commit
cfd67ab8f4

+ 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);
             }
         }