fix bug
This commit is contained in:
+1
-1
@@ -941,7 +941,7 @@ public class PreSettlementServiceImpl extends BaseServiceImpl<PreSettlementMappe
|
||||
.findFirst().orElse(null);
|
||||
}
|
||||
if (row == null && requestRow.getId() == null) row = new PreSettlementSummaryFee();
|
||||
if (row == null || !Integer.valueOf(1).equals(row.getManualFlag())) {
|
||||
if (row == null || (row.getId() != null && !Integer.valueOf(1).equals(row.getManualFlag()))) {
|
||||
throw new ServiceException("存在无效的手工费用行");
|
||||
}
|
||||
row.setPreSettlementId(settlementId);
|
||||
|
||||
Reference in New Issue
Block a user