铭牌失败补偿

This commit is contained in:
zren25
2025-04-25 15:57:22 +08:00
parent 1e3aa4b76c
commit 96c75d3444

View File

@@ -60,7 +60,7 @@
AND t.customer_flow_id=tnc.customer_flow_id
)
</if>
<if test="customerFlowIds!=null and customerFlowIds!=''">
<if test="customerFlowIds!=null and !customerFlowIds.isEmpty()">
AND tnc.customer_flow_id IN
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
#{customerFlowId}
@@ -91,7 +91,7 @@
AND t.customer_flow_id=tnc.customer_flow_id
)
</if>
<if test="customerFlowIds!=null and customerFlowIds!=''">
<if test="customerFlowIds!=null and !customerFlowIds.isEmpty()">
AND tnc.customer_flow_id IN
<foreach collection="customerFlowIds" item="customerFlowId" open="(" separator="," close=")">
#{customerFlowId}
@@ -100,4 +100,25 @@
LIMIT #{offset}, #{pageSize}
</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>