diff --git a/src/main/resources/mybatis/mapper/dataMinute/dataMinute-mapper.xml b/src/main/resources/mybatis/mapper/dataMinute/dataMinute-mapper.xml index bbaf67a..d977b21 100644 --- a/src/main/resources/mybatis/mapper/dataMinute/dataMinute-mapper.xml +++ b/src/main/resources/mybatis/mapper/dataMinute/dataMinute-mapper.xml @@ -70,7 +70,7 @@ - INSERT INTO pollute_data_minute( + INSERT INTO pollute_data_minute ( data_id, collector_sn, enterprise_id, diff --git a/src/main/resources/mybatis/mapper/poll/poll-mapper.xml b/src/main/resources/mybatis/mapper/poll/poll-mapper.xml index 4fa5bf5..623e6ad 100644 --- a/src/main/resources/mybatis/mapper/poll/poll-mapper.xml +++ b/src/main/resources/mybatis/mapper/poll/poll-mapper.xml @@ -190,9 +190,16 @@ 1 = 1 AND ( - - t1.id LIKE CONCAT('%', #{keywords}, '%') - ) + t1.poll_no LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_no_old LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_name LIKE CONCAT('%', #{keywords}, '%') + ) + + + AND + poll_type = #{pollType} AND @@ -220,10 +227,17 @@ 1 = 1 AND ( - - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.poll_no LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_no_old LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_name LIKE CONCAT('%', #{keywords}, '%') ) + + AND + poll_type = #{pollType} + AND t1.poll_id IN @@ -250,9 +264,16 @@ 1 = 1 AND ( - - t1.id LIKE CONCAT('%', #{keywords}, '%') - ) + t1.poll_no LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_no_old LIKE CONCAT('%', #{keywords}, '%') + OR + t1.poll_name LIKE CONCAT('%', #{keywords}, '%') + ) + + + AND + poll_type = #{pollType} AND diff --git a/src/main/resources/templates/collector/list.html b/src/main/resources/templates/collector/list.html index 5d0dee5..6ecca00 100644 --- a/src/main/resources/templates/collector/list.html +++ b/src/main/resources/templates/collector/list.html @@ -86,15 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'collectorId', width: 180, title: '', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'collectorMn', width: 180, title: '设备编号', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/templates/enterprise/list.html b/src/main/resources/templates/enterprise/list.html index ae678ef..dba0b8d 100644 --- a/src/main/resources/templates/enterprise/list.html +++ b/src/main/resources/templates/enterprise/list.html @@ -86,15 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'enterpriseId', width: 180, title: '', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'enterpriseName', width: 180, title: '名称', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/templates/instrument/list.html b/src/main/resources/templates/instrument/list.html index bfd4cfe..f877703 100644 --- a/src/main/resources/templates/instrument/list.html +++ b/src/main/resources/templates/instrument/list.html @@ -86,15 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'instrumentId', width: 180, title: '', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'instrumentMn', width: 180, title: '设备编号', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/templates/poll/list.html b/src/main/resources/templates/poll/list.html index ce21357..f7b7535 100644 --- a/src/main/resources/templates/poll/list.html +++ b/src/main/resources/templates/poll/list.html @@ -9,6 +9,9 @@ +
@@ -16,15 +19,18 @@
-
+
- -
-
- +