Commit 9e9ec502 authored by chenzhao's avatar chenzhao

大屏视频播放卡片增加videoType及报存

parent eb5851cf
......@@ -536,10 +536,15 @@ public class DataDictionaryController extends BaseController {
DataDictionary dataDictionary = new DataDictionary();
String code = list.get(i).split("@")[0];
String name = list.get(i).split("@")[1];
String videoType = null;
if (list.get(i).split("@").length>2){
videoType= list.get(i).split("@")[2];
}
dataDictionary.setName(name);
dataDictionary.setCode(type + i);
dataDictionary.setTypeDesc(code);
dataDictionary.setType(type);
dataDictionary.setExtend(videoType);
insertList.add(dataDictionary);
}
iDataDictionaryService.saveBatch(insertList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment