...
|
...
|
@@ -20,9 +20,11 @@ |
|
|
<result column="deal_time" jdbcType="INTEGER" property="dealTime" />
|
|
|
<result column="deal_relate_id" jdbcType="INTEGER" property="dealRelateId" />
|
|
|
<result column="deal_user_name" jdbcType="VARCHAR" property="dealUserName" />
|
|
|
<result column="pay_error_code" jdbcType="VARCHAR" property="payErrorCode" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id,uid, order_code,paid_order_code, user_type,pay_type,trade_type,income_outcome,amount,system_amount,trade_status,create_time,deal_uid,deal_status,deal_time,deal_relate_id,deal_user_name
|
|
|
id,uid, order_code,paid_order_code, user_type,pay_type,trade_type,income_outcome,amount,system_amount,trade_status,create_time,
|
|
|
deal_uid,deal_status,deal_time,deal_relate_id,deal_user_name,pay_error_code
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
...
|
...
|
@@ -42,10 +44,11 @@ |
|
|
<insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.TradeBills" useGeneratedKeys="true">
|
|
|
insert into trade_bills (id, uid, order_code, paid_order_code, user_type,pay_type,trade_type,
|
|
|
income_outcome,amount,system_amount,trade_status,create_time
|
|
|
,deal_uid,deal_status,deal_time,deal_relate_id,deal_user_name)
|
|
|
,deal_uid,deal_status,deal_time,deal_relate_id,deal_user_name,pay_error_code)
|
|
|
values (#{id},#{uid},#{orderCode},#{paidOrderCode},#{userType},#{payType},#{tradeType},
|
|
|
#{incomeOutcome},#{amount},#{systemAmount},
|
|
|
#{tradeStatus},#{createTime},#{dealUid},#{dealStatus},#{dealTime},#{dealRelateId},#{dealUserName})
|
|
|
#{tradeStatus},#{createTime},#{dealUid},#{dealStatus},
|
|
|
#{dealTime},#{dealRelateId},#{dealUserName},#{payErrorCode})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 买家只显示补偿款收入 ,卖家只显示货款收入
|
...
|
...
|
|