| | |
| | | <mapper
|
| | | namespace="com.xcong.excoin.modules.home.dao.MemberQuickBuySaleDao">
|
| | | <!-- 字段sql -->
|
| | | <sql id="columns">
|
| | | id,
|
| | | member_id,
|
| | | amount_cny,
|
| | | amount_usdt,
|
| | | payment_type,
|
| | | payment_account,
|
| | | payment_name,
|
| | | payment_code,
|
| | | unit_price,
|
| | | order_status,
|
| | | order_no,
|
| | | order_type
|
| | | </sql>
|
| | |
|
| | | <!-- 属性sql -->
|
| | | <sql id="propertys">
|
| | | #{item.id},
|
| | | #{item.memberId},
|
| | | #{item.amountCny},
|
| | | #{item.amountUsdt},
|
| | | #{item.paymentType},
|
| | | #{item.paymentAccount},
|
| | | #{item.paymentName},
|
| | | #{item.paymentCode},
|
| | | #{item.unitPrice},
|
| | | #{item.orderStatus},
|
| | | #{item.orderNo},
|
| | | #{item.orderType}
|
| | | </sql>
|
| | |
|
| | | <!-- 插入方法 -->
|
| | | <insert id="insert"
|
| | | parameterType="com.xcong.excoin.modules.home.entity.MemberQuickBuySaleEntity"
|
| | | useGeneratedKeys="true" keyProperty="id">
|
| | | INSERT INTO member_quick_buy_sale (
|
| | | <include refid="columns"></include>
|
| | | )
|
| | | VALUES (
|
| | | <include refid="propertys"></include>
|
| | | )
|
| | | </insert>
|
| | | </mapper> |