|
@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Primary;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -18,9 +19,8 @@ import java.util.List;
|
|
|
* @Version: V1.0
|
|
|
*/
|
|
|
@Service
|
|
|
-@Primary
|
|
|
public class ByteDanceVideoInfoServiceImpl extends ServiceImpl<ByteDanceVideoInfoMapper, ByteDanceVideoInfo> implements IByteDanceVideoInfoService {
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
private ByteDanceVideoInfoMapper videoInfoMapper;
|
|
|
|
|
|
@Override
|
|
@@ -35,10 +35,4 @@ public class ByteDanceVideoInfoServiceImpl extends ServiceImpl<ByteDanceVideoInf
|
|
|
queryWrapper.last("limit 1");
|
|
|
return this.getOne(queryWrapper);
|
|
|
}
|
|
|
-
|
|
|
- @Override
|
|
|
- public void updateMaterialType() {
|
|
|
- videoInfoMapper.updateVideoVerticalType();
|
|
|
- videoInfoMapper.updateVideoHorizonType();
|
|
|
- }
|
|
|
}
|