完善数据排序规则
This commit is contained in:
parent
a284ef3fa3
commit
a121273c6b
@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||
</where>
|
||||
order by bom_version desc
|
||||
ORDER BY MD_ITEM_ID ASC, IS_DEFAULT DESC, BOM_VERSION DESC, CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
<select id="selectBomRouteByBomRouteId" parameterType="Long" resultMap="BomRouteMbbProduBomResult">
|
||||
|
@ -79,6 +79,7 @@
|
||||
#{standardQuantity}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY WMS_OUT_PLAN_DETAIL_ID DESC, CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
<select id="selectWmsOutPlanDetailEntityByWmsOutPlanDetailEntityId" parameterType="Long"
|
||||
|
@ -129,6 +129,7 @@
|
||||
and UPDATE_TIME = #{updateTime}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
<select id="selectWmsOutPlanByWmsOutPlanId" parameterType="Long" resultMap="WmsOutPlanWmsOutPlanDetailResult">
|
||||
|
@ -60,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null and updateBy != ''"> and UPDATE_BY = #{updateBy}</if>
|
||||
<if test="updateTime != null "> and UPDATE_TIME = #{updateTime}</if>
|
||||
</where>
|
||||
ORDER BY WMS_OUT_PLAN_ID DESC, WMS_OUT_PLAN_DETAIL_ID DESC, CREATE_TIME DESC
|
||||
</select>
|
||||
|
||||
<select id="selectWmsOutTaskByWmsOutTaskId" parameterType="Long" resultMap="WmsOutTaskResult">
|
||||
|
Loading…
Reference in New Issue
Block a user