代码提交
This commit is contained in:
parent
e78a42de1f
commit
e58a0cebd3
|
|
@ -49,6 +49,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
) mtm ON mt3.parent_id = mtm.type_id
|
||||
WHERE
|
||||
1=1
|
||||
<if test="externalId != null and externalId != '' ">
|
||||
and bp.external_id = #{externalId}
|
||||
</if>
|
||||
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
||||
and bai.create_time BETWEEN CONCAT(#{startTime}, ' 00:00:00') AND CONCAT(#{endTime}, ' 23:59:59')
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue