Administrator
2025-07-21 7426bcd6a56755f5a45401b2eb4e72bdc0fe9bc4
feat(mall): 添加订单列表的物流信息

- 在 ApiClothesOrderListVo 中添加 expressNo 和 expressCom 字段
- 在 ClothesOrderMapper.xml 中加入物流信息的查询
2 files modified
9 ■■■■■ changed files
src/main/java/cc/mrbird/febs/mall/vo/clothes/ApiClothesOrderListVo.java 6 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/ClothesOrderMapper.xml 3 ●●●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/vo/clothes/ApiClothesOrderListVo.java
@@ -25,6 +25,12 @@
    @ApiModelProperty(value = "类型图片")
    private String typeImage;
    @ApiModelProperty(value = "快递单号")
    private String expressNo;
    @ApiModelProperty(value = "物流公司")
    private String expressCom;
    @ApiModelProperty(value = "数量")
    private Integer goodsCnt;
src/main/resources/mapper/modules/ClothesOrderMapper.xml
@@ -10,9 +10,12 @@
            a.status as status,
            b.name as typeName,
            b.image as typeImage,
            c.express_no as expressNo,
            c.express_com as expressCom,
            a.goods_cnt as goodsCnt
        from clothes_order a
        left join clothes_type b on a.type_id = b.id
        left join mall_express_info c on a.id=c.order_id
        <where>
            and a.member_id = #{record.memberId}
            <if test="record != null">