傅行帆 6 vuotta sitten
vanhempi
commit
7e164e0e82

+ 2
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpTransactionMapper.xml Näytä tiedosto

@@ -255,6 +255,7 @@
255 255
         WHERE
256 256
           t.community_id=#{communityId,jdbcType=INTEGER}
257 257
         AND t.uuid = #{id} and t.uuid_type = 'app'
258
+        AND t.`status` = 1
258 259
         <if test="type != null and type != ''">
259 260
             and t.type = #{type,jdbcType=INTEGER}
260 261
         </if>
@@ -312,7 +313,7 @@
312 313
         WHERE
313 314
           t.community_id=#{communityId,jdbcType=INTEGER}
314 315
         AND t.uuid = #{id} and t.uuid_type = 'app'
315
-        )
316
+        ) and `status` = 1
316 317
         ORDER BY
317 318
         create_date DESC
318 319
     </select>