|
@@ -14,6 +14,7 @@ import com.zhongzheng.modules.order.bo.OrderHandleEditBo;
|
|
import com.zhongzheng.modules.order.bo.OrderHandleQueryBo;
|
|
import com.zhongzheng.modules.order.bo.OrderHandleQueryBo;
|
|
import com.zhongzheng.modules.order.service.IOrderHandleService;
|
|
import com.zhongzheng.modules.order.service.IOrderHandleService;
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
|
+import com.zhongzheng.modules.order.vo.OrderHandleGoodsVo;
|
|
import com.zhongzheng.modules.order.vo.OrderHandleVo;
|
|
import com.zhongzheng.modules.order.vo.OrderHandleVo;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
@@ -94,14 +95,14 @@ public class OrderHandleController extends BaseController {
|
|
return toAjax(iOrderHandleService.updateByEditBo(bo) ? 1 : 0);
|
|
return toAjax(iOrderHandleService.updateByEditBo(bo) ? 1 : 0);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * 新增订单
|
|
|
|
- */
|
|
|
|
- /* @ApiOperation("新增经办人子录单")
|
|
|
|
- @PreAuthorize("@ss.hasPermi('system:order:add')")
|
|
|
|
- @Log(title = "新增经办人子录单", businessType = BusinessType.INSERT)
|
|
|
|
- @PostMapping("/inputOrder")
|
|
|
|
- public AjaxResult addInputOrder(@RequestBody OrderAddBo bo) {
|
|
|
|
- return AjaxResult.success(iOrderService.placePlatHandleOrder(bo));
|
|
|
|
- }*/
|
|
|
|
|
|
+ @ApiOperation("查询经办录单商品列表")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:handle:list')")
|
|
|
|
+ @GetMapping("/goodsList")
|
|
|
|
+ public TableDataInfo<OrderHandleGoodsVo> goodsList(OrderHandleQueryBo bo) {
|
|
|
|
+ startPage();
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
+ bo.setCreateUserId(loginUser.getUser().getUserId());
|
|
|
|
+ List<OrderHandleGoodsVo> list = iOrderHandleService.selectOrderGoodsList(bo);
|
|
|
|
+ return getDataTable(list);
|
|
|
|
+ }
|
|
}
|
|
}
|