| | |
| | | private String abnormalRemark; |
| | | |
| | | |
| | | private Integer cancelType; |
| | | |
| | | public Integer getCancelType() { |
| | | return cancelType; |
| | | } |
| | | |
| | | public void setCancelType(Integer cancelType) { |
| | | this.cancelType = cancelType; |
| | | } |
| | | |
| | | public String getPromotionUser() { |
| | | return promotionUser; |
| | | } |
| | |
| | | orderPrivateCar.setEndServiceTime(new Date()); |
| | | break; |
| | | } |
| | | orderPrivateCar.setCancelType(2); |
| | | this.updateById(orderPrivateCar); |
| | | |
| | | // TODO: 2020/6/5 推送状态 |
| | |
| | | @TableField("bindId") |
| | | private String bindId; |
| | | |
| | | |
| | | |
| | | private String splitAllocation; |
| | | |
| | | |
| | |
| | | private String travelId; |
| | | |
| | | |
| | | private Integer cancelType; |
| | | |
| | | public Integer getCancelType() { |
| | | return cancelType; |
| | | } |
| | | |
| | | public void setCancelType(Integer cancelType) { |
| | | this.cancelType = cancelType; |
| | | } |
| | | |
| | | |
| | | |
| | | public String getPromotionUser() { |
| | | return promotionUser; |
| | | } |
| | |
| | | systemNoticeService.addSystemNotice(1, "司机已结束本次行程,谢谢使用", orderTaxi.getUserId(), 1); |
| | | break; |
| | | } |
| | | orderTaxi.setCancelType(2); |
| | | this.updateById(orderTaxi); |
| | | |
| | | // TODO: 2020/6/5 推送状态 |
| | |
| | | IF((a.abnormalIntro is null and a.recoveryOrder = 1) or (a.state in (8, 9) and null = a.abnormal), 0, 1) as appealButton, |
| | | a.paymentMode, |
| | | a.estimateAmount, |
| | | a.serverCarModel |
| | | a.serverCarModel, |
| | | a.cancelType |
| | | from t_order_private_car a |
| | | left join t_driver b on (a.driverId = b.id) |
| | | left join t_car c on (a.carId = c.id) |
| | |
| | | a.headImgUrl as avatar, |
| | | a.phone as phone, |
| | | c.carLicensePlate as carCode, |
| | | CONCAT(F.`name`, d.`name`, '.', c.carColor) as carName, |
| | | CONCAT(f.`name`, d.`name`, '.', c.carColor) as carName, |
| | | (select sum(fraction) / count(id) from t_order_evaluate where driverId = a.id) as score, |
| | | ( |
| | | (select count(id) from t_order_private_car where state in (7, 8, 9) and driverId = a.id) + |
| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.stylefeng.guns.modular.specialTrain.model.OrderPrivateCar; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | |
| | | @TableField("estimateAmount") |
| | | private Double estimateAmount; |
| | | |
| | | @ApiModelProperty("取消类型1可以取消 2不可取消") |
| | | private Integer cancelType; |
| | | |
| | | |
| | | public Integer getCancelType() { |
| | | return cancelType; |
| | | } |
| | | |
| | | public void setCancelType(Integer cancelType) { |
| | | this.cancelType = cancelType; |
| | | } |
| | | |
| | | public Double getEstimateAmount() { |
| | | return estimateAmount; |
| | |
| | | |
| | | @ApiModelProperty("计费规则") |
| | | private String chargeRules; |
| | | |
| | | |
| | | public String getChargeRules() { |
| | | return chargeRules; |
| | |
| | | orderInfoWarpper.setPaymentMode(null != map.get("paymentMode") ? Integer.valueOf(map.get("paymentMode").toString()) : null); |
| | | orderInfoWarpper.setPaymentMode(null != map.get("paymentMode") ? Integer.valueOf(map.get("paymentMode").toString()) : null); |
| | | orderInfoWarpper.setOrderAdditionalFeeWarpper(list); |
| | | orderInfoWarpper.setCancelType(null != map.get("cancelType") ? Integer.valueOf(map.get("cancelType").toString()) : 1); |
| | | } |
| | | return orderInfoWarpper; |
| | | } |
| | |
| | | a.companyId, |
| | | 0 as appealButton, |
| | | a.paymentMode, |
| | | a.estimateAmount |
| | | a.estimateAmount, |
| | | a.cancelType |
| | | from t_order_taxi a |
| | | left join t_driver b on (a.driverId = b.id) |
| | | left join t_car c on (a.carId = c.id) |