jinlin
2023-12-06 39f2e9b35977420ba8afc64151cb9c424f4d26c7
modules/mainPart/src/main/resources/mapper/testCheckOrder/TestCheckOrderListDao.xml
@@ -6,15 +6,9 @@
    <select id="getList" resultType="com.zt.life.modules.testCheckOrder.model.TestCheckOrderList">
        select a.*
        from test_check_order_list a
        <where>
            a.is_delete = 0
            <if test="whereSql!=null">
                and ${whereSql}
            </if>
        </where>
        <if test="orderBySql!=null">
            ORDER BY ${orderBySql}
        </if>
        where check_order_id =  ${checkId}
              and is_delete = 0
            ORDER BY no
    </select>
    <select id="itemList" resultType="com.zt.life.modules.testCheckOrder.model.TestCheckOrderList">
        SET @row_number = 0;
@@ -25,7 +19,7 @@
        <where>
            dd.IS_DELETE = 0
            <if test="dictType != null and dictType != ''">
                and dt.DICT_TYPE = #{dictType}
                and dt.DICT_TYPE = #{pageCode}
            </if>
        </where>
        ORDER BY dd.sort