Commit eb7cf3d9 by kangxiaoshan

dmp合同金额可以为空

parent 81170a96
......@@ -525,7 +525,11 @@ public class DmpIncomeServiceImpl implements DmpIncomeService {
contract.setContractType(getCellStringValue(rowItem, 12));
contract.setBusinessTypeName(getCellStringValue(rowItem, 13));
contract.setAgreementTypeName(getCellStringValue(rowItem, 14));
contract.setMoney(Double.parseDouble(getCellStringValue(rowItem, 15, "0")));
String money = getCellStringValue(rowItem, 15, "0");
if (StringUtils.isEmpty(money)) {
money = "0";
}
contract.setMoney(Double.parseDouble(money));
contract.setRelationCode(getCellStringValue(rowItem, 16));
}
......
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