debug:对账查询错误
This commit is contained in:
parent
42a9850cca
commit
e985a7b8c4
|
@ -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 ">
|
||||
|
|
Loading…
Reference in New Issue
Block a user