|
|
@@ -16,6 +16,7 @@ import com.xunmei.system.api.domain.SysOrg;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -53,5 +54,16 @@ public class IotDvsTemplateChannelServiceImpl extends ServiceImpl<IotDvsTemplate
|
|
|
return iotDvsTemplateChannelMapper.getChannelPlanTimeList(dto);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public List<String> getTemplateNameList() {
|
|
|
+ List<String> list = new ArrayList<>();
|
|
|
+ list.add("未绑定");
|
|
|
+ List<String> templateNameList = iotDvsTemplateChannelMapper.getTemplateNameList();
|
|
|
+ if (templateNameList != null && templateNameList.size() > 0) {
|
|
|
+ list.addAll(templateNameList);
|
|
|
+ }
|
|
|
+ return list;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|