diff --git a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/data/up/PileStartChargingData.java b/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/data/up/PileStartChargingData.java index 7e396796..4c2e54d7 100644 --- a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/data/up/PileStartChargingData.java +++ b/xhpc-modules/xhpc-common/src/main/java/com/xhpc/common/data/up/PileStartChargingData.java @@ -9,6 +9,17 @@ public class PileStartChargingData extends BaseData { private String accountOrCardNo; //账号或者物理卡号 private String password; //密码 private String vin; //VIN + private Integer rateModelId; + + public Integer getRateModelId() { + + return rateModelId; + } + + public void setRateModelId(Integer rateModelId) { + + this.rateModelId = rateModelId; + } public String getPileNo() { diff --git a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/iccard/mapper/IccardInfoMapper.java b/xhpc-modules/xhpc-common/src/main/java/com/xhpc/iccard/mapper/IccardInfoMapper.java deleted file mode 100644 index d94286fd..00000000 --- a/xhpc-modules/xhpc-common/src/main/java/com/xhpc/iccard/mapper/IccardInfoMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.xhpc.iccard.mapper; - -import com.xhpc.common.domain.IccardInfo; -import com.xhpc.common.domain.IccardInfoExample; -import com.xhpc.common.domain.XhpcIcCardInfo; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Param; - -import java.util.List; - -@Mapper -public interface IccardInfoMapper { - - long countByExample(IccardInfoExample example); - - int deleteByExample(IccardInfoExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(IccardInfo record); - - int insertSelective(IccardInfo record); - - List selectByExample(IccardInfoExample example); - - IccardInfo selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("record") IccardInfo record, @Param("example") IccardInfoExample example); - - int updateByExample(@Param("record") IccardInfo record, @Param("example") IccardInfoExample example); - - int updateByPrimaryKeySelective(IccardInfo record); - - int updateByPrimaryKey(IccardInfo record); - -} diff --git a/xhpc-modules/xhpc-common/src/resources/mapper/IccardInfoMapper.xml b/xhpc-modules/xhpc-common/src/resources/mapper/IccardInfoMapper.xml deleted file mode 100644 index 6ed5e423..00000000 --- a/xhpc-modules/xhpc-common/src/resources/mapper/IccardInfoMapper.xml +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 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} - -