| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.vo.PaperInVo; |
| | | import com.ruoyi.common.core.vo.Path; |
| | | import com.ruoyi.order.api.entity.*; |
| | | import com.ruoyi.order.api.factory.OrderFallbackFactory; |
| | |
| | | */ |
| | | @PostMapping(value = "/order/save") |
| | | R<Boolean> save(@RequestBody OrderRequest orderRequest); |
| | | |
| | | |
| | | @PostMapping(value = "/order/edit") |
| | | R<Boolean> edit(@RequestBody OrderRequest orderRequest); |
| | | |
| | | /** |
| | | * 根据改派申请id获取订单详情 |
| | |
| | | @PostMapping(value = "/order/updateState") |
| | | R<Boolean> updateState(@RequestParam("orderId") String orderId, @RequestParam("state") Integer state); |
| | | |
| | | @PostMapping(value = "/order/count") |
| | | R<Boolean> count(@RequestParam("orderId") String orderId); |
| | | |
| | | @PostMapping(value = "/order/papercount") |
| | | R<List<PaperInVo>> papercount(@RequestParam("workId") String workId,@RequestParam("date") String date); |
| | | |
| | | @PostMapping(value = "/order/queryIdsBycode") |
| | | R<List<Integer>> queryIdsBycode(@RequestBody List<String> cityList); |
| | | |
| | | /** |
| | | * 更改订单状态且清空到达时间 |
| | | * |
| | |
| | | @PostMapping(value = "/order/orderCountHome") |
| | | R<OrderResultVO> orderCountHome(@RequestBody OrderCountRequest orderCount); |
| | | |
| | | @PostMapping(value = "/order/workday") |
| | | R<List<Order>> workday(@RequestBody Integer workId); |
| | | |
| | | /** |
| | | * 用户所关联订单记录分页列表 |
| | | * |
| | |
| | | * @return 分页列表 |
| | | */ |
| | | @GetMapping(value = "/order/orderList") |
| | | R<IPage<Order>> orderList(@RequestParam("userId") Integer userId, |
| | | R<Page<Order>> orderList(@RequestParam("userId") Integer userId, |
| | | @RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize); |
| | | |
| | | @GetMapping(value = "/order/orderList1") |
| | | R<Page<Order>> orderList1(@RequestParam("userId") Integer userId, @RequestParam("cityList") List<String> cityList, |
| | | @RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize); |
| | | @GetMapping(value = "/order/workOrderList") |
| | | R<Page<Order>> workOrderList(@RequestParam("workId") Integer workId, |
| | | @RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize); |
| | | |
| | | /** |
| | | * 更改订单提现状态 |
| | |
| | | * @return 交易额 |
| | | */ |
| | | @GetMapping(value = "/order/tradeMoney") |
| | | R<BigDecimal> tradeMoney(@RequestParam("cityList") List<String> cityList, |
| | | @RequestParam("type") String type); |
| | | R<BigDecimal> tradeMoney(@RequestBody MoneyQueryRequest moneyQueryRequest); |
| | | |
| | | /** |
| | | * 师傅端-订单列表 |