Browse Source

商品管理支持原价

eganwu 1 year ago
parent
commit
26b945953c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/custom/restcontroller/webmanage/saletool/fad/FadHelper.java

+ 2 - 0
src/custom/restcontroller/webmanage/saletool/fad/FadHelper.java

@@ -35,6 +35,7 @@ public class FadHelper extends BaseClass {
         sqlFactory.setValue("class", controller.content.getJSONArray("class"));
         sqlFactory.setValue("pricetype", controller.content.getStringValue("pricetype"));
         sqlFactory.setValue("price", controller.content.getBigDecimalValue("price"));
+        sqlFactory.setValue("price_original", controller.content.getBigDecimalValue("price_original"));
         sqlFactory.setValue("price_deposit", controller.content.getBigDecimalValue("price_deposit"));
         sqlFactory.setValue("price_store", controller.content.getBigDecimalValue("price_store"));
         sqlFactory.setValue("price_rebate", controller.content.getBigDecimalValue("price_rebate"));
@@ -61,6 +62,7 @@ public class FadHelper extends BaseClass {
         sqlFactory.setValue("class", controller.content.getJSONArray("class"));
         sqlFactory.setValue("pricetype", controller.content.getStringValue("pricetype"));
         sqlFactory.setValue("price", controller.content.getBigDecimalValue("price"));
+        sqlFactory.setValue("price_original", controller.content.getBigDecimalValue("price_original"));
         sqlFactory.setValue("price_deposit", controller.content.getBigDecimalValue("price_deposit"));
         sqlFactory.setValue("price_store", controller.content.getBigDecimalValue("price_store"));
         sqlFactory.setValue("price_rebate", controller.content.getBigDecimalValue("price_rebate"));