Browse Source

修改sql

peiguo 3 years ago
parent
commit
d3c7dd19c8

+ 1 - 1
admin-ui/app/whepi/lingyun/lingyunUser.js

@@ -101,7 +101,7 @@ define(function (require) {
             xtype: 'textbox',
             label: '检索条件',
             name: 'queryProperties',
-            prompt: "用户名称/电话号码",
+            prompt: "工号/用户名称/电话号码",
             labelWidth: 'auto',
             events: {keydown: enterQueryGrid1}, width: 200
           },

+ 1 - 1
admin-ui/app/whepi/lingyun/lingyunUser2.js

@@ -100,7 +100,7 @@ define(function (require) {
             xtype: 'textbox',
             label: '检索条件',
             name: 'queryProperties',
-            prompt: "用户名称/电话号码",
+            prompt: "工号/用户名称/电话号码",
             labelWidth: 'auto',
             events: {keydown: enterQueryGrid1}, width: 350
           },

+ 1 - 1
admin-ui/app/whepi/lingyun/lingyunUser7.js

@@ -101,7 +101,7 @@ define(function (require) {
             xtype: 'textbox',
             label: '检索条件',
             name: 'queryProperties',
-            prompt: "用户名称/电话号码",
+            prompt: "工号/用户名称/电话号码",
             labelWidth: 'auto',
             events: {keydown: enterQueryGrid1}, width: 200
           },

+ 2 - 1
whepi-web/src/main/resources/mapper/RbMapper.xml

@@ -190,7 +190,8 @@
             </if>
             <if test="queryProperties != null and queryProperties != ''">
                 and (suho.linkman like concat('%',#{queryProperties},'%')
-                or suho.phone like concat('%',#{queryProperties},'%'))
+                or suho.phone like concat('%',#{queryProperties},'%')
+                or suh.doorplate like concat('%',#{queryProperties},'%'))
             </if>
             <if test="departmentId != null and departmentId != ''">
                 and suh.department_id = #{departmentId}