|
|
@@ -1,13 +1,17 @@
|
|
|
package com.yunfeiyun.agmp.iot.common.service;
|
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
/**
|
|
|
- * 负责型号相关操作
|
|
|
+ * 负责型号相关操作,用来替换之前的枚举写死的name获取相关
|
|
|
*/
|
|
|
@Service
|
|
|
public class TypeCoreService {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private TypeCacheService typeCacheService;
|
|
|
+
|
|
|
/**
|
|
|
* 获取型号(二级)的名称根据他的code
|
|
|
*
|