fix
Helius
2022-06-02 faaa3ad2b937fdd17cd36b1523e07fddf1346db2
fix
2 files modified
5 ■■■■ changed files
src/main/resources/mapper/modules/MallGoodsMapper.xml 1 ●●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallOrderInfoMapper.xml 4 ●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -20,6 +20,7 @@
        <result property="goodsType" column="goods_type" />
        <result property="hasCarriage" column="has_carriage" />
        <result property="carriage" column="carriage" />
        <result property="isNormal" column="is_normal" />
        <collection property="styles" ofType="cc.mrbird.febs.mall.entity.MallGoodsStyle">
            <id property="id" column="style_id" />
            <result property="name" column="style_name" />
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -111,6 +111,7 @@
            <result property="cnt" column="cnt" />
            <result property="price" column="price" />
            <result property="amount" column="amount" />
            <result property="isNormal" column="is_normal" />
        </collection>
    </resultMap>
@@ -167,7 +168,8 @@
            b.sku_image,
            b.cnt,
            b.price,
            b.amount
            b.amount,
            b.is_normal
        from mall_order_info a
             inner join mall_order_item b on a.id=b.order_id
        where a.id=#{id}