debug:对账查询错误

This commit is contained in:
磷叶 2025-01-29 18:38:56 +08:00
parent 42a9850cca
commit e985a7b8c4

View File

@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="searchCondition">
<if test="query.id != null "> and sbr.id = #{query.id}</if>
<if test="query.bonusId != null "> and sbr.bonus_id = #{query.bonusId}</if>
<if test="query.createDate != null "> and date(sb.create_time) = #{query.createDate}</if>
<if test="query.createDate != null "> and date(sbr.create_time) = #{query.createDate}</if>
<if test="query.bonusArrivalType != null and query.bonusArrivalType != '' "> and sb.arrival_type = #{query.bonusArrivalType}</if>
<if test="query.bonusArrivalName != null and query.bonusArrivalName != '' "> and sb.arrival_name like concat('%', #{query.bonusArrivalName}, '%')</if>
<if test="query.bonusArrivalTypes != null ">