傅行帆 преди 6 години
родител
ревизия
bd948694f5

+ 1
- 1
CODE/smart-community/property-api/src/main/resources/mapper/TpTransactionMapper.xml Целия файл

@@ -19,7 +19,7 @@
19 19
         WHERE
20 20
             1 = 1
21 21
             AND t.community_id = #{tpTransaction.communityId}
22
-        <if test="tpTransaction.id != null and tpTransaction.id != ''">
22
+        <if test="tpTransaction.id != null and tpTransaction.id != '' or tpTransaction.id ==0">
23 23
             and t.id like concat('%',#{tpTransaction.id},'%')
24 24
         </if>
25 25
         <if test="tpTransaction.transactionTitle != null and tpTransaction.transactionTitle != ''">

+ 1
- 1
VUECODE/smart-property-manage/src/views/social/transaction/index.vue Целия файл

@@ -11,8 +11,8 @@
11 11
         <el-option label="无举报" value="0"/>
12 12
         <el-option label="被举报" value="1"/>
13 13
       </el-select>
14
-      <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">查询</el-button>
15 14
       <el-button v-waves class="filter-item" type="info" icon="el-icon-warning" @click="clearListQuery">清空</el-button>
15
+      <el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">查询</el-button>
16 16
     </div>
17 17
 
18 18
     <el-table