Commit d342f5ef authored by zhangsen's avatar zhangsen

Merge remote-tracking branch 'origin/develop_dl_plan6' into develop_dl_plan6_temp

parents b2fd9ae7 b86676bd
...@@ -25,7 +25,7 @@ public class SupervisionVideoServiceImpl extends ServiceImpl<SupervisionVideoMap ...@@ -25,7 +25,7 @@ public class SupervisionVideoServiceImpl extends ServiceImpl<SupervisionVideoMap
@Autowired @Autowired
SupervisionVideoMapper supervisionVideoMapper; SupervisionVideoMapper supervisionVideoMapper;
@Value("${window.vedioFormat}") @Value("${window.vedioFormat.video}")
String vedioFormat; String vedioFormat;
@Autowired @Autowired
private IVideoService videoService; private IVideoService videoService;
......
...@@ -82,6 +82,7 @@ param.system.online.date = 2019-02-12 ...@@ -82,6 +82,7 @@ param.system.online.date = 2019-02-12
# 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启 # 视频转码服务开关 hls(关)/flv(开),默认关闭,数字换流站使用时开启
window.vedioFormat = hls window.vedioFormat = hls
window.vedioFormat.video = flv
# 航天视频服务地址 # 航天视频服务地址
param.htvideo.url=http://192.168.4.174:9001; param.htvideo.url=http://192.168.4.174:9001;
# 南瑞视频转码服务地址 # 南瑞视频转码服务地址
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<select id="selectByOrgCode" resultType="com.yeejoin.amos.boot.module.tdc.api.dto.CheckModelDto"> <select id="selectByOrgCode" resultType="com.yeejoin.amos.boot.module.tdc.api.dto.CheckModelDto">
select `*`,'●' as circle from tdc_model select `*`,'●' as circle from tdc_model
<where> <where>
<if test = "amosOrgCode != null and amosOrgCode != '' and amosOrgCode != 50 "> <if test = "amosOrgCode != null and amosOrgCode != '' and amosOrgCode != '50' ">
and amos_org_code=#{amosOrgCode} and amos_org_code=#{amosOrgCode}
</if> </if>
</where> </where>
......
...@@ -270,7 +270,7 @@ public class CheckModelImpl extends ServiceImpl<CheckModelMapper, CheckModel> im ...@@ -270,7 +270,7 @@ public class CheckModelImpl extends ServiceImpl<CheckModelMapper, CheckModel> im
} }
String modelRule = jsonObject.getString("model_rule"); String modelRule = jsonObject.getString("model_rule");
if(!ValidationUtil.isEmpty(modelRule)){ if(!ValidationUtil.isEmpty(modelRule)){
modelRule = modelRule.substring(modelRule.indexOf("/"),modelRule.indexOf(".")); modelRule = modelRule.substring(modelRule.indexOf("/")+1,modelRule.indexOf("."));
} }
JSONArray modelFile = jsonObject.getJSONArray("model_file"); JSONArray modelFile = jsonObject.getJSONArray("model_file");
String fileUrl = ""; String fileUrl = "";
......
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