|
@@ -39,11 +39,11 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="getLast" resultMap="mileagexyResultMap">
|
|
|
- select * from t_om_mileagexy where partId = #{partId} and project_id =#{projectId}
|
|
|
+ select * from t_om_mileagexy where part_id = #{partId} and project_id =#{projectId}
|
|
|
<if test="orderNum!=null and orderNum != ''">
|
|
|
and order_num = #{orderNum}
|
|
|
</if>
|
|
|
- order by orderNum DESC
|
|
|
+ order by order_num DESC
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|