From 94ff4c16cbc91475dc2dae36b0a83dd7869b9f6c Mon Sep 17 00:00:00 2001 From: gongbiao Date: Tue, 4 Jun 2019 10:32:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=99=BA=E8=83=BD=E7=94=B5=E8=A1=A8][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E7=94=B5=E8=A1=A8=E5=85=B3=E8=81=94?= =?UTF-8?q?=E7=AD=89mapper.xml]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/KwBoxCmdHistoryMapper.xml | 48 ++++++++++++++++++ .../resources/mapper/KwBoxMeterMapper.xml | 50 +++++++++++++++++++ .../mapper/KwMerchantMeterMapper.xml | 50 +++++++++++++++++++ .../resources/mapper/KwMeterDataMapper.xml | 48 ++++++++++++++++++ 4 files changed, 196 insertions(+) create mode 100644 mallinkService/src/main/resources/mapper/KwBoxCmdHistoryMapper.xml create mode 100644 mallinkService/src/main/resources/mapper/KwBoxMeterMapper.xml create mode 100644 mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml create mode 100644 mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml diff --git a/mallinkService/src/main/resources/mapper/KwBoxCmdHistoryMapper.xml b/mallinkService/src/main/resources/mapper/KwBoxCmdHistoryMapper.xml new file mode 100644 index 000000000..08f55811c --- /dev/null +++ b/mallinkService/src/main/resources/mapper/KwBoxCmdHistoryMapper.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + `id`,`tenant_id`,`imei`,`iccid`,`cmd`,`info`,`device_time`,`create_time`,`update_time` + + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + + + + diff --git a/mallinkService/src/main/resources/mapper/KwBoxMeterMapper.xml b/mallinkService/src/main/resources/mapper/KwBoxMeterMapper.xml new file mode 100644 index 000000000..27412f3c0 --- /dev/null +++ b/mallinkService/src/main/resources/mapper/KwBoxMeterMapper.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + `id`,`tenant_id`,`meter_id`,`box_id`,`status`,`create_time`,`update_time` + + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and `status` = #{status} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + + + + diff --git a/mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml b/mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml new file mode 100644 index 000000000..7f929b68f --- /dev/null +++ b/mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + `id`,`tenant_id`,`meter_id`,`merchant_id`,`status`,`create_time`,`update_time` + + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and `status` = #{status} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + + + + diff --git a/mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml b/mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml new file mode 100644 index 000000000..fff673c0c --- /dev/null +++ b/mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + `id`,`tenant_id`,`meter_id`,`box_id`,`address`,`result`,`device_time`,`create_time`,`update_time` + + + + where 1 = 1 + + + and `id` = #{id} + + + + and `tenant_id` = #{tenantId} + + + + and id in + + #{idItem} + + + order by ${sortColumns} + + + + + +