Commit 0ab35ad2 authored by libin's avatar libin

行为日志记录

parent 54bae5c0
......@@ -150,11 +150,13 @@ public class CustomerBehaviorNotesBiz extends BaseBiz<CustomerBehaviorNotesMappe
behaviorNoteCollectVo.setU_avg_count(actionAcount.getDefault_u_avg());
behaviorNoteCollectVos.add(behaviorNoteCollectVo);
}
behaviorNoteCollectVos.sort(Comparator.comparing(BehaviorNoteCollectVo::getBehavior));
return behaviorNoteCollectVos;
}
/**
* 获取时间间隔 和 开始与结束时间的处理
*
* @param activityId 活动id
* @param startTime 筛选的开始时间
* @param endTime 筛选的结束时间
......@@ -164,10 +166,10 @@ public class CustomerBehaviorNotesBiz extends BaseBiz<CustomerBehaviorNotesMappe
if (startTime.get() == 0 || endTime.get() == 0) {
ActivityListDTO activityListDTO = activityFeign.findActivityStartTimeAndEndTimeById(activityId);
Instant now = Instant.now();
if (startTime.get() != 0) {
if (startTime.get() != 0 && endTime.get() == 0) {
endTime.set(now.toEpochMilli());
}
if (endTime.get() != 0) {
if (endTime.get() != 0 && startTime.get() == 0) {
startTime.set(activityListDTO.getActivity_startTime());
}
if (startTime.get() == 0 && endTime.get() == 0) {
......
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