Commit f71674a4 by kangxiaoshan

dmp合同金额可以为空

parent eb7cf3d9
......@@ -526,7 +526,7 @@ public class DmpIncomeServiceImpl implements DmpIncomeService {
contract.setBusinessTypeName(getCellStringValue(rowItem, 13));
contract.setAgreementTypeName(getCellStringValue(rowItem, 14));
String money = getCellStringValue(rowItem, 15, "0");
if (StringUtils.isEmpty(money)) {
if (money == null || StringUtils.isEmpty(money.trim())) {
money = "0";
}
contract.setMoney(Double.parseDouble(money));
......
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