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