| | |
| | | package cn.exrick.xboot.your.entity; |
| | | |
| | | import cn.exrick.xboot.core.base.XbootBaseEntity; |
| | | import cn.exrick.xboot.your.util.ImageShowUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | |
| | | @TableName("t_order_task2") |
| | | @ApiModel(value = "订单任务历史表") |
| | | public class OrderTask2 extends XbootBaseEntity { |
| | | //只存放配送完的订单 |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "订单号") |
| | |
| | | @ApiModelProperty(value = "耗时 毫秒") |
| | | private int time; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "商户名称") |
| | | private String customerName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "商户") |
| | | private Customer customer; |
| | | @ApiModelProperty(value = "配送人") |
| | | private String userName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "车牌号") |
| | | private String carNo; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "区域名称") |
| | | private String areaName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "分段名称") |
| | | private String areaSectionName; |
| | | |
| | | @Transient |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "订单详情") |
| | | private List<OrderDetail> orderDetails; |
| | | } |
| | | public String getImg() { |
| | | this.img = ImageShowUtil.getImgX(this.img); |
| | | return this.img; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String img = ",,http://111.63.178.115:9091/xboot/file/view/1712990736426864641,,/xboot/file/view/1712990822305239041,,"; |
| | | OrderTask2 o = new OrderTask2(); |
| | | o.setImg(img); |
| | | System.out.println(o.getImg()); |
| | | } |
| | | } |