修改岗位发布和修改是上传附件

This commit is contained in:
sh
2025-12-02 17:02:40 +08:00
parent ffb9803bf3
commit f05d74f8cc
7 changed files with 199 additions and 12 deletions

View File

@@ -26,4 +26,27 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bussinessid != null "> and bussinessid = #{bussinessid}</if>
</where>
</select>
<update id="updateBussinessids">
update file
<if test="newBussinessid != null">
set bussinessid = #{newBussinessid}
</if>
<if test="newBussinessid == null">
set bussinessid = bussinessid
where 1 = 2
</if>
where
<if test="longs != null and longs.size() > 0">
bussinessid in (
<foreach collection="longs" item="oldId" open="(" close=")" separator=",">
#{oldId}
</foreach>
)
</if>
<if test="longs == null or longs.size() == 0">
1 = 2
</if>
</update>
</mapper>