| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.zy.asrs.framework.common.Cools; |
| | | import com.zy.asrs.framework.common.R; |
| | | import com.zy.asrs.wms.common.annotation.CacheData; |
| | | import com.zy.asrs.wms.common.annotation.OperationLog; |
| | | import com.zy.asrs.wms.common.domain.BaseParam; |
| | | import com.zy.asrs.wms.common.domain.KeyValVo; |
| | |
| | | |
| | | @PreAuthorize("hasAuthority('asrs:orderDetlFieldLog:list')") |
| | | @PostMapping("/orderDetlFieldLog/page") |
| | | @CacheData(tableName = {"man_order_detl_field_log"}) |
| | | public R page(@RequestBody Map<String, Object> map) { |
| | | BaseParam baseParam = buildParam(map, BaseParam.class); |
| | | PageParam<OrderDetlFieldLog, BaseParam> pageParam = new PageParam<>(baseParam, OrderDetlFieldLog.class); |
| | |
| | | |
| | | @PreAuthorize("hasAuthority('asrs:orderDetlFieldLog:list')") |
| | | @PostMapping("/orderDetlFieldLog/list") |
| | | @CacheData(tableName = {"man_order_detl_field_log"}) |
| | | public R list(@RequestBody Map<String, Object> map) { |
| | | return R.ok().add(orderDetlFieldLogService.list()); |
| | | } |
| | | |
| | | @PreAuthorize("hasAuthority('asrs:orderDetlFieldLog:list')") |
| | | @GetMapping("/orderDetlFieldLog/{id}") |
| | | @CacheData(tableName = {"man_order_detl_field_log"}) |
| | | public R get(@PathVariable("id") Long id) { |
| | | return R.ok().add(orderDetlFieldLogService.getById(id)); |
| | | } |