jinlin
2024-02-21 09e19d4defad238ecf28a5749a4ce64904fa76b0
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