master:销售/退货,给客户优惠时,调用接口swagger描述更改;

pull/1121/head
liujiang 2025-10-06 23:14:20 +08:00
parent 98ed724b6c
commit ed6867676a
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ public class StoreCustomerProductDiscountController extends XktBaseController {
}
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,store')||@ss.hasSupplierSubRole()")
@ApiOperation(value = "客户销售管理 批量减价、批量抹零减价、新增客户定价优惠", httpMethod = "PUT", response = R.class)
@Log(title = "客户销售管理 批量减价、批量抹零减价、新增客户定价优惠", businessType = BusinessType.UPDATE)
@ApiOperation(value = "客户销售管理 批量减价、批量抹零减价、新增客户定价优惠;销售/出库,客户优惠修改", httpMethod = "PUT", response = R.class)
@Log(title = "客户销售管理 批量减价、批量抹零减价、新增客户定价优惠;销售/出库,客户优惠修改", businessType = BusinessType.UPDATE)
@PutMapping("/batch")
public R<Integer> batchDiscount(@Validated @RequestBody StoreCusProdBatchDiscountVO batchDiscVO) {
return R.ok(storeCusProdDiscService.batchDiscount(BeanUtil.toBean(batchDiscVO, StoreCusProdBatchDiscountDTO.class)));