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