jinlin
2024-02-23 1772fc5e211f9e9e0ab4cdc6c29b436aac178c2a
modules/mainPart/src/main/resources/mapper/contractReview/ContractReviewItemDao.xml
@@ -9,7 +9,7 @@
        <where>
            a.is_delete = 0
            <if test="reviewId!=null">
                and warehouse_id = ${reviewId}
                and review_id = ${reviewId}
            </if>
        </where>
        <if test="orderBySql!=null">
@@ -21,11 +21,11 @@
        SELECT dd.dict_label AS item,
        (@row_number := @row_number + 1) AS no
        FROM sys_dict_type dt
        JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID
        JOIN sys_dict_data dd ON dt.id = dd.dict_type_id
        <where>
            dd.IS_DELETE = 0
            dd.is_delete = 0
            <if test="dictType != null and dictType != ''">
                and dt.DICT_TYPE = #{dictType}
                and dt.dict_type = #{dictType}
            </if>
        </where>
        ORDER BY dd.sort