|
|
@@ -25,13 +25,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
+ <result property="sort" column="sort"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectAuctionVo">
|
|
|
select
|
|
|
id, no, name,type, imgs, banner, deposit, service_tariff, pay_time_limit,
|
|
|
description, pub_status, pub_time, status, start_time, end_time,
|
|
|
- del_flag, create_by, create_time, update_by, update_time
|
|
|
+ del_flag, create_by, create_time, update_by, update_time,sort
|
|
|
from
|
|
|
auction
|
|
|
</sql>
|
|
|
@@ -43,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="auction.pubStatus != null "> and pub_status = #{auction.pubStatus}</if>
|
|
|
and del_flag <> 1
|
|
|
</where>
|
|
|
- order by sort asc,id asc
|
|
|
+ order by sort desc,id asc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectPubbedAndNoEndAuction" resultMap="AuctionResult">
|