diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
deleted file mode 100644
index e2448be..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
deleted file mode 100644
index e2448be..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
deleted file mode 100644
index 61a55ec..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
deleted file mode 100644
index e2448be..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
deleted file mode 100644
index 61a55ec..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
deleted file mode 100644
index 26f3cb3..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
deleted file mode 100644
index e2448be..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
deleted file mode 100644
index 61a55ec..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
deleted file mode 100644
index 26f3cb3..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml
deleted file mode 100644
index 415a670..0000000
--- a/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
-
-
-
-
-
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
new file mode 100644
index 0000000..bd2c2cc
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmConfigMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
new file mode 100644
index 0000000..4aee44a
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/AlarmDataMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
new file mode 100644
index 0000000..b4965d6
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/BusConfigMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
new file mode 100644
index 0000000..083b289
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceDataMapper.xml
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
new file mode 100644
index 0000000..2e07287
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceGroupMapper.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${paramStr}
+
+
+
+ TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
+
+
+
+ TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
+
+
+
+
+ id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
new file mode 100644
index 0000000..2c99706
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
new file mode 100644
index 0000000..a5bf5e7
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceUpgradeTaskMapper.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, version_id, device_id, status, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
new file mode 100644
index 0000000..e39ec1f
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/DeviceVersionMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
new file mode 100644
index 0000000..e2448be
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductConfigItemMapper.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
new file mode 100644
index 0000000..61a55ec
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductDataItemMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
new file mode 100644
index 0000000..26f3cb3
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/ProductInfoMapper.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
new file mode 100644
index 0000000..415a670
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/SubscribeStoreMapper.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
+
+
+
+
+
diff --git a/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
new file mode 100644
index 0000000..880f7d4
--- /dev/null
+++ b/casic-iot-dao/src/main/resources/mapper/common/SysCommonMapper.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
deleted file mode 100644
index bd2c2cc..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmConfigMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, name, product_id, alarm_content, period_high, period_low, TypeName, CreatorId, creater_user_id, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml b/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
deleted file mode 100644
index 4aee44a..0000000
--- a/casic-iot-dao/src/resource/mapper/AlarmDataMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, alarm_type, alarm_content, devcode, alarm_time, alarm_value, status, CreatorName, create_time
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml b/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
deleted file mode 100644
index b4965d6..0000000
--- a/casic-iot-dao/src/resource/mapper/BusConfigMapper.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, Pid, devcode, config_json, status, update_time, create_time, create_user_id
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
deleted file mode 100644
index 083b289..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceDataMapper.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, devcode, device_type, cell, data_json, decrypt_before_data, decrypt_after_data, uptime, logtime
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
deleted file mode 100644
index 2e07287..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceGroupMapper.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${paramStr}
-
-
-
- TO_TIMESTAMP(${paramStr},'yyyy-MM-dd hh24:mi:ss')::timestamp without time zone
-
-
-
- TO_DATE(${paramStr},'yyyy-mm-dd hh24:mi')
-
-
-
-
- id, name, owner, subcribe_ids, descn, dept, create_time, create_user_id
-
-
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
deleted file mode 100644
index 2c99706..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceMapper.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, devcode, device_type, unit, name, product_id, status, imei, create_time, create_user_id
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
deleted file mode 100644
index a5bf5e7..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceUpgradeTaskMapper.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, version_id, device_id, status, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml b/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
deleted file mode 100644
index e39ec1f..0000000
--- a/casic-iot-dao/src/resource/mapper/DeviceVersionMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, product_id, version_file, version, owner, dscn, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
deleted file mode 100644
index e2448be..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductConfigItemMapper.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, product_id, param_name, param_code, param_type, regular_expression, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml b/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
deleted file mode 100644
index 61a55ec..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductDataItemMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, data_item_name, product_id, data_item_type, data_item_field, create_time, create_user_id
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml b/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
deleted file mode 100644
index 26f3cb3..0000000
--- a/casic-iot-dao/src/resource/mapper/ProductInfoMapper.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Id, name, access_type, encipher_type, protocol_type, model, descn, product_type, owners, CreatorName, create_time, create_user_id
-
-
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml b/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml
deleted file mode 100644
index 415a670..0000000
--- a/casic-iot-dao/src/resource/mapper/SubscribeStoreMapper.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- id, message_type, subscribe_type, enable, subscribe_status, subscribe_content_json, descn, create_time, create_user_name
-
-
-
-
-
diff --git a/casic-iot-dao/src/resource/mapper/common/SysCommonMapper.xml b/casic-iot-dao/src/resource/mapper/common/SysCommonMapper.xml
deleted file mode 100644
index 880f7d4..0000000
--- a/casic-iot-dao/src/resource/mapper/common/SysCommonMapper.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-