|
@@ -169,7 +169,7 @@
|
|
NOT EXISTS (
|
|
NOT EXISTS (
|
|
SELECT 1
|
|
SELECT 1
|
|
FROM merc_msg_info mmi
|
|
FROM merc_msg_info mmi
|
|
- WHERE di.merc_id = mmi.merc_id and mmi.create_time >= #{query.mmiTime} and mmi.type = 1 and mmi.work_type = #{query.workType}
|
|
|
|
|
|
+ WHERE di.merc_id = mmi.merc_id and mmi.create_time >= #{query.mmiTime} and mmi.type = 2 and mmi.work_type = #{query.workType}
|
|
)
|
|
)
|
|
<if test="query.begin != null">
|
|
<if test="query.begin != null">
|
|
and dsim.timeout >= #{query.begin}
|
|
and dsim.timeout >= #{query.begin}
|