lige
2023-11-30 3f28b46171934066aeeff9af80d3f0ce6afb3adf
ltkj-hosp/src/main/resources/mapper/mall/MallOrderMapper.xml
@@ -43,6 +43,7 @@
        <result property="giftReceiveTime" column="gift_receive_time"/>
        <result property="deptId" column="dept_id"/>
        <result property="isSz" column="is_sz"/>
        <result property="getType" column="get_type"/>
        <result property="createTime" column="create_time"/>
        <result property="createBy" column="create_by"/>
        <result property="updateTime" column="update_time"/>
@@ -75,6 +76,7 @@
        <result property="updateTime" column="sub_update_time"/>
        <result property="updateBy" column="sub_update_by"/>
        <result property="deleted" column="sub_deleted"/>
        <result property="getType" column="get_type"/>
    </resultMap>
    <sql id="selectMallOrderVo">
@@ -121,7 +123,8 @@
               update_time,
               update_by,
               deleted,
               id_card
               id_card,
               get_type
        from mall_order
    </sql>
@@ -236,6 +239,9 @@
            <if test="startTime != null and endTime !=null ">
                and  create_time between #{startTime} and #{endTime}
            </if>
            <if test="getType != null ">
                and get_type = #{getType}
            </if>
        </where>
        order by update_time desc
    </select>
@@ -285,6 +291,7 @@
               a.update_time,
               a.update_by,
               a.deleted,
               a.get_type,
               b.id             as
                   sub_id,
               b.order_id       as