dingxin 6 years ago
parent
commit
ce2d225a90

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

17
         <where>
17
         <where>
18
             tr.transaction_id=#{transactionId}
18
             tr.transaction_id=#{transactionId}
19
         <if test="reportPhone != null and reportPhone != ''">
19
         <if test="reportPhone != null and reportPhone != ''">
20
-            AND u.login_name like concat('%',#{reportPhone},'%')
20
+            AND uv.login_name like concat('%',#{reportPhone},'%')
21
         </if>
21
         </if>
22
 
22
 
23
         <if test="reportUserNmae != null and reportUserNmae != ''">
23
         <if test="reportUserNmae != null and reportUserNmae != ''">
24
-            AND u.user_name like concat('%',#{reportUserNmae},'%')
24
+            AND uv.user_name like concat('%',#{reportUserNmae},'%')
25
         </if>
25
         </if>
26
         </where>
26
         </where>
27
         GROUP BY tr.id
27
         GROUP BY tr.id