Search in sources :

Example 1 with OrderChangeRecordView

use of com.eservice.api.model.order_change_record.OrderChangeRecordView in project sinsim by WilsonHu.

the class OrderChangeRecordController method getChangeRecordList.

@PostMapping("/getChangeRecordList")
public Result getChangeRecordList(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, @RequestParam Integer id, @RequestParam Integer orderId) {
    PageHelper.startPage(page, size);
    List<OrderChangeRecordView> list = orderChangeRecordService.getChangeRecordList(id, orderId);
    PageInfo pageInfo = new PageInfo(list);
    return ResultGenerator.genSuccessResult(pageInfo);
}
Also used : PageInfo(com.github.pagehelper.PageInfo) OrderChangeRecordView(com.eservice.api.model.order_change_record.OrderChangeRecordView) PostMapping(org.springframework.web.bind.annotation.PostMapping)

Aggregations

OrderChangeRecordView (com.eservice.api.model.order_change_record.OrderChangeRecordView)1 PageInfo (com.github.pagehelper.PageInfo)1 PostMapping (org.springframework.web.bind.annotation.PostMapping)1