临时提交
This commit is contained in:
@@ -164,8 +164,11 @@ public interface GroupMapper {
|
||||
|
||||
@Select(" <script>" +
|
||||
" SELECT " +
|
||||
" device_id as gb_device_id" +
|
||||
" name as gb_name" +
|
||||
" device_id as gb_device_id," +
|
||||
" name as gb_name," +
|
||||
" business_group as gb_business_group," +
|
||||
" 1 as gb_parental," +
|
||||
" parent_device_id as gb_parent_id" +
|
||||
" from wvp_common_group " +
|
||||
" where (device_id, business_group) in " +
|
||||
" <foreach collection='channelList' item='item' open='(' separator=',' close=')' > (#{item.gbParentId}, #{item.gbBusinessGroupId})</foreach>" +
|
||||
|
||||
@@ -100,11 +100,20 @@ public interface RegionMapper {
|
||||
|
||||
@Select(" <script>" +
|
||||
" SELECT " +
|
||||
" device_id as gb_device_id" +
|
||||
" name as gb_name" +
|
||||
" * " +
|
||||
" from wvp_common_region " +
|
||||
" where device_id in " +
|
||||
" <foreach collection='channelList' item='item' open='(' separator=',' close=')' > #{item.gbCivilCode}</foreach>" +
|
||||
" </script>")
|
||||
List<CommonGBChannel> queryInChannelList(List<CommonGBChannel> channelList);
|
||||
List<Region> queryInChannelList(List<CommonGBChannel> channelList);
|
||||
|
||||
|
||||
@Select(" <script>" +
|
||||
" SELECT " +
|
||||
" * " +
|
||||
" from wvp_common_region " +
|
||||
" where device_id in " +
|
||||
" <foreach collection='regionChannelList' item='item' open='(' separator=',' close=')' > #{item.parentDeviceId}</foreach>" +
|
||||
" </script>")
|
||||
List<Region> queryParentInChannelList(List<Region> regionChannelList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user