Browse Source

列表绿灯的查了两遍

feature/dangjian
sunyuchao 3 years ago
parent
commit
47c1fd9a2d
  1. 5
      esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

5
esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

@ -2703,12 +2703,11 @@
process.handleId is not null process.handleId is not null
or getworkminute(i.created_time, now()) <![CDATA[ <= ]]> 360 or getworkminute(i.created_time, now()) <![CDATA[ <= ]]> 360
) )
<!-- 吹到网格化或者是没吹的但是没超6小时的算绿的,有的吹到了网格化也没超6小时就查了两遍 所以要分一下组 -->
group by i.id
</when> </when>
<otherwise></otherwise> <otherwise></otherwise>
</choose> </choose>
<if test="evaluationScore != null and evaluationScore != ''">
AND i.evaluation_score = #{evaluationScore}
</if>
order by i.created_time DESC order by i.created_time DESC
</select> </select>

Loading…
Cancel
Save