|
@@ -248,10 +248,11 @@ public class SaleQuotationServiceImpl extends ServiceImpl<SaleQuotationMapper, S
|
|
|
@Override
|
|
|
@DSTransactional
|
|
|
public void edit(SaleQuotationDto saleQuotationDto) {
|
|
|
-// if (Objects.equals(saleQuotationDto.getQuotationStatus(), 2)) {
|
|
|
+ //确认报价
|
|
|
+ if (Objects.equals(saleQuotationDto.getQuotationStatus(), 2)) {
|
|
|
// saleQuotationDto.setQuotationTime(new Date());
|
|
|
-// }
|
|
|
- saleQuotationDto.setConfirmStatus(2);
|
|
|
+ saleQuotationDto.setConfirmStatus(2);
|
|
|
+ }
|
|
|
saveOrEdit(saleQuotationDto);
|
|
|
}
|
|
|
|