src/main/java/org/springblade/modules/resource/mapper/AttachMapper.xml
@@ -24,7 +24,13 @@ <select id="selectAttachPage" resultMap="attachResultMap"> select * from blade_attach where is_deleted = 0 select * from blade_attach where is_deleted = 0 and cardid=#{cardid} and type=#{type} <if test="attach.originalName!='' and attach.originalName!=null"> and original_name like concat('%', #{attach.originalName},'%') </if> </select> <update id="updat"> update blade_attach set deptid=#{deptid} where cardid=#{cardid} </update> </mapper>