jinlin
2023-12-29 a4f932c6ca705feb3bee3b7d7bbe0ee5c0c85515
modules/mainPart/src/main/resources/mapper/contractReview/ContractReviewItemDao.xml
@@ -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