mirror of https://gitee.com/stylefeng/roses
【7.4.0】【file】更新业务和文件的关联信息删除功能
parent
554d08e390
commit
8f0c52e6ff
|
@ -65,4 +65,13 @@ public interface FileBusinessApi {
|
||||||
*/
|
*/
|
||||||
void addFileDownloadCount(Long businessId, Long fileId);
|
void addFileDownloadCount(Long businessId, Long fileId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除业务id的文件关联信息
|
||||||
|
*
|
||||||
|
* @param businessId 业务id
|
||||||
|
* @author fengshuonan
|
||||||
|
* @since 2023/3/31 14:23
|
||||||
|
*/
|
||||||
|
void removeBusinessIdFileList(Long businessId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,6 +141,13 @@ public class SysFileBusinessServiceImpl extends ServiceImpl<SysFileBusinessMappe
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void removeBusinessIdFileList(Long businessId) {
|
||||||
|
LambdaQueryWrapper<SysFileBusiness> sysFileBusinessLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
sysFileBusinessLambdaQueryWrapper.eq(SysFileBusiness::getBusinessId, businessId);
|
||||||
|
this.remove(sysFileBusinessLambdaQueryWrapper);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取信息
|
* 获取信息
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue