附件更新修改
parent
59323a9c6f
commit
c6d6da13ce
|
|
@ -54,7 +54,7 @@ public class FileAssociationsService extends ServiceImpl<FileAssociationsMapper,
|
|||
// if (CollectionUtils.isNotEmpty(files)) {
|
||||
|
||||
// 删除
|
||||
if (this.lambdaUpdate()
|
||||
if (CollectionUtils.isNotEmpty(fileIds) && this.lambdaUpdate()
|
||||
.set(FileAssociations::getDel, DEL)
|
||||
.eq(FileAssociations::getTableName, tableName)
|
||||
.eq(FileAssociations::getBusinessId, businessId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue