添加日志
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package com.cool.store.dao;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.cool.store.dto.log.LineLogInfo;
|
||||
import com.cool.store.entity.HyPartnerTaskInfoLogDO;
|
||||
import com.cool.store.enums.OperateTypeEnum;
|
||||
import com.cool.store.mapper.HyPartnerTaskInfoLogMapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -14,6 +16,7 @@ import javax.annotation.Resource;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Repository
|
||||
@Slf4j
|
||||
public class HyPartnerTaskInfoLogDAO {
|
||||
|
||||
|
||||
@@ -38,6 +41,7 @@ public class HyPartnerTaskInfoLogDAO {
|
||||
return;
|
||||
}
|
||||
HyPartnerTaskInfoLogDO logInfo = LineLogInfo.convertDO(lineLogInfo);
|
||||
log.info("logInfo:{}", JSONObject.toJSON(lineLogInfo));
|
||||
insertSelective(logInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -312,6 +312,7 @@
|
||||
left join hy_partner_interview a on hpli.id = a.partner_line_id
|
||||
left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||
<where>
|
||||
and hpli.deleted = 0 and b.deleted = 0
|
||||
<if test="workflowStage!=null and workflowStage!=''">
|
||||
and hpli.workflow_stage = #{workflowStage}
|
||||
</if>
|
||||
|
||||
@@ -462,14 +462,15 @@
|
||||
hpuinfo.shop_name as storeName,
|
||||
hpuinfo.recommend_partner_name as recommendPartnerName,
|
||||
eu.name as investmentManagerName,
|
||||
hpip.id as interviewPlanId
|
||||
hpip.id as interviewPlanId,
|
||||
hpip.start_time as startTime
|
||||
FROM
|
||||
hy_partner_line_info hpli
|
||||
LEFT JOIN hy_partner_intent_info hpii ON hpli.id = hpii.partner_line_id
|
||||
LEFT JOIN hy_partner_user_info hpuinfo ON hpli.partner_id = hpuinfo.partner_id
|
||||
LEFT JOIN enterprise_user eu ON hpli.investment_manager = eu.user_id
|
||||
LEFT JOIN hy_partner_interview_plan hpip on hpli.id = hpip.partner_line_id
|
||||
WHERE line_status in (1,2)
|
||||
WHERE hpli.line_status in (1,2) and hpli.deleted = 0
|
||||
<if test="keyword!=null and keyword!='' and keywordType!=null and keywordType=='name'">
|
||||
AND (eu.name like concat('%',#{keyword},'%') or hpuinfo.username like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user