Commit deb36cd6 authored by huyuchen's avatar huyuchen

优化修改

parent 8884c495
......@@ -381,7 +381,8 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), MsgUtils.getMessage(ErrorCodes.BIR_DISPATCH_SOCIAL_LIMIT_ERROR)));
continue;
}
if (Common.isNotNull(excel.getUnitBigailmentMoney())
if (Common.isNotNull(excel.getUnitBigailmentMoney()) && CommonConstants.ONE_STRING.equals(socialSetInfo.getCollectType())
&& CommonConstants.ONE_STRING.equals(socialSetInfo.getValueType())
&& (excel.getUnitBigailmentMoney().compareTo(socialSetInfo.getUpBig()) > CommonConstants.ZERO_INT
|| excel.getUnitBigailmentMoney().compareTo(socialSetInfo.getLowerBig()) < CommonConstants.ZERO_INT)) {
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), MsgUtils.getMessage(ErrorCodes.DB_DISPATCH_SOCIAL_LIMIT_ERROR)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment