|
@@ -14,7 +14,7 @@
|
|
LEFT JOIN equ_lubrication_task_management b ON a.MASTERID = b.id and b.DELETED = 0
|
|
LEFT JOIN equ_lubrication_task_management b ON a.MASTERID = b.id and b.DELETED = 0
|
|
where a.DELETED = 0
|
|
where a.DELETED = 0
|
|
<if test="tenantId != null and tenantId != ''"> and b.TENANTID = #{tenantId}</if>
|
|
<if test="tenantId != null and tenantId != ''"> and b.TENANTID = #{tenantId}</if>
|
|
- ORDER BY b.MODIFYDATE DESC,a.MODIFYDATE DESC
|
|
|
|
|
|
+ ORDER BY b.TASKNUMBER DESC,b.MODIFYDATE DESC,a.MODIFYDATE DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|