yupeng
2025-03-31 ebdaa28ad3b7d23be3bfd6fb830307f28764aa18
feat: 更新sql判断
1个文件已修改
4 ■■■■ 已修改文件
ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -62,8 +62,8 @@
            <if test="query.userId != null and query.userId !=''">
                and t.id = #{query.userId}
            </if>
            <if test="query.businessDeptId != null and query.businessDeptId !='' and query.businessDeptId!='0'">
                and b.business_dept_id = #{businessDeptId}
            <if test='query.businessDeptId != null and query.businessDeptId != "" and query.businessDeptId!="0"'>
                and b.business_dept_id = #{query.businessDeptId}
            </if>
            <if test="query.billType != null">
                and b.bill_type = #{query.billType}