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

Commit 8e61b88f authored by zhengfuxin's avatar zhengfuxin

修改bug

parent 0529fb3e
...@@ -17,7 +17,10 @@ ...@@ -17,7 +17,10 @@
<select id="validateTime" parameterType="com.liquidnet.service.kylin.entity.KylinRecommendActive" resultType="int"> <select id="validateTime" parameterType="com.liquidnet.service.kylin.entity.KylinRecommendActive" resultType="int">
select count(1) from kylin_recommend_active select count(1) from kylin_recommend_active
where (#{startTime} BETWEEN start_time and end_time 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} and recommend_id != #{recommendId} or #{endTime} BETWEEN start_time and end_time) and active_type=#{activeType} and active_bind_id=#{activeBindId}
<if test="kylinRecommendActive.recommendId !=null">
and recommend_id != #{recommendId}
</if>
</select> </select>
<select id="getBybindId" resultMap="BaseResultMap"> <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