From ebdaa28ad3b7d23be3bfd6fb830307f28764aa18 Mon Sep 17 00:00:00 2001 From: yupeng <roc__yu@163.com> Date: 星期一, 31 三月 2025 11:47:42 +0800 Subject: [PATCH] feat: 更新sql判断 --- ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml index 4219015..9e1bbcc 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml +++ b/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} -- Gitblit v1.7.1