Browse Source

no message

dingxin 6 years ago
parent
commit
b15a052232

+ 2
- 2
CODE/smart-community/property-api/src/main/resources/mapper/TpAnnouncementMapper.xml View File

@@ -14,8 +14,8 @@
14 14
    FROM
15 15
       tp_announcement
16 16
       <where>
17
-        <if test="record.id != null and record.id != ''" >
18
-          AND id like concat('%',#{record.id,jdbcType=INTEGER},'%')
17
+        <if test="record.id != null" >
18
+          AND id like concat('%',#{record.id,jdbcType=VARCHAR},'%')
19 19
         </if>
20 20
         <if test="record.announcementTitle != null and record.announcementTitle != ''" >
21 21
           AND announcement_title like concat('%',#{record.announcementTitle,jdbcType=VARCHAR},'%')

+ 1
- 0
VUECODE/smart-property-manage/src/views/social/announcement/index.vue View File

@@ -66,6 +66,7 @@ export default {
66 66
     return {
67 67
       listQuery: {
68 68
         id: '',
69
+        announcementNumber: '',
69 70
         number: '',
70 71
         announcementTitle: '',
71 72
         viewCount: '',