私海列表查询sql优化
This commit is contained in:
@@ -674,7 +674,7 @@
|
||||
</if>
|
||||
</if>
|
||||
<if test="sortField!=null and sortField != '' and sortField=='allotTime' ">
|
||||
order by hptil.create_time
|
||||
order by hpli.allot_time
|
||||
<if test="sortOrder!=null and sortOrder != '' and sortOrder=='descend' ">
|
||||
desc
|
||||
</if>
|
||||
|
||||
@@ -113,6 +113,7 @@ public class LineHighSeasServiceImpl implements LineHighSeasService {
|
||||
//判断招商经理是否为空
|
||||
if (StringUtil.isNotEmpty(request.getInvestmentManager())) {
|
||||
resultLine.setInvestmentManager(request.getInvestmentManager()).setLineStatus(LineStatusEnum.PRIVATE_SEAS.getCode());
|
||||
resultLine.setAllotTime(new Date());
|
||||
flag = true;
|
||||
} else {
|
||||
//是否分配跟进人
|
||||
@@ -121,6 +122,7 @@ public class LineHighSeasServiceImpl implements LineHighSeasService {
|
||||
//查询跟进人
|
||||
String investmentManager = hyPartnerLineInfoService.getAssignFollowUser(partnerId, "intent");
|
||||
resultLine.setInvestmentManager(investmentManager).setLineStatus(LineStatusEnum.PRIVATE_SEAS.getCode());
|
||||
resultLine.setAllotTime(new Date());
|
||||
} else {
|
||||
//直接放公海
|
||||
resultLine.setLineStatus(LineStatusEnum.PUBLIC_SEAS.getCode());
|
||||
|
||||
Reference in New Issue
Block a user