瀏覽代碼

【CHG】修改实验室查询条件

ZhaoMn 3 年之前
父節點
當前提交
dc0dc4eaa3
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      railway-system/src/main/resources/mapper/system/SysDeptMapper.xml

+ 3 - 0
railway-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -47,6 +47,9 @@
     <if test="deptName != null and deptName != ''">
       AND d.dept_name like concat('%', #{deptName}, '%')
     </if>
+    <if test="deptType != null and deptType != ''">
+      AND d.dept_type = #{deptType}
+    </if>
     <if test="status != null and status != ''">
       AND d.status = #{status}
     </if>