铭牌失败补偿
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
AND t.customer_flow_id=tnc.customer_flow_id
|
AND t.customer_flow_id=tnc.customer_flow_id
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="customerFlowIds!=null and customerFlowIds!=''">
|
<if test="customerFlowIds!=null and !customerFlowIds.isEmpty()">
|
||||||
AND tnc.customer_flow_id IN
|
AND tnc.customer_flow_id IN
|
||||||
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
|
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
|
||||||
#{customerFlowId}
|
#{customerFlowId}
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
AND t.customer_flow_id=tnc.customer_flow_id
|
AND t.customer_flow_id=tnc.customer_flow_id
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="customerFlowIds!=null and customerFlowIds!=''">
|
<if test="customerFlowIds!=null and !customerFlowIds.isEmpty()">
|
||||||
AND tnc.customer_flow_id IN
|
AND tnc.customer_flow_id IN
|
||||||
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
|
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
|
||||||
#{customerFlowId}
|
#{customerFlowId}
|
||||||
@@ -100,4 +100,25 @@
|
|||||||
LIMIT #{offset}, #{pageSize}
|
LIMIT #{offset}, #{pageSize}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
<select id="queryTmNameplateCorpusByCustomerFlowIds" resultType="com.volvo.ai.analytic.center.entity.TmNameplateCorpus">
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
id,
|
||||||
|
customer_flow_id,
|
||||||
|
nameplate_content,
|
||||||
|
nameplate_start_time,
|
||||||
|
nameplate_end_time,
|
||||||
|
nameplate_time,
|
||||||
|
is_deleted,
|
||||||
|
create_time
|
||||||
|
FROM
|
||||||
|
`tm_nameplate_corpus` tnc
|
||||||
|
WHERE tnc.is_deleted = 0
|
||||||
|
AND tnc.customer_flow_id IN
|
||||||
|
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
|
||||||
|
#{customerFlowId}
|
||||||
|
</foreach>
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user