update 标准预警多日期顺序排序

This commit is contained in:
liao
2023-11-10 09:29:23 +08:00
parent 026dcbc317
commit 87d871b629
3 changed files with 14 additions and 8 deletions
@@ -108,6 +108,12 @@
</foreach>
</if>
ORDER BY
dataInfo.implementation_date DESC
dataInfo.implementation_date DESC,
<if test="param.newModelImplementationDate != null and param.newModelImplementationDate != ''">
dataInfo.new_model_implementation_date ASC
</if>
<if test="param.onTheProductionDate != null and param.onTheProductionDate != ''">
dataInfo.on_the_production_date ASC
</if>
</select>
</mapper>