|
@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
import java.io.File;
|
|
|
import java.io.FileInputStream;
|
|
|
import java.io.FileNotFoundException;
|
|
@@ -42,9 +43,7 @@ import java.util.regex.Pattern;
|
|
|
@Service
|
|
|
public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, MaterialInfo> implements IMaterialInfoService {
|
|
|
private static ExecutorService uploadExecutorService = Executors.newFixedThreadPool(5);
|
|
|
- static ExecutorService executorService = Executors.newFixedThreadPool(4);
|
|
|
-
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
private IVideoWatermarkTemplateService videoWatermarkTemplateService;
|
|
|
@Autowired
|
|
|
private IVideoWatermarkTaskService videoWatermarkTaskService;
|