多次转让不再修改日程
This commit is contained in:
@@ -244,4 +244,10 @@ public interface HyPartnerLineInfoMapper {
|
||||
*/
|
||||
List<HyPartnerLineInfoDO> getHyPartnerLineInfoList(@Param("lineIds") List<Long> lineIds,String investmentManager);
|
||||
|
||||
/**
|
||||
* 获取线索转让次数
|
||||
* @param partnerLineId 线索 id
|
||||
* @return 线索转让次数
|
||||
*/
|
||||
Integer getTransferTimes(@Param("lineId") Long partnerLineId);
|
||||
}
|
||||
@@ -736,4 +736,13 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<!-- 获取线索转让次数 -->
|
||||
<select id="getTransferTimes" resultType="java.lang.Integer">
|
||||
select count(*)
|
||||
from hy_partner_task_info_log
|
||||
where operate_type = 'entrust_others'
|
||||
and partner_line_id = #{lineId}
|
||||
-- and deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user