接口开发 接口补充

This commit is contained in:
苏竹红
2023-06-18 20:45:18 +08:00
parent af47bb4c24
commit fa26330573
29 changed files with 208 additions and 50 deletions

View File

@@ -264,6 +264,7 @@
<select id="selectStagePendingCount" resultType="com.cool.store.dto.partner.StageCountDTO">
select
IFNULL(sum(if(workflow_stage=1 and workflow_status = 1,1,0)),0) as intentApplyApproveCount,
IFNULL(sum(if(workflow_stage=2 and workflow_status = 1,1,0)),0) as reservationInterviewCount,
IFNULL(sum(if(workflow_stage=3 and workflow_status = 3,1,0)),0) as qualifiedInterviewCount
from hy_partner_line_info
<where>
@@ -462,4 +463,12 @@
</where>
</select>
<select id="getLineFollowHistoryList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List"></include>
FROM hy_partner_line_info
where deleted = 1
and partner_id = #{partner_id}
</select>
</mapper>