1
This commit is contained in:
@@ -82,4 +82,20 @@
|
||||
<delete id="deleteByJobKey">
|
||||
delete from wecom_share_link_logistics_job where job_key = #{jobKey}
|
||||
</delete>
|
||||
|
||||
<select id="selectRecentForInstruction" resultMap="WeComShareLinkLogisticsJobResult">
|
||||
<include refid="selectVo"/>
|
||||
where create_time >= date_sub(now(), interval #{days} day)
|
||||
<if test="remarkKeyword != null and remarkKeyword != ''">
|
||||
and remark like concat('%', #{remarkKeyword}, '%')
|
||||
</if>
|
||||
order by id desc
|
||||
limit #{limit}
|
||||
</select>
|
||||
|
||||
<delete id="deleteByRemarkAndTrackingUrl">
|
||||
delete from wecom_share_link_logistics_job
|
||||
where trim(remark) = trim(#{remark})
|
||||
and trim(tracking_url) = trim(#{trackingUrl})
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user