线索计划开业时间
This commit is contained in:
@@ -99,10 +99,10 @@
|
||||
a.shop_manager_user_id as shopManagerUserId,
|
||||
a.supervisor_user_id as supervisorUserId,
|
||||
a.region_id as regionId,
|
||||
a.plan_open_time as planOpenTime,
|
||||
b.username as username,
|
||||
b.mobile as mobile,
|
||||
b.investment_manager as investmentManager
|
||||
b.investment_manager as investmentManager,
|
||||
DATE_ADD(b.create_time, INTERVAL 50 DAY) as planOpenTime,
|
||||
from xfsg_shop_info a left join xfsg_line_info b on a.line_id = b.id
|
||||
where a.deleted = 0
|
||||
<if test="request.keyword != null and request.keyword != ''">
|
||||
@@ -118,10 +118,10 @@
|
||||
and a.supervisor_user_id = #{request.supervisorUserId}
|
||||
</if>
|
||||
<if test="request.planOpenStartTime != null and request.planOpenStartTime != ''">
|
||||
and a.plan_open_time >= #{request.planOpenStartTime}
|
||||
and DATE_ADD(b.create_time, INTERVAL 50 DAY) >= #{request.planOpenStartTime}
|
||||
</if>
|
||||
<if test="request.planOpenEndTime != null and request.planOpenEndTime != ''">
|
||||
<![CDATA[and a.plan_open_time <= #{request.planOpenEndTime}]]>
|
||||
<![CDATA[and DATE_ADD(b.create_time, INTERVAL 50 DAY) <= #{request.planOpenEndTime}]]>
|
||||
</if>
|
||||
<if test="request.regionIds != null and request.regionIds.size() > 0">
|
||||
and a.region_id in
|
||||
|
||||
Reference in New Issue
Block a user