临期线索
This commit is contained in:
@@ -278,17 +278,18 @@
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
|
||||
<select id="getAdventLineCount" resultType="java.lang.Integer">
|
||||
select count(1) from hy_partner_line_info
|
||||
<select id="getAdventLineCount" resultType="com.cool.store.dto.partner.AdvanceLineDTO">
|
||||
select DATE(deadline) as date ,count(1) as count from hy_partner_line_info
|
||||
<where>
|
||||
<if test="userId!=null and userId!=''">
|
||||
and investment_manager = #{userId}
|
||||
</if>
|
||||
<if test="currentDate!=null and currentDate!=''">
|
||||
and DATE(deadline) = #{currentDate}
|
||||
and DATE(deadline) BETWEEN #{currentDate} and #{endDate}
|
||||
</if>
|
||||
and (workflow_stage = 2 and workflow_status = 0)
|
||||
</where>
|
||||
group by DATE(deadline)
|
||||
</select>
|
||||
|
||||
<select id="selectStagePendingCount" resultType="com.cool.store.dto.partner.StageCountDTO">
|
||||
|
||||
Reference in New Issue
Block a user