Commit f9a62cbc authored by yangyang's avatar yangyang

fixed 列表排序问题

parent bb9b3d59
...@@ -90,6 +90,6 @@ ...@@ -90,6 +90,6 @@
</if> </if>
</where> </where>
ORDER BY ORDER BY
bga.acceptance_rec_date DESC,bga.rec_date desc bga.rec_date DESC,bga.acceptance_rec_date DESC
</select> </select>
</mapper> </mapper>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
ORDER BY hygf_household_contract.rec_date DESC ORDER BY hygf_household_contract.rec_date DESC
</if> </if>
<if test="dto.orderBy != null "> <if test="dto.orderBy != null ">
ORDER BY hygf_household_contract.${orderBy} ${dto.isAsc} ORDER BY hygf_household_contract.rec_date DESC, hygf_household_contract.${orderBy} ${dto.isAsc}
</if> </if>
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment