优化:清理依赖注入的冗余

master
guoxin 1 year ago
parent 2a33fc9d8a
commit 26f0bbc904
  1. 7
      shandan-system/src/main/java/com/keyware/shandan/system/service/impl/SysFileServiceImpl.java

@ -16,8 +16,6 @@ import com.keyware.shandan.common.util.DateUtil;
import com.keyware.shandan.common.util.StringUtils; import com.keyware.shandan.common.util.StringUtils;
import com.keyware.shandan.common.util.UUIDUtil; import com.keyware.shandan.common.util.UUIDUtil;
import com.keyware.shandan.frame.properties.CustomProperties; import com.keyware.shandan.frame.properties.CustomProperties;
import com.keyware.shandan.mark.services.FileAutoMarkService;
import com.keyware.shandan.mark.services.MarkRecordService;
import com.keyware.shandan.system.entity.SysFile; import com.keyware.shandan.system.entity.SysFile;
import com.keyware.shandan.system.entity.SysFileChunk; import com.keyware.shandan.system.entity.SysFileChunk;
import com.keyware.shandan.system.mapper.SysFileChunkMapper; import com.keyware.shandan.system.mapper.SysFileChunkMapper;
@ -66,11 +64,6 @@ public class SysFileServiceImpl extends BaseServiceImpl<SysFileMapper, SysFile,
@Autowired @Autowired
private EsSysFileRepository esSysFileRepository; private EsSysFileRepository esSysFileRepository;
@Autowired
private MarkRecordService markService;
@Autowired
private FileAutoMarkService autoMarkService;
@Autowired @Autowired
private LabelEntityService labelEntityService; private LabelEntityService labelEntityService;