diff --git a/module-material-store/src/main/java/cn/com/tenlion/materialstore/service/materialdata/impl/MaterialDataServiceImpl.java b/module-material-store/src/main/java/cn/com/tenlion/materialstore/service/materialdata/impl/MaterialDataServiceImpl.java index f1df08c..6a8b11a 100644 --- a/module-material-store/src/main/java/cn/com/tenlion/materialstore/service/materialdata/impl/MaterialDataServiceImpl.java +++ b/module-material-store/src/main/java/cn/com/tenlion/materialstore/service/materialdata/impl/MaterialDataServiceImpl.java @@ -22,9 +22,12 @@ import cn.com.tenlion.materialstore.service.materialphoto.IMaterialPhotoService; import cn.com.tenlion.materialstore.service.materialtext.IMaterialTextService; import cn.com.tenlion.materialstore.service.materialvideo.IMaterialVideoService; import org.springframework.beans.factory.annotation.Autowired; - +import org.springframework.context.annotation.Primary; +import org.springframework.stereotype.Service; import java.util.List; +@Primary +@Service public class MaterialDataServiceImpl implements MaterialDataService { @Autowired