增加规则配置

This commit is contained in:
wuweihua
2026-10-16 13:40:03 +08:00
parent b3f79ffc4c
commit b54cb1b018
16 changed files with 1376 additions and 7 deletions
@@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectBmsBizAttachmentVo">
select attachment_id, biz_type, biz_id, file_name, file_path, file_size, content_type,
file_extension, remark, create_by, create_time, update_by, update_time, del_flag
from bms_biz_attachment
from biz_attachment
</sql>
<select id="selectBmsBizAttachmentById" parameterType="Long" resultMap="BmsBizAttachmentResult">
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<insert id="insertBmsBizAttachment" parameterType="BmsBizAttachment" useGeneratedKeys="true" keyProperty="attachmentId">
insert into bms_biz_attachment (
insert into biz_attachment (
<if test="bizType != null and bizType != ''">biz_type,</if>
<if test="bizId != null">biz_id,</if>
<if test="fileName != null and fileName != ''">file_name,</if>
@@ -87,7 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</insert>
<update id="updateBmsBizAttachment" parameterType="BmsBizAttachment">
update bms_biz_attachment
update biz_attachment
<set>
<if test="bizId != null">biz_id = #{bizId},</if>
<if test="remark != null">remark = #{remark},</if>
@@ -98,7 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<update id="deleteBmsBizAttachmentByIds" parameterType="Long">
update bms_biz_attachment set del_flag = '2' where attachment_id in
update biz_attachment set del_flag = '2' where attachment_id in
<foreach collection="array" item="id" open="(" separator="," close=")">
#{id}
</foreach>