| | |
| | | |
| | | // 添加查询条件 |
| | | if (clientName != null && !clientName.trim().isEmpty()) { |
| | | queryWrapper.like(Orders::getClient_name, clientName); |
| | | queryWrapper.eq(Orders::getClient_name, clientName); |
| | | } |
| | | if (status != null) { |
| | | queryWrapper.eq(Orders::getStatus, status); |
| | |
| | | @ApiOperation("获取客户列表") |
| | | public ResponseResult<CustomPage<String>> getClientList(@RequestParam(required = false) String clientName, |
| | | @RequestParam(required = false,defaultValue = "1") Integer pageNum, |
| | | @RequestParam(required = false, defaultValue = "10") Integer pageSize) { |
| | | @RequestParam(required = false, defaultValue = "100") Integer pageSize) { |
| | | |
| | | Page<String> result = orderService.getClientList(clientName,pageNum, pageSize); |
| | | |