Commit 9fe197d8 by zhengxj

finish 服务商端订单市场 on 20190819

by zhengxj 

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23445 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 7d8e5163
......@@ -15,47 +15,6 @@
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="phone_number" jdbcType="VARCHAR" property="phoneNumber" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
<resultMap id="BaseResultMap" type="com.glsx.ordercenter.pojo.SysOrderBiddingRecords">
<id column="id" jdbcType="INTEGER" property="id"/>
<result column="service_id" jdbcType="INTEGER" property="serviceId"/>
<result column="order_id" jdbcType="INTEGER" property="orderId"/>
<result column="price" jdbcType="DECIMAL" property="price"/>
<result column="is_bidding" jdbcType="INTEGER" property="isBidding"/>
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
</resultMap>
<resultMap id="ExtBaseResultMap" type="com.glsx.ordercenter.dto.BiddingOrderResp" extends="BaseResultMap">
<result column="name" jdbcType="VARCHAR" property="name"/>
<result column="phone_number" jdbcType="VARCHAR" property="phoneNumber"/>
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!