This commit is contained in:
van
2026-04-06 11:36:57 +08:00
parent 0838d16652
commit 49c855ff78
2 changed files with 30 additions and 2 deletions

View File

@@ -85,6 +85,13 @@
<if test="params.hasRebateRemark != null and params.hasRebateRemark == true">
and rebate_remark_json is not null and char_length(trim(rebate_remark_json)) &gt; 2
</if>
<if test="params.rebateWithoutUploadLink != null and params.rebateWithoutUploadLink == true">
and (
rebate_remark_json is null
or char_length(trim(rebate_remark_json)) &lt;= 2
or rebate_remark_json not like '%"uploadRecordId"%'
)
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
and date(order_time) &gt;= #{params.beginTime}
</if>
@@ -126,6 +133,13 @@
<if test="params.hasRebateRemark != null and params.hasRebateRemark == true">
and rebate_remark_json is not null and char_length(trim(rebate_remark_json)) &gt; 2
</if>
<if test="params.rebateWithoutUploadLink != null and params.rebateWithoutUploadLink == true">
and (
rebate_remark_json is null
or char_length(trim(rebate_remark_json)) &lt;= 2
or rebate_remark_json not like '%"uploadRecordId"%'
)
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
and date(order_time) &gt;= #{params.beginTime}
</if>