最近30天结束线索

This commit is contained in:
苏竹红
2023-06-30 13:47:46 +08:00
parent 638900103a
commit 36dfa25246

View File

@@ -335,14 +335,13 @@
select
<include refid="Base_Column_List"></include>
from hy_partner_line_info
<where>
<if test="userId != null">
and investment_manager = #{userId}
</if>
<if test="lastMonthTodayDate!=null">
and close_time > #{lastMonthTodayDate} and close_time <![CDATA[<]]> now()
</if>
</where>
where deleted = 0 and line_status = 0 and close_time is not null
<if test="userId != null">
and investment_manager = #{userId}
</if>
<if test="lastMonthTodayDate!=null">
and close_time > #{lastMonthTodayDate} and close_time <![CDATA[<]]> now()
</if>
</select>
<update id="updateInvestmentManager">