fix: 修改记账交易记录查询条件。

This commit is contained in:
tianyongbao
2024-06-07 09:18:53 +08:00
parent 91597fa4fc
commit 8faf218192
4 changed files with 1 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectAccountsDealRecordVo"/>
<where>
a.del_flag='0'
<if test="name != null and name != ''"> and a.name like '%'|| #{name}||'%'</if>
<if test="name != null and name != ''"> and (a2."name" like '%'|| #{name}||'%' or a2."code" like '%'|| #{name}||'%')</if>
<if test="type != null and type != ''"> and a.type = #{type}</if>
<if test="accountId != null and accountId != ''"> and a.account_id = #{accountId}</if>
<if test="dealType != null and dealType != ''"> and a.deal_type = #{dealType}</if>

Binary file not shown.

Binary file not shown.

Binary file not shown.