1078-部标通道添加音频控制

This commit is contained in:
648540858
2024-06-07 07:21:40 +08:00
parent 913d358a11
commit 972ef30f8d
4 changed files with 14 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ public interface JTChannelMapper {
" <if test='query != null'> AND " +
"jc.name LIKE concat('%',#{query},'%') " +
"</if> " +
"ORDER BY jc.update_time " +
"ORDER BY jc.channel_id " +
" </script>"})
List<JTChannel> getAll(@Param("terminalId") int terminalId, @Param("query") String query);
@@ -28,7 +28,7 @@ public interface JTChannelMapper {
"<if test=\"terminalId != null\">, terminal_id=#{terminalId}</if>" +
"<if test=\"hasAudio != null\">, has_audio=#{hasAudio}</if>" +
"<if test=\"name != null\">, name=#{name}</if>" +
"<if test=\"channelId != null\">, channelId=#{channelId}</if>" +
"<if test=\"channelId != null\">, channel_id=#{channelId}</if>" +
"WHERE id=#{id}"+
" </script>"})
void update(JTChannel channel);