diff --git a/mallinkService/src/main/resources/mapper/KwBoxMapper.xml b/mallinkService/src/main/resources/mapper/KwBoxMapper.xml index 195778ab5..4ad622975 100644 --- a/mallinkService/src/main/resources/mapper/KwBoxMapper.xml +++ b/mallinkService/src/main/resources/mapper/KwBoxMapper.xml @@ -3,7 +3,7 @@ - + diff --git a/mallinkService/src/main/resources/mapper/KwMetersMapper.xml b/mallinkService/src/main/resources/mapper/KwMetersMapper.xml new file mode 100644 index 000000000..e6bcf67e3 --- /dev/null +++ b/mallinkService/src/main/resources/mapper/KwMetersMapper.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + `id`,`tenant_id`,`address`,`brand`,`model`,`place`,`protocol`,`bandrate`,`online`,`config`,`create_time`,`update_time` + + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and `address` like concat('%', #{address},'%') + + + + and `brand` like concat('%', #{brand},'%') + + + + and `place` like concat('%', #{place},'%') + + + + and `model` = #{model} + + + + and `online` = #{online} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + + + +