From 8ddd229539b8245fd011ab53cbb386cb18e2847d Mon Sep 17 00:00:00 2001 From: ZZ Date: Thu, 10 Mar 2022 14:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=E6=89=93=E5=8C=85=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-modules/ruoyi-job/pom.xml | 3 + .../resources/mapper/IccardInfoMapper.xml | 314 ++++++++++++++++++ 2 files changed, 317 insertions(+) create mode 100644 xhpc-modules/xhpc-power-pile/src/main/resources/mapper/IccardInfoMapper.xml diff --git a/ruoyi-modules/ruoyi-job/pom.xml b/ruoyi-modules/ruoyi-job/pom.xml index a70a404b..42a32a24 100644 --- a/ruoyi-modules/ruoyi-job/pom.xml +++ b/ruoyi-modules/ruoyi-job/pom.xml @@ -97,6 +97,9 @@ org.springframework.boot spring-boot-maven-plugin 2.4.0 + + com.xhpc.RuoYiJobApplication + diff --git a/xhpc-modules/xhpc-power-pile/src/main/resources/mapper/IccardInfoMapper.xml b/xhpc-modules/xhpc-power-pile/src/main/resources/mapper/IccardInfoMapper.xml new file mode 100644 index 00000000..b2b7428a --- /dev/null +++ b/xhpc-modules/xhpc-power-pile/src/main/resources/mapper/IccardInfoMapper.xml @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, cardID, cardNo, cardType, `password`, userIndex, corpNo, cashPledge, balance, + `status`, createTime + + + + + delete + from t_iccard_info + where id = #{id,jdbcType=INTEGER} + + + delete from t_iccard_info + + + + + + insert into t_iccard_info (cardID, cardNo, cardType, + `password`, userIndex, corpNo, + cashPledge, balance, `status`, + createTime) + values (#{cardid,jdbcType=VARCHAR}, #{cardno,jdbcType=VARCHAR}, #{cardtype,jdbcType=TINYINT}, + #{password,jdbcType=VARCHAR}, #{userindex,jdbcType=INTEGER}, #{corpno,jdbcType=VARCHAR}, + #{cashpledge,jdbcType=INTEGER}, #{balance,jdbcType=INTEGER}, #{status,jdbcType=TINYINT}, + #{createtime,jdbcType=TIMESTAMP}) + + + insert into t_iccard_info + + + cardID, + + + cardNo, + + + cardType, + + + `password`, + + + userIndex, + + + corpNo, + + + cashPledge, + + + balance, + + + `status`, + + + createTime, + + + + + #{cardid,jdbcType=VARCHAR}, + + + #{cardno,jdbcType=VARCHAR}, + + + #{cardtype,jdbcType=TINYINT}, + + + #{password,jdbcType=VARCHAR}, + + + #{userindex,jdbcType=INTEGER}, + + + #{corpno,jdbcType=VARCHAR}, + + + #{cashpledge,jdbcType=INTEGER}, + + + #{balance,jdbcType=INTEGER}, + + + #{status,jdbcType=TINYINT}, + + + #{createtime,jdbcType=TIMESTAMP}, + + + + + + update t_iccard_info + + + id = #{record.id,jdbcType=INTEGER}, + + + cardID = #{record.cardid,jdbcType=VARCHAR}, + + + cardNo = #{record.cardno,jdbcType=VARCHAR}, + + + cardType = #{record.cardtype,jdbcType=TINYINT}, + + + `password` = #{record.password,jdbcType=VARCHAR}, + + + userIndex = #{record.userindex,jdbcType=INTEGER}, + + + corpNo = #{record.corpno,jdbcType=VARCHAR}, + + + cashPledge = #{record.cashpledge,jdbcType=INTEGER}, + + + balance = #{record.balance,jdbcType=INTEGER}, + + + `status` = #{record.status,jdbcType=TINYINT}, + + + createTime = #{record.createtime,jdbcType=TIMESTAMP}, + + + + + + + + update t_iccard_info + set id = #{record.id,jdbcType=INTEGER}, + cardID = #{record.cardid,jdbcType=VARCHAR}, + cardNo = #{record.cardno,jdbcType=VARCHAR}, + cardType = #{record.cardtype,jdbcType=TINYINT}, + `password` = #{record.password,jdbcType=VARCHAR}, + userIndex = #{record.userindex,jdbcType=INTEGER}, + corpNo = #{record.corpno,jdbcType=VARCHAR}, + cashPledge = #{record.cashpledge,jdbcType=INTEGER}, + balance = #{record.balance,jdbcType=INTEGER}, + `status` = #{record.status,jdbcType=TINYINT}, + createTime = #{record.createtime,jdbcType=TIMESTAMP} + + + + + + update t_iccard_info + + + cardID = #{cardid,jdbcType=VARCHAR}, + + + cardNo = #{cardno,jdbcType=VARCHAR}, + + + cardType = #{cardtype,jdbcType=TINYINT}, + + + `password` = #{password,jdbcType=VARCHAR}, + + + userIndex = #{userindex,jdbcType=INTEGER}, + + + corpNo = #{corpno,jdbcType=VARCHAR}, + + + cashPledge = #{cashpledge,jdbcType=INTEGER}, + + + balance = #{balance,jdbcType=INTEGER}, + + + `status` = #{status,jdbcType=TINYINT}, + + + createTime = #{createtime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=INTEGER} + + + update t_iccard_info + set cardID = #{cardid,jdbcType=VARCHAR}, + cardNo = #{cardno,jdbcType=VARCHAR}, + cardType = #{cardtype,jdbcType=TINYINT}, + `password` = #{password,jdbcType=VARCHAR}, + userIndex = #{userindex,jdbcType=INTEGER}, + corpNo = #{corpno,jdbcType=VARCHAR}, + cashPledge = #{cashpledge,jdbcType=INTEGER}, + balance = #{balance,jdbcType=INTEGER}, + `status` = #{status,jdbcType=TINYINT}, + createTime = #{createtime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + +