package com.order.erp.controller; import com.order.erp.common.annotation.AnonymousAccess; import com.order.erp.common.constant.ServerResult; import com.order.erp.domain.vo.order.OrderFieldLockApplyQueryVO; import com.order.erp.domain.vo.order.OrderFieldLockApplyVO; import com.order.erp.service.order.OrderFieldLockApplyService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; /** * 用户订单-字段锁定申请表(OrderFieldLockApply)表控制层 * * @author makejava * @since 2023-09-08 15:26:44 */ @Api(tags = "用户订单-字段锁定申请(忽略)") @RestController @RequestMapping("/order/erp/apply") public class OrderFieldLockApplyController { /** * 服务对象 */ @Resource private OrderFieldLockApplyService orderFieldLockApplyService; /** * 分页查询 * * @param orderFieldLockApplyQueryVO 查询条件 * @return 查询结果 */ @PostMapping("/list") @ApiOperation("分页查询") @AnonymousAccess public ServerResult list(@RequestBody @Validated OrderFieldLockApplyQueryVO orderFieldLockApplyQueryVO) { return orderFieldLockApplyService.list(orderFieldLockApplyQueryVO); } }