Merge remote-tracking branch 'origin/cc_partner_init' into cc_partner_init

This commit is contained in:
zhangchenbiao
2024-04-10 10:48:08 +08:00
8 changed files with 32 additions and 2 deletions

View File

@@ -37,4 +37,8 @@ public class LineAuditInfoDAO {
return lineAuditInfoMapper.getLineAuditInfoList(auditIds);
}
public LineAuditInfoDO getAuditInfoByLineId(Long lineId){
return lineAuditInfoMapper.getLineAuditInfo(lineId);
}
}

View File

@@ -16,5 +16,12 @@ public interface LineAuditInfoMapper extends Mapper<LineAuditInfoDO> {
*/
List<LineAuditInfoDO> getLineAuditInfoList(@Param("ids") List<Long> ids);
/**
* 结束跟进记录
* @param lineId
* @return
*/
LineAuditInfoDO getLineAuditInfo(@Param("lineId") Long lineId);
}

View File

@@ -28,4 +28,10 @@
</if>
</where>
</select>
<select id="getLineAuditInfo" resultMap="BaseResultMap">
select * from
xfsg_line_audit_info
where line_id = #{lineId} and result_type = 2 order by id desc limit 1
</select>
</mapper>

View File

@@ -403,6 +403,9 @@
<if test="userId != null and userId != ''">
and a.investment_manager = #{userId}
</if>
<if test="request.joinStatus != null">
and a.join_status = #{request.joinStatus}
</if>
<if test="request.keyword != null and request.keyword!=''">
and (a.username like #{request.keyword} or a.mobile like #{request.keyword})
</if>