Commit 77ee1bfe by wangjian

2025-08-05 规范建设 V5

parent 954c2d29
......@@ -107,7 +107,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sj_bzxx a
left join sys_dept d on a.dept_id=d.dept_id
where 1=1
group by a.dept_id, a.bzlx
<if test="deptId != null "> and (a.dept_id = #{deptId} or find_in_set(#{deptId},d.ancestors))</if>
<if test="bzlx != null and bzlx != ''"> and bzlx = #{bzlx}</if>
<if test="bzmc != null and bzmc != ''"> and bzmc = #{bzmc}</if>
limit 1
</select>
<update id="plxg" parameterType="SjBzxx">
update sj_bzxx
......
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 to comment