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
    FROM
14
    FROM
15
       tp_announcement
15
       tp_announcement
16
       <where>
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
         </if>
19
         </if>
20
         <if test="record.announcementTitle != null and record.announcementTitle != ''" >
20
         <if test="record.announcementTitle != null and record.announcementTitle != ''" >
21
           AND announcement_title like concat('%',#{record.announcementTitle,jdbcType=VARCHAR},'%')
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
     return {
66
     return {
67
       listQuery: {
67
       listQuery: {
68
         id: '',
68
         id: '',
69
+        announcementNumber: '',
69
         number: '',
70
         number: '',
70
         announcementTitle: '',
71
         announcementTitle: '',
71
         viewCount: '',
72
         viewCount: '',