Commit 2df27667 by yao.xiao

修改-经纪人-查看自己销售活动量分值详情增加分值出参

parent 8f018c1f
......@@ -8,4 +8,5 @@ public class SalesScoreDetail {
private Long dropOptionsId;
private String dropOptionsName;
private Long number;
private Long score;
}
......@@ -346,11 +346,13 @@
<id column="dropOptionsId" jdbcType="BIGINT" property="dropOptionsId" />
<result column="dropOptionsName" jdbcType="BIGINT" property="dropOptionsName" />
<result column="number" jdbcType="BIGINT" property="number" />
<result column="score" jdbcType="BIGINT" property="score" />
</resultMap>
<select id="getSalesScoreDetailByPractitionerId" resultMap="SalesScoreDetailMap">
select o.id dropOptionsId,
o.drop_option_name dropOptionsName,
count(t.id) number
count(t.id) number ,
o.drop_option_score score
from ag_mkt_leads_assigned_track t
left join ag_md_drop_options o on o.id = t.md_drop_option_id
where t.practitioner_id = #{practitionerId,jdbcType=BIGINT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment