whycxzp
2023-08-03 a90d9bcdca6f1d87bda8e76738b488dbfd9b19f5
src/main/resources/mapper/SoftwareMapper.xml
@@ -11,6 +11,17 @@
        select  distinct file_url from tb_software
        <where>
            1=1
            <choose>
                <when test="lockFlag == 0">
                    and lock_flag = 0
                </when>
                <when test="lockFlag == 12">
                    and lock_flag != 0
                </when>
                <when test="lockFlag == -1">
                    and lock_flag = -1
                </when>
            </choose>
            <if test="fileName!=null&amp;&amp;fileName!=''">
            and file_name like '%${fileName}%'
            </if>