考勤机业务交互开发

This commit is contained in:
haozq 2025-08-16 13:23:39 +08:00
parent cd2a5ab799
commit fc1c209535
1 changed files with 4 additions and 4 deletions

View File

@ -20,15 +20,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach> </foreach>
</insert> </insert>
<!--删除文件--> <!--删除文件-->
<delete id="delFileList"> <update id="delFileList">
update bm_files set is_active=0 update bm_files set is_active=0
where id in where id in
<foreach collection="ids" item="item" open="(" close=")" separator="," > <foreach collection="ids" item="item" open="(" close=")" separator="," >
#{item} #{item}
</foreach> </foreach>
</delete> </update>
<delete id="delFileListBySourceId"> <update id="delFileListBySourceId">
update bm_files set is_active=0 update bm_files set is_active=0
<where> <where>
<if test="id!=null and id!=''"> <if test="id!=null and id!=''">
@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
</where> </where>
</delete> </update>
<select id="getFileList" resultType="com.bonus.system.api.model.UploadFileVo"> <select id="getFileList" resultType="com.bonus.system.api.model.UploadFileVo">
select id, source_table sourceTable, source_id sourceId, source_type sourceType, file_name fileName, select id, source_table sourceTable, source_id sourceId, source_type sourceType, file_name fileName,
file_key filePath, bucket_name bucketName, create_time createTime, file_key filePath, bucket_name bucketName, create_time createTime,