自动逻辑修改

This commit is contained in:
2024-12-19 17:57:01 +08:00
parent eaf16c48c4
commit bf5fdeb95c
6 changed files with 26 additions and 16 deletions

View File

@@ -37,6 +37,7 @@
and is_buy = #{isBuy}
</if>
<if test="type!=null">and so.type = #{type} </if>
<if test="faceId!=null">and FIND_IN_SET(so.face_sample_id, (select face.match_sample_ids from face where id = #{faceId})) </if>
<if test="startTime!= null">and so.create_time &gt;= #{startTime} </if>
<if test="endTime!= null">and so.create_time &lt;= #{endTime} </if>
</where>