|
|
@ -379,10 +379,20 @@ public class BaseAccadjApplyService extends MybatisBaseService<BaseAccadjApplyMa |
|
|
|
String witPinMoney1 = baseInternalPurchaseVehicle1.getWitPinMoney(); |
|
|
|
if (!witPinMoney.equals(witPinMoney1)) { |
|
|
|
i = true; |
|
|
|
break; |
|
|
|
baseInternalPurchaseVehicleService.updateWitPinMoneyBySid(witPinMoney,sid); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}else { |
|
|
|
for (String s : purchaseSids) { |
|
|
|
BaseInternalPurchaseVehicle baseInternalPurchaseVehicle = baseInternalPurchaseVehicleService.fetchBySid(s); |
|
|
|
String witPinMoney = baseInternalPurchaseVehicle.getWitPinMoney(); |
|
|
|
String initialWitPinMoney = baseInternalPurchaseVehicle.getInitialWitPinMoney(); |
|
|
|
if (!witPinMoney.equals(initialWitPinMoney)) { |
|
|
|
i = true; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
Map<String, Object> formVariables = bv.getFormVariables(); |
|
|
@ -668,8 +678,19 @@ public class BaseAccadjApplyService extends MybatisBaseService<BaseAccadjApplyMa |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
bv.getFormVariables().put("isAdj", i); |
|
|
|
}else { |
|
|
|
List<String> stringList = baseAccadjApplyeVehService.fetchByMainSid(query.getSid()); |
|
|
|
for (String s : stringList) { |
|
|
|
BaseInternalPurchaseVehicle baseInternalPurchaseVehicle = baseInternalPurchaseVehicleService.fetchBySid(s); |
|
|
|
String witPinMoney = baseInternalPurchaseVehicle.getWitPinMoney(); |
|
|
|
String initialWitPinMoney = baseInternalPurchaseVehicle.getInitialWitPinMoney(); |
|
|
|
if (!witPinMoney.equals(initialWitPinMoney)) { |
|
|
|
i = true; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
bv.getFormVariables().put("isAdj", i); |
|
|
|
ResultBean<List<Map<String, Object>>> resultBean = flowTaskFeign.getNextNodesForSubmit(bv); |
|
|
|
//判断数组是否为空,若为空则赋值,若不为空,则遍历循环将map中的数据赋值给getNodeVo
|
|
|
|
List<GetNodeVo> voList = Optional.ofNullable(resultBean.getData()).orElse(new ArrayList<>()).stream().map(m -> JSON.parseObject(JSON.toJSONString(m), GetNodeVo.class)).collect(Collectors.toList()); |
|
|
|