| | |
| | | "'${item.streamId}', ${item.longitude}, ${item.latitude},'${item.createTime}', '${item.updateTime}')" + |
| | | "</foreach> " + |
| | | "</script>") |
| | | void batchAdd(List<DeviceChannel> addChannels); |
| | | int batchAdd(List<DeviceChannel> addChannels); |
| | | |
| | | @Update({"<script>" + |
| | | "<foreach collection='updateChannels' item='item' separator=';'>" + |
| | |
| | | "WHERE deviceId=#{item.deviceId} AND channelId=#{item.channelId}"+ |
| | | "</foreach>" + |
| | | "</script>"}) |
| | | void batchUpdate(List<DeviceChannel> updateChannels); |
| | | int batchUpdate(List<DeviceChannel> updateChannels); |
| | | |
| | | @Select(value = {" <script>" + |
| | | "SELECT * FROM ( "+ |