fix: 智聪记账管理,物价记录bug修复。

This commit is contained in:
tianyongbao
2025-03-21 14:21:45 +08:00
parent 8a07585379
commit 387c7aadbc

View File

@@ -59,8 +59,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="recordTime != null "> and a.record_time = #{recordTime}</if>
<if test="address != null and address != ''"> and a.address = #{address}</if>
<if test="merchant != null and merchant != ''"> and a.merchant = #{merchant}</if>
<if test="kind != null and kind != ''"> and a.kind = #{kind}</if>
<if test="category != null and category != ''"> and a.category = #{category}</if>
<if test="kind != null and kind != ''"> and (a.kind like '%'|| #{kind}||'%' or pi2."name" like '%'|| #{kind}||'%' )</if>
<if test="category != null and category != ''"> and a.category = #{category} </if>
<if test="endTime!=null and endTime !=''">
and #{endTime}>=to_char(a.record_time, 'yyyy-MM-dd')
</if>