|
|
@@ -347,9 +347,9 @@ public class promotionItems extends Controller {
|
|
|
try {
|
|
|
|
|
|
// 华为云
|
|
|
- e = getPostExcelFactory(content.getLong("attachmentid"));
|
|
|
+ //e = getPostExcelFactory(content.getLong("attachmentid"));
|
|
|
// 本地
|
|
|
- //e = getPostExcelFactory();
|
|
|
+ e = getPostExcelFactory();
|
|
|
|
|
|
ArrayList<String> keys = new ArrayList<>();
|
|
|
ArrayList<String> sqllist = new ArrayList<>();
|
|
|
@@ -511,7 +511,7 @@ public class promotionItems extends Controller {
|
|
|
sqlFactory.addParameter("sa_promotionid", sa_promotionid);
|
|
|
sqlFactory.addParameter("itemid", row.getString("itemid"));
|
|
|
sqlFactory.addParameter("pricegrade", o);
|
|
|
- sqlFactory.addParameter("oldprice", row.getBigDecimal("oldprice" + o));
|
|
|
+ sqlFactory.addParameter("oldprice", row.getDouble("oldprice" + o));
|
|
|
sqlFactory.addParameter("price", row.getString("price" + o));
|
|
|
sqllist.add(sqlFactory.getSQL());
|
|
|
a++;
|