Commit e8f3450b authored by zhangjianqian's avatar zhangjianqian

修改排序

parent c7a55db6
...@@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="vaseCode != null and vaseCode != ''"> and f_vase_code like concat('%', #{vaseCode}, '%') </if> <if test="vaseCode != null and vaseCode != ''"> and f_vase_code like concat('%', #{vaseCode}, '%') </if>
<if test="barCode != null and barCode != ''"> and f_bar_code like concat('%', #{barCode}, '%') </if> <if test="barCode != null and barCode != ''"> and f_bar_code like concat('%', #{barCode}, '%') </if>
</where> </where>
order by files.f_fill_statr_time desc
</select> </select>
<select id="queryAllForExport" resultMap="TLpgAirChargeFilesResult"> <select id="queryAllForExport" resultMap="TLpgAirChargeFilesResult">
<include refid="selectTLpgAirChargeFilesVo"/> <include refid="selectTLpgAirChargeFilesVo"/>
......
...@@ -53,8 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -53,8 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="deliveryAddress != null and deliveryAddress != ''"> and delivery.delivery_address = #{deliveryAddress}</if> <if test="deliveryAddress != null and deliveryAddress != ''"> and delivery.delivery_address = #{deliveryAddress}</if>
<if test="deliveryDate != null "> and delivery.delivery_date = #{deliveryDate}</if> <if test="deliveryDate != null "> and delivery.delivery_date = #{deliveryDate}</if>
<if test="isDel != null and isDel != ''"> and delivery.is_del = #{isDel}</if> <if test="isDel != null and isDel != ''"> and delivery.is_del = #{isDel}</if>
<if test="bottleCode != null and bottleCode != ''"> and bottle.f_bottle_code like concat('%', #{bottleCode}, '%')</if> <if test="bottleCode != null and bottleCode != ''"> and delivery.f_bottle_code like concat('%', #{bottleCode}, '%')</if>
</where> </where>
order by delivery_date desc
</select> </select>
<select id="queryAllByBottleCodeLimit2" resultMap="TLpgDeliveryRecordResult"> <select id="queryAllByBottleCodeLimit2" resultMap="TLpgDeliveryRecordResult">
<include refid="selectTLpgDeliveryRecordVo"></include> <include refid="selectTLpgDeliveryRecordVo"></include>
......
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