|
@@ -1,21 +1,18 @@
|
|
|
package com.miaxis.feed.service.impl;
|
|
|
|
|
|
-import java.io.File;
|
|
|
-import java.util.Arrays;
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
-import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
-import com.miaxis.common.utils.DateUtils;
|
|
|
+import com.miaxis.feed.domain.FeedBack;
|
|
|
+import com.miaxis.feed.mapper.FeedBackMapper;
|
|
|
+import com.miaxis.feed.service.IFeedBackService;
|
|
|
import com.miaxis.file.domain.FileInfo;
|
|
|
import com.miaxis.file.mapper.FileInfoMapper;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.apache.commons.lang3.StringUtils;
|
|
|
-import com.miaxis.feed.mapper.FeedBackMapper;
|
|
|
-import com.miaxis.feed.domain.FeedBack;
|
|
|
-import com.miaxis.feed.service.IFeedBackService;
|
|
|
+
|
|
|
+import java.io.File;
|
|
|
+import java.util.Arrays;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 意见反馈Service业务层处理
|
|
@@ -25,6 +22,7 @@ import com.miaxis.feed.service.IFeedBackService;
|
|
|
*/
|
|
|
@Service
|
|
|
public class FeedBackServiceImpl extends ServiceImpl<FeedBackMapper, FeedBack> implements IFeedBackService {
|
|
|
+
|
|
|
@Autowired
|
|
|
private FeedBackMapper feedBackMapper;
|
|
|
|
|
@@ -65,6 +63,8 @@ public class FeedBackServiceImpl extends ServiceImpl<FeedBackMapper, FeedBack> i
|
|
|
fileInfoMapper.deleteBatchIds(Arrays.asList(imgIdArray));
|
|
|
}
|
|
|
}
|
|
|
+ List<Long> idsList = Arrays.asList(ids);
|
|
|
+ feedBackMapper.deleteBatchIds(idsList);
|
|
|
return true;
|
|
|
}
|
|
|
}
|