多次转让不再修改日程

This commit is contained in:
feng.li
2023-09-13 16:41:29 +08:00
parent 60ed31a313
commit 49f9769995
4 changed files with 20 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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>