bug修复
This commit is contained in:
@@ -66,7 +66,7 @@ public class CoolDateUtils {
|
||||
LocalDate today = LocalDate.now();
|
||||
LocalDate thirdDay = today.plusDays(day);
|
||||
LocalDateTime thirdDayMidnight = LocalDateTime.of(thirdDay, LocalTime.MIDNIGHT);
|
||||
LocalDateTime thirdDay235959 = thirdDayMidnight.with(LocalTime.MAX);
|
||||
LocalDateTime thirdDay235959 = thirdDayMidnight.with(LocalTime.MIN);
|
||||
ZonedDateTime zonedDateTime = ZonedDateTime.of(thirdDay235959, ZoneId.systemDefault());
|
||||
return Date.from(zonedDateTime.toInstant());
|
||||
}
|
||||
|
||||
@@ -315,7 +315,7 @@
|
||||
b.interviewer as interviewer,
|
||||
b.create_time as createTime,
|
||||
b.room_id as roomId
|
||||
from hy_partner_interview a inner join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||
from hy_partner_interview a left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||
<where>
|
||||
<if test="userId!=null and userId!=''">
|
||||
and a.interviewer = #{userId}
|
||||
|
||||
@@ -265,7 +265,7 @@
|
||||
select
|
||||
IFNULL(sum(if(workflow_stage=1 and workflow_status = 1,1,0)),0) as intentApplyApproveCount,
|
||||
IFNULL(sum(if(workflow_stage=2 and workflow_status = 1,1,0)),0) as reservationInterviewCount,
|
||||
IFNULL(sum(if(workflow_stage=3 and workflow_status = 3,1,0)),0) as qualifiedInterviewCount
|
||||
IFNULL(sum(if(workflow_stage=3 and workflow_status = 4,1,0)),0) as qualifiedInterviewCount
|
||||
from hy_partner_line_info
|
||||
<where>
|
||||
<if test="userId!=null and userId!=''">
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
<select id="selectStageFollowCount" resultType="com.cool.store.dto.partner.StageCountDTO">
|
||||
select
|
||||
IFNULL(sum(if(workflow_stage=1 and workflow_status = 1,1,0)),0) as intentApplyApproveCount,
|
||||
IFNULL(sum(if(workflow_stage=1 and workflow_status = 0,1,0)),0) as intentApplyApproveCount,
|
||||
IFNULL(sum(if(workflow_stage=2 and workflow_status = 0,1,0)),0) as reservationInterviewCount,
|
||||
IFNULL(sum(if(workflow_stage=3 and workflow_status = 4,1,0)),0) as qualifiedInterviewCount
|
||||
from hy_partner_line_info
|
||||
|
||||
Reference in New Issue
Block a user