根据岗位编号查询用户,以及生物安全模块的数据分离userId,deptId字段新增修改

This commit is contained in:
2026-01-29 23:28:24 +08:00
parent c9cefa3d33
commit 086cb43359
47 changed files with 237 additions and 35 deletions

View File

@@ -71,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="result != null "> and result = #{result}</if>
<if test="status != null "> and status = #{status}</if>
<if test="sheepType != null and sheepType!= ''"> and sqr.sheep_type=#{sheepType}</if>
${params.dataScope}
</where>
ORDER BY datetime DESC
<choose>
@@ -112,7 +113,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update_by,
update_time,
create_by,
create_time
create_time,
user_id,
dept_id
)
VALUES
<foreach collection="list" item="item" separator=",">
@@ -133,7 +136,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.updateBy},
#{item.updateTime},
#{item.createBy},
#{item.createTime}
#{item.createTime},
#{item.userId},
#{item.deptId}
)
</foreach>
</insert>