liyong
3 天以前 88ae1e650fc2fc30928edfe8f3cc39108d8d1ccd
src/main/java/com/ruoyi/aftersalesservice/controller/AfterSalesNearExpiryController.java
@@ -8,8 +8,8 @@
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Operation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
@@ -23,7 +23,7 @@
 * @since 2026/03/02 14:40
 */
@RestController
@Api(tags = "临期售后管理")
@Tag(name = "临期售后管理")
@RequestMapping("/afterSalesNearExpiryService")
@AllArgsConstructor
public class AfterSalesNearExpiryController extends BaseController {
@@ -34,7 +34,7 @@
     * 新增临期售后
     */
    @PostMapping("/add")
    @ApiOperation("新增临期售后")
    @Operation(summary = "新增临期售后")
    @Log(title = "新增临期售后", businessType = BusinessType.INSERT)
    public AjaxResult add(@RequestBody AfterSalesNearExpiry entity) {
        afterSalesNearExpiryService.add(entity);
@@ -45,7 +45,7 @@
     * 更新临期售后
     */
    @PostMapping("/update")
    @ApiOperation("更新临期售后")
    @Operation(summary = "更新临期售后")
    @Log(title = "更新临期售后", businessType = BusinessType.UPDATE)
    public AjaxResult update(@RequestBody AfterSalesNearExpiry entity) {
        afterSalesNearExpiryService.update(entity);
@@ -56,7 +56,7 @@
     * 删除临期售后
     */
    @DeleteMapping("/delete")
    @ApiOperation("删除临期售后")
    @Operation(summary = "删除临期售后")
    @Log(title = "删除临期售后", businessType = BusinessType.DELETE)
    public AjaxResult delete(Long[] ids) {
        afterSalesNearExpiryService.delete(ids);
@@ -67,7 +67,7 @@
     * 分页查询临期售后
     */
    @GetMapping("/listPage")
    @ApiOperation("分页查询临期售后")
    @Operation(summary = "分页查询临期售后")
    @Log(title = "分页查询临期售后", businessType = BusinessType.OTHER)
    public AjaxResult listPage(Page<AfterSalesNearExpiry> page, AfterSalesNearExpiry entity) {
        IPage<AfterSalesNearExpiry> listPage = afterSalesNearExpiryService.listPage(page, entity);