|
@@ -1075,15 +1075,19 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
|
}
|
|
|
|
|
|
Map<String, BigDecimal> kuaishouMap = new HashMap<>();
|
|
|
- for (int i = 0; i < kuaiShouCostList.size(); i++) {
|
|
|
- JSONObject jsonObject = kuaiShouCostList.get(i);
|
|
|
- kuaishouMap.put(jsonObject.getString("signature"), jsonObject.getBigDecimal("charges"));
|
|
|
+ if (!Check.isNull(kuaiShouCostList)) {
|
|
|
+ for (int i = 0; i < kuaiShouCostList.size(); i++) {
|
|
|
+ JSONObject jsonObject = kuaiShouCostList.get(i);
|
|
|
+ kuaishouMap.put(jsonObject.getString("signature"), jsonObject.getBigDecimal("charges"));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
Map<String, BigDecimal> bytedanceMap = new HashMap<>();
|
|
|
- for (int i = 0; i < bytedanceCostList.size(); i++) {
|
|
|
- JSONObject jsonObject = bytedanceCostList.get(i);
|
|
|
- bytedanceMap.put(jsonObject.getString("signature"), jsonObject.getBigDecimal("charges"));
|
|
|
+ if (!Check.isNull(bytedanceCostList)) {
|
|
|
+ for (int i = 0; i < bytedanceCostList.size(); i++) {
|
|
|
+ JSONObject jsonObject = bytedanceCostList.get(i);
|
|
|
+ bytedanceMap.put(jsonObject.getString("signature"), jsonObject.getBigDecimal("charges"));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
for (int i = 0; i < setList.size(); i++) {
|