소스 검색

促销方案商品导入原价四舍五入bug修复

hu 2 년 전
부모
커밋
02d59dd4e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/custom/restcontroller/webmanage/sale/promotion/promotionItems.java

+ 1 - 1
src/custom/restcontroller/webmanage/sale/promotion/promotionItems.java

@@ -512,7 +512,7 @@ public class promotionItems extends Controller {
                         sqlFactory.addParameter("itemid", row.getString("itemid"));
                         sqlFactory.addParameter("pricegrade", o);
                         sqlFactory.addParameter("oldprice", row.getDouble("oldprice" + o));
-                        sqlFactory.addParameter("price", row.getString("price" + o));
+                        sqlFactory.addParameter("price", row.getDouble("price" + o));
                         sqllist.add(sqlFactory.getSQL());
                         a++;
                     }