售后bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@ -28,7 +28,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.7.10</version>
|
<version>2.7.12</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -67,7 +67,7 @@ public class StoreAfterSalesController {
|
|||||||
.eq(StoreAfterSales::getOrderCode, salesCheckDto.getOrderCode())
|
.eq(StoreAfterSales::getOrderCode, salesCheckDto.getOrderCode())
|
||||||
.eq(StoreAfterSales::getId, salesCheckDto.getSalesId())
|
.eq(StoreAfterSales::getId, salesCheckDto.getSalesId())
|
||||||
.one();
|
.one();
|
||||||
if (storeAfterSales.getServiceType() == 0) {
|
if (salesCheckDto.getApprovalStatus().equals(0) && storeAfterSales.getServiceType() == 0) {
|
||||||
BigDecimal bigDecimal = new BigDecimal("100");
|
BigDecimal bigDecimal = new BigDecimal("100");
|
||||||
int payPrice = bigDecimal.multiply(storeAfterSales.getRefundAmount()).intValue();
|
int payPrice = bigDecimal.multiply(storeAfterSales.getRefundAmount()).intValue();
|
||||||
YxStoreOrderQueryVo orderInfo = storeOrderService.getOrderInfo(salesCheckDto.getOrderCode(), null);
|
YxStoreOrderQueryVo orderInfo = storeOrderService.getOrderInfo(salesCheckDto.getOrderCode(), null);
|
||||||
|
Reference in New Issue
Block a user