Compare commits

...

4 Commits

Author SHA1 Message Date
田朝盛
b9206a6670
Pre Merge pull request !39 from 田朝盛/N/A 2025-08-27 02:01:39 +00:00
lin
04742531fc 修复推流列表在使用postgresql时查询失败 #1809 2025-08-27 10:01:22 +08:00
lin
5db66b0f40 修复分组信息缺少的行政区划编码 #1914 2025-08-27 09:56:50 +08:00
田朝盛
8dd624ccd4
update src/main/java/com/genersoft/iot/vmp/gb28181/controller/PlayController.java.
Signed-off-by: 田朝盛 <1753182616@qq.com>
2025-07-14 08:04:09 +00:00
3 changed files with 4 additions and 3 deletions

View File

@ -156,7 +156,8 @@ public interface GroupMapper {
" wcg.name as gb_name," +
" wcg.business_group as gb_business_group_id," +
" 1 as gb_parental," +
" wcg.parent_device_id as gb_parent_id" +
" wcg.parent_device_id as gb_parent_id," +
" wcg.civil_code as gb_civil_code" +
" from wvp_common_group wcg" +
" left join wvp_platform_group wpg on wpg.group_id = wcg.id" +
" where wpg.platform_id = #{platformId} " +

View File

@ -53,8 +53,8 @@ public interface StreamPushMapper {
" 1=1 " +
" <if test='query != null'> AND (st.app LIKE concat('%',#{query},'%') escape '/' OR st.stream LIKE concat('%',#{query},'%') escape '/' " +
" OR wdc.gb_device_id LIKE concat('%',#{query},'%') escape '/' OR wdc.gb_name LIKE concat('%',#{query},'%') escape '/')</if> " +
" <if test='pushing == true' > AND st.pushing=1</if>" +
" <if test='pushing == false' > AND st.pushing=0 </if>" +
" <if test='pushing == true' > AND st.pushing=true</if>" +
" <if test='pushing == false' > AND st.pushing=false </if>" +
" <if test='mediaServerId != null' > AND st.media_server_id=#{mediaServerId} </if>" +
" order by st.create_time desc" +
" </script>"})