记得上下班打卡 | git大法好,push需谨慎

Commit 5bdcfbdb authored by jiangxiulong's avatar jiangxiulong

编辑时间判断排除自己

parent 8c636cab
......@@ -17,7 +17,7 @@
<select id="validateTime" parameterType="com.liquidnet.service.kylin.entity.KylinRecommendActive" resultType="int">
select count(1) from kylin_recommend_active
where (#{startTime} BETWEEN start_time and end_time
or #{endTime} BETWEEN start_time and end_time) and active_type=#{activeType} and active_bind_id=#{activeBindId}
or #{endTime} BETWEEN start_time and end_time) and active_type=#{activeType} and active_bind_id=#{activeBindId} and mid != #{mid}
</select>
<select id="getBybindId" resultMap="BaseResultMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment