售后菜单、是否退运费修改

This commit is contained in:
taozi
2023-04-29 15:49:24 +08:00
parent 0e70360afd
commit b8fff738a2
4 changed files with 14 additions and 2 deletions

View File

@ -24,6 +24,7 @@ import org.springframework.data.domain.Pageable;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@ -57,6 +58,7 @@ public class StoreAfterSalesController {
@ApiOperation("审核")
@PreAuthorize("@el.check('admin','yxStoreAfterSales:edit')")
@PostMapping(value = "/salesCheck")
@Transactional
public ResponseEntity salesCheck(@RequestBody SalesCheckDto salesCheckDto) {
Object salesCheck = storeAfterSalesService.salesCheck(salesCheckDto.getSalesId(), salesCheckDto.getOrderCode(),
salesCheckDto.getApprovalStatus(), salesCheckDto.getConsignee(), salesCheckDto.getPhoneNumber(),