| | |
| | | |
| | | package com.chinaztt.mes.plan.controller; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.chinaztt.mes.common.wrapper.QueryWrapperUtil; |
| | |
| | | @ApiOperation(value = "分页查询", notes = "分页查询") |
| | | @GetMapping("/page/{type}") |
| | | public R getCustomerOrderPage(Page page, CustomerOrderDTO planCustomerOrder, @PathVariable("type") String type) { |
| | | log.info("条件=================》"+ JSONObject.toJSONString(planCustomerOrder)); |
| | | return R.ok(customerOrderService.getCustomerOrderPage(page, QueryWrapperUtil.gen(planCustomerOrder), type)); |
| | | } |
| | | |