| | |
| | | <result column="remarks" jdbcType="VARCHAR" property="remarks" /> |
| | | <result column="operator" jdbcType="BIGINT" property="operator" /> |
| | | <result column="operate_dt" jdbcType="TIMESTAMP" property="operateDt" /> |
| | | <result column="order_no" jdbcType="VARCHAR" property="orderNo" /> |
| | | <result column="operate_valid" jdbcType="TINYINT" property="operateValid" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, card_id, client_id, money, system_balance, trade_amount, price, card_cost, gift, |
| | | refund_amount, no_trade_amount, operate_type, payment_id, remarks, `operator`, operate_dt, operate_valid |
| | | refund_amount, no_trade_amount, operate_type, payment_id, remarks, `operator`, operate_dt, |
| | | order_no, operate_valid |
| | | </sql> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | <!--@mbg.generated--> |
| | |
| | | price, card_cost, gift, |
| | | refund_amount, no_trade_amount, operate_type, |
| | | payment_id, remarks, `operator`, |
| | | operate_dt, operate_valid) |
| | | operate_dt, order_no, operate_valid |
| | | ) |
| | | values (#{id,jdbcType=BIGINT}, #{cardId,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, |
| | | #{money,jdbcType=FLOAT}, #{systemBalance,jdbcType=FLOAT}, #{tradeAmount,jdbcType=FLOAT}, |
| | | #{price,jdbcType=FLOAT}, #{cardCost,jdbcType=INTEGER}, #{gift,jdbcType=FLOAT}, |
| | | #{refundAmount,jdbcType=FLOAT}, #{noTradeAmount,jdbcType=FLOAT}, #{operateType,jdbcType=TINYINT}, |
| | | #{paymentId,jdbcType=BIGINT}, #{remarks,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, |
| | | #{operateDt,jdbcType=TIMESTAMP}, #{operateValid,jdbcType=TINYINT}) |
| | | #{operateDt,jdbcType=TIMESTAMP}, #{orderNo,jdbcType=VARCHAR}, #{operateValid,jdbcType=TINYINT} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoSe.SeCardOperate"> |
| | | <!--@mbg.generated--> |
| | |
| | | <if test="operateDt != null"> |
| | | operate_dt, |
| | | </if> |
| | | <if test="orderNo != null"> |
| | | order_no, |
| | | </if> |
| | | <if test="operateValid != null"> |
| | | operate_valid, |
| | | </if> |
| | |
| | | </if> |
| | | <if test="operateDt != null"> |
| | | #{operateDt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderNo != null"> |
| | | #{orderNo,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="operateValid != null"> |
| | | #{operateValid,jdbcType=TINYINT}, |
| | |
| | | <if test="operateDt != null"> |
| | | operate_dt = #{operateDt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderNo != null"> |
| | | order_no = #{orderNo,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="operateValid != null"> |
| | | operate_valid = #{operateValid,jdbcType=TINYINT}, |
| | | </if> |
| | |
| | | remarks = #{remarks,jdbcType=VARCHAR}, |
| | | `operator` = #{operator,jdbcType=BIGINT}, |
| | | operate_dt = #{operateDt,jdbcType=TIMESTAMP}, |
| | | order_no = #{orderNo,jdbcType=VARCHAR}, |
| | | operate_valid = #{operateValid,jdbcType=TINYINT} |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |