|
|
@ -5,6 +5,7 @@ import com.glxp.api.admin.entity.inventory.DeviceMAOrderEntity;
|
|
|
|
import com.glxp.api.admin.req.inventory.AddDeviceMAOrderRequest;
|
|
|
|
import com.glxp.api.admin.req.inventory.AddDeviceMAOrderRequest;
|
|
|
|
import com.glxp.api.admin.req.inventory.FilterDeviceMAOrderRequest;
|
|
|
|
import com.glxp.api.admin.req.inventory.FilterDeviceMAOrderRequest;
|
|
|
|
import com.glxp.api.admin.res.PageSimpleResponse;
|
|
|
|
import com.glxp.api.admin.res.PageSimpleResponse;
|
|
|
|
|
|
|
|
import com.glxp.api.admin.res.inventory.DeviceMAOrderResponse;
|
|
|
|
import com.glxp.api.admin.service.inventory.DeviceMAOrderService;
|
|
|
|
import com.glxp.api.admin.service.inventory.DeviceMAOrderService;
|
|
|
|
import com.glxp.api.common.enums.ResultEnum;
|
|
|
|
import com.glxp.api.common.enums.ResultEnum;
|
|
|
|
import com.glxp.api.common.res.BaseResponse;
|
|
|
|
import com.glxp.api.common.res.BaseResponse;
|
|
|
@ -37,9 +38,9 @@ public class DeviceMAOrderController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@GetMapping("/device/MA/order/filterList")
|
|
|
|
@GetMapping("/device/MA/order/filterList")
|
|
|
|
public BaseResponse filterList(FilterDeviceMAOrderRequest filterDeviceMAOrderRequest) {
|
|
|
|
public BaseResponse filterList(FilterDeviceMAOrderRequest filterDeviceMAOrderRequest) {
|
|
|
|
List<DeviceMAOrderEntity> list = deviceMAOrderService.filterList(filterDeviceMAOrderRequest);
|
|
|
|
List<DeviceMAOrderResponse> list = deviceMAOrderService.filterList(filterDeviceMAOrderRequest);
|
|
|
|
PageInfo<DeviceMAOrderEntity> pageInfo = new PageInfo<>(list);
|
|
|
|
PageInfo<DeviceMAOrderResponse> pageInfo = new PageInfo<>(list);
|
|
|
|
PageSimpleResponse<DeviceMAOrderEntity> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
PageSimpleResponse<DeviceMAOrderResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
pageSimpleResponse.setList(list);
|
|
|
|
pageSimpleResponse.setList(list);
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|