|
@ -117,6 +117,19 @@ public class HuzhouProjectinfoServiceImpl extends ServiceImpl<HuzhouProjectinfoM |
|
|
String error = "任务牵头处室"+dictName+"负责人未找到"; |
|
|
String error = "任务牵头处室"+dictName+"负责人未找到"; |
|
|
throw new EasyException(error); |
|
|
throw new EasyException(error); |
|
|
} |
|
|
} |
|
|
|
|
|
// 金额校验
|
|
|
|
|
|
Double totalMoney = info.getTotalMoney(); |
|
|
|
|
|
Double accountMoney = info.getCentralMoney() + info.getProvincialMoney() + info.getCityMoney() + info.getCountyMoney() + info.getSelfMoney(); |
|
|
|
|
|
Double accountYearMoney = info.getPayamount2023Money() + info.getPayamount2024Money() + info.getPayamount2025Money(); |
|
|
|
|
|
if(!totalMoney.equals(accountMoney)){ |
|
|
|
|
|
String error="各类资金之和与总投资不匹配!"; |
|
|
|
|
|
throw new EasyException(error); |
|
|
|
|
|
} |
|
|
|
|
|
if(!totalMoney.equals(accountYearMoney)){ |
|
|
|
|
|
String error="总支付金额与总投资不匹配!"; |
|
|
|
|
|
throw new EasyException(error); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
for (HashMap<String, String> map:userDictByRoles |
|
|
for (HashMap<String, String> map:userDictByRoles |
|
|
) { |
|
|
) { |
|
|
String userid = map.get("value"); |
|
|
String userid = map.get("value"); |
|
|