Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile
| | |
| | | */ |
| | | @GetMapping(value = "/getDetailById") |
| | | @ApiOperation(tags = {"小程序-订单申诉"},value = "查询订单申诉详情") |
| | | public AjaxResult<TOrderAppealVO> getDetailById(Integer id) { |
| | | public AjaxResult<TOrderAppealVO> getDetailById(String id) { |
| | | return AjaxResult.ok(orderAppealService.getDetailById(id)); |
| | | } |
| | | |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | TOrderAppealVO getDetailById(Integer id); |
| | | TOrderAppealVO getDetailById(String id); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public TOrderAppealVO getDetailById(Integer id) { |
| | | public TOrderAppealVO getDetailById(String id) { |
| | | TOrderAppeal orderAppeal = this.baseMapper.selectById(id); |
| | | TOrderAppealVO orderAppealVO = new TOrderAppealVO(); |
| | | BeanUtils.copyProperties(orderAppeal,orderAppealVO); |
| | |
| | | public AjaxResult addOrderInvoice(AddOrderInvoice addOrderInvoice) { |
| | | Long userId = tokenService.getLoginUserApplet().getUserId(); |
| | | String orders = addOrderInvoice.getOrders(); |
| | | if(StringUtils.isNotEmpty(orders)){ |
| | | if(StringUtils.isEmpty(orders)){ |
| | | return AjaxResult.error("请选择有效的订单"); |
| | | } |
| | | JSONArray parse = JSONArray.parse(orders); |