Commit 464b812d by shiwenbo

修改合同到期预警的提示内容错误问题

parent ed47a3d5
......@@ -44,8 +44,7 @@ public class ContractExpireWarningCalculator implements IWarningCalculator{
diffDays = (int) ((endDate.getTime() -now.getTime()) / millisOfDay);
if (diffDays < Integer.valueOf(min)) {
int value = Integer.valueOf(min) - diffDays;
warnMessage = purchaseSandUnitName + "下"+projectName+"的"+contractName+"还有"+value+"天到期。";
warnMessage = purchaseSandUnitName + "下"+projectName+"的"+contractName+"还有"+diffDays+"天到期。";
return true;
}
return false;
......
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