|
|
|
@ -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 |
|
|
|
|