Commit 5875f257 by zhu.zewen

修复专账列表查询SQL

parent 92f5b04c
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
SELECT physic_name,physic_spec,factory_name SELECT physic_name,physic_spec,factory_name
FROM physic_bill FROM physic_bill
WHERE del_flag = 0 WHERE del_flag = 0
<if test="physicName != null">
AND physic_name LIKE CONCAT('%', #{physicName}, '%') AND physic_name LIKE CONCAT('%', #{physicName}, '%')
</if>
<if test="deptId != null"> <if test="deptId != null">
AND dept_id = #{deptId} AND dept_id = #{deptId}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment