From 0b6189c1c208a4f1c4cd4b230dba10b3581d1ff9 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期四, 16 五月 2024 16:01:16 +0800 Subject: [PATCH] fix: 获取司机配送员信息接口修改 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask2.java | 35 +++++++++++++++++------------------ 1 files changed, 17 insertions(+), 18 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask2.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask2.java index 857837b..9a49244 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask2.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/entity/OrderTask2.java @@ -1,6 +1,8 @@ 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; @@ -28,7 +30,7 @@ @TableName("t_order_task2") @ApiModel(value = "璁㈠崟浠诲姟鍘嗗彶琛�") public class OrderTask2 extends XbootBaseEntity { - //鍙瓨鏀鹃厤閫佸畬鐨勮鍗� + private static final long serialVersionUID = 1L; @ApiModelProperty(value = "璁㈠崟鍙�") @@ -100,33 +102,30 @@ @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; -} \ No newline at end of file + 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()); + } +} -- Gitblit v1.9.1