From 6aa342cc662b3bfb81c3f58b6e6890a7c420ac23 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 14 十二月 2023 11:24:00 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientCardMapper.xml | 43 ++++++++++++++++++++++++++++++++----------- 1 files changed, 32 insertions(+), 11 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientCardMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientCardMapper.xml index 7b03575..8acacf5 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientCardMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/SeClientCardMapper.xml @@ -43,19 +43,40 @@ SELECT id AS cardId FROM se_client_card WHERE cardAddr = #{cardAddr} </select> - <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pipIrrGlobal.pojoSe.SeClientCard" useGeneratedKeys="true"> + <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoSe.SeClientCard"> <!--@mbg.generated--> - insert into se_client_card (cardAddr, clientId, money, - `state`, createDt, replaceDt, - rechargeDt, lossDtDt, cancelDt, - unlockDt, reversalDt, consumeDt, - lastOper, remarks) - values (#{cardaddr,jdbcType=VARCHAR}, #{clientid,jdbcType=BIGINT}, #{money,jdbcType=FLOAT}, - #{state,jdbcType=TINYINT}, #{createdt,jdbcType=TIMESTAMP}, #{replacedt,jdbcType=TIMESTAMP}, - #{rechargedt,jdbcType=TIMESTAMP}, #{lossdtdt,jdbcType=TIMESTAMP}, #{canceldt,jdbcType=TIMESTAMP}, - #{unlockdt,jdbcType=TIMESTAMP}, #{reversaldt,jdbcType=TIMESTAMP}, #{consumedt,jdbcType=TIMESTAMP}, - #{lastoper,jdbcType=TINYINT}, #{remarks,jdbcType=VARCHAR}) + insert into se_client_card (id, cardAddr, clientId, money, `state`, createDt, replaceDt, rechargeDt, lossDtDt, cancelDt, unlockDt, reversalDt, consumeDt, lastOper, remarks) + values (#{id,jdbcType=BIGINT}, + #{cardaddr,jdbcType=VARCHAR}, + #{clientid,jdbcType=BIGINT}, + #{money,jdbcType=FLOAT}, + #{state,jdbcType=TINYINT}, + #{createdt,jdbcType=TIMESTAMP}, + #{replacedt,jdbcType=TIMESTAMP}, + #{rechargedt,jdbcType=TIMESTAMP}, + #{lossdtdt,jdbcType=TIMESTAMP}, + #{canceldt,jdbcType=TIMESTAMP}, + #{unlockdt,jdbcType=TIMESTAMP}, + #{reversaldt,jdbcType=TIMESTAMP}, + #{consumedt,jdbcType=TIMESTAMP}, + #{lastoper,jdbcType=TINYINT}, + #{remarks,jdbcType=VARCHAR}) </insert> + +<!-- <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.dy.pipIrrGlobal.pojoSe.SeClientCard" useGeneratedKeys="true">--> +<!-- <!–@mbg.generated–>--> +<!-- insert into se_client_card (cardAddr, clientId, money, --> +<!-- `state`, createDt, replaceDt, --> +<!-- rechargeDt, lossDtDt, cancelDt, --> +<!-- unlockDt, reversalDt, consumeDt, --> +<!-- lastOper, remarks)--> +<!-- values (#{cardaddr,jdbcType=VARCHAR}, #{clientid,jdbcType=BIGINT}, #{money,jdbcType=FLOAT}, --> +<!-- #{state,jdbcType=TINYINT}, #{createdt,jdbcType=TIMESTAMP}, #{replacedt,jdbcType=TIMESTAMP}, --> +<!-- #{rechargedt,jdbcType=TIMESTAMP}, #{lossdtdt,jdbcType=TIMESTAMP}, #{canceldt,jdbcType=TIMESTAMP}, --> +<!-- #{unlockdt,jdbcType=TIMESTAMP}, #{reversaldt,jdbcType=TIMESTAMP}, #{consumedt,jdbcType=TIMESTAMP}, --> +<!-- #{lastoper,jdbcType=TINYINT}, #{remarks,jdbcType=VARCHAR})--> +<!-- </insert>--> + <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pipIrrGlobal.pojoSe.SeClientCard" useGeneratedKeys="true"> <!--@mbg.generated--> insert into se_client_card -- Gitblit v1.8.0