无关风月
2024-12-24 427ff7fa7b91c6efceef529877904e91dfe91c46
Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/eyes
1个文件已修改
11 ■■■■ 已修改文件
manage/src/main/resources/mapping/TLensGoods.xml 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manage/src/main/resources/mapping/TLensGoods.xml
@@ -14,7 +14,7 @@
        left join t_store t4 on t1.storeId = t4.id
        left join t_brand t6 on t2.brandId=t6.id
        left join sec_setting t7 on 1=1
        where 1=1
        <where>
        <if test="query.brandId != null ">
            and t2.brandId = #{query.brandId}
        </if>
@@ -33,14 +33,15 @@
        <if test="query.type != null ">
            and t2.type = #{query.type}
        </if>
        <if test="query.isWarning != null and query.isWarning = 1">
            and t1.total &lt; t7.lensThreshold
            <if test="query.isWarning !=null and query.isWarning==1">
                and t1.total &lt;= t7.lensThreshold
        </if>
        <if test="query.isWarning != null and query.isWarning = 2">
            <if test="query.isWarning !=null and query.isWarning ==2">
            and t1.total >= t7.lensThreshold
        </if>
        and t1.isDelete =  ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()}
            and t1.isDelete =  0
        </where>
        order by t1.id
    </select>
</mapper>