wms费用科目bug修改;nc推送修改;
This commit is contained in:
+4
-4
@@ -316,8 +316,8 @@ public class StockInOrderApplicationService {
|
||||
List<Map<String, Object>> billingParamsList = JSON.parseObject(amountJson, new TypeReference<List<Map<String, Object>>>() {});
|
||||
com.alibaba.fastjson.JSONObject jsonObject = new com.alibaba.fastjson.JSONObject();
|
||||
for (Map<String, Object> stringObjectMap : billingParamsList) {
|
||||
Integer isFee = (Integer) stringObjectMap.get("isFee");
|
||||
if (isFee==1) {
|
||||
String isFee = (String) stringObjectMap.get("isFee");
|
||||
if ("1".equals(isFee)) {
|
||||
jsonObject.put((String) stringObjectMap.get("fields"), stringObjectMap.get("price"));
|
||||
} else {
|
||||
jsonObject.put((String) stringObjectMap.get("fields"), stringObjectMap.get("num"));
|
||||
@@ -380,8 +380,8 @@ public class StockInOrderApplicationService {
|
||||
List<Map<String, Object>> billingParamsList = JSON.parseObject(amountJson, new TypeReference<List<Map<String, Object>>>() {});
|
||||
com.alibaba.fastjson.JSONObject jsonObject = new com.alibaba.fastjson.JSONObject();
|
||||
for (Map<String, Object> stringObjectMap : billingParamsList) {
|
||||
Integer isFee = (Integer) stringObjectMap.get("isFee");
|
||||
if (isFee==1) {
|
||||
String isFee = (String) stringObjectMap.get("isFee");
|
||||
if ("1".equals(isFee)) {
|
||||
jsonObject.put((String) stringObjectMap.get("fields"), stringObjectMap.get("price"));
|
||||
} else {
|
||||
jsonObject.put((String) stringObjectMap.get("fields"), stringObjectMap.get("num"));
|
||||
|
||||
Reference in New Issue
Block a user