Browse Source

2026-06-08

询价时的特殊权限优化(询价金额大于0)
master
fengyuan_yang 2 months ago
parent
commit
b9526322eb
  1. 2
      src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java

2
src/main/java/com/spring/modules/quotation/service/impl/QuotationInformationServiceImpl.java

@ -899,7 +899,7 @@ public class QuotationInformationServiceImpl extends ServiceImpl<QuotationInform
int count = baseMapper.queryQuotationByQuotationBatchNo(site,quotationBatchNo); int count = baseMapper.queryQuotationByQuotationBatchNo(site,quotationBatchNo);
// 不相等即条目不匹配有询价单号未产生报价 // 不相等即条目不匹配有询价单号未产生报价
if (count != quoteList.size() && quotationAmount.compareTo(BigDecimal.ZERO) < 0) {
if (count != quoteList.size() && quotationAmount.compareTo(BigDecimal.ZERO) <= 0) {
throw new RuntimeException("必需存在已下达的报价记录或询价金额大于0,才能提交!"); throw new RuntimeException("必需存在已下达的报价记录或询价金额大于0,才能提交!");
} }
} }

Loading…
Cancel
Save