Browse Source

已开通网格列表sql修改

dev
yujintao 6 years ago
parent
commit
76a297e781
  1. 11
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml

11
esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/UserAnalysisDao.xml

@ -354,15 +354,10 @@
WHERE
ad.type_key = 'grid_party'
AND ad.del_flag = 0
AND ama.ID IS
<if test='category != null and category == "0"'>NOT</if>
NULL
AND ama.ID IS <if test='category != null and category == "1"'>NOT</if> NULL
<if test="gridId != null and grid != ''">and (ad1.id = #{gridId} or ad2.id = #{gridId})</if>
GROUP BY
ad.id
ORDER BY
ama.CREATED_TIME DESC,
ad.create_date DESC
GROUP BY ad.id
ORDER BY ama.CREATED_TIME DESC, ad.create_date DESC
</select>
<select id="selectListReigistData" resultType="com.elink.esua.epdc.dto.user.result.GridOpeningResultDTO">
SELECT

Loading…
Cancel
Save