傅行帆 6 年前
父节点
当前提交
7e164e0e82
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      CODE/smart-community/app-api/src/main/resources/mapper/TpTransactionMapper.xml

+ 2
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpTransactionMapper.xml 查看文件

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