Browse Source

1.财务接口bankimformation

heqinwei 7 years ago
parent
commit
642199fd5c

+ 92 - 130
applications/document/document-dto/src/main/java/com/usoftchina/saas/document/entities/Bankinformation.java

@@ -2,226 +2,188 @@ package com.usoftchina.saas.document.entities;
 
 
 import com.usoftchina.saas.base.entity.CommonBaseEntity;
 import com.usoftchina.saas.base.entity.CommonBaseEntity;
 
 
+import java.io.Serializable;
 import java.util.Date;
 import java.util.Date;
 
 
-public class Bankinformation extends CommonBaseEntity {
-    private Integer bkId;
+public class Bankinformation extends CommonBaseEntity implements Serializable {
 
 
-    private String bkBankcode;
+    private String bk_bankcode;
 
 
-    private String bkBankname;
+    private String bk_bankname;
 
 
-    private Date bkDate;
+    private Date bk_date;
 
 
-    private String bkType;
+    private String bk_type;
 
 
-    private Double bkBeginamount;
+    private Double bk_beginamount;
 
 
-    private Double bkThisamount;
+    private Double bk_thisamount;
 
 
-    private String bkStatus;
+    private String bk_status;
 
 
-    private String bkStatuscode;
+    private String bk_statuscode;
 
 
-    private Integer bkRecorderid;
+    private Integer bk_recorderid;
 
 
-    private String bkRecorder;
+    private String bk_recorder;
 
 
-    private Date bkRecorddate;
+    private Date bk_recorddate;
 
 
-    private Integer bkYm;
+    private Integer bk_ym;
 
 
-    private Integer companyid;
+    private String bk_text1;
 
 
-    private Integer updaterid;
+    private String bk_text2;
 
 
-    private Date updatetime;
+    private String bk_text3;
 
 
-    private String bkText1;
+    private String bk_text4;
 
 
-    private String bkText2;
+    private String bk_text5;
 
 
-    private String bkText3;
+    private String bk_remark;
 
 
-    private String bkText4;
-
-    private String bkText5;
-
-    private String bkRemark;
-
-    public Integer getBkId() {
-        return bkId;
-    }
-
-    public void setBkId(Integer bkId) {
-        this.bkId = bkId;
-    }
-
-    public String getBkBankcode() {
-        return bkBankcode;
-    }
-
-    public void setBkBankcode(String bkBankcode) {
-        this.bkBankcode = bkBankcode == null ? null : bkBankcode.trim();
-    }
-
-    public String getBkBankname() {
-        return bkBankname;
-    }
-
-    public void setBkBankname(String bkBankname) {
-        this.bkBankname = bkBankname == null ? null : bkBankname.trim();
-    }
-
-    public Date getBkDate() {
-        return bkDate;
-    }
-
-    public void setBkDate(Date bkDate) {
-        this.bkDate = bkDate;
-    }
-
-    public String getBkType() {
-        return bkType;
+    public String getBk_bankcode() {
+        return bk_bankcode;
     }
     }
 
 
-    public void setBkType(String bkType) {
-        this.bkType = bkType == null ? null : bkType.trim();
+    public void setBk_bankcode(String bk_bankcode) {
+        this.bk_bankcode = bk_bankcode;
     }
     }
 
 
-    public Double getBkBeginamount() {
-        return bkBeginamount;
+    public String getBk_bankname() {
+        return bk_bankname;
     }
     }
 
 
-    public void setBkBeginamount(Double bkBeginamount) {
-        this.bkBeginamount = bkBeginamount;
+    public void setBk_bankname(String bk_bankname) {
+        this.bk_bankname = bk_bankname;
     }
     }
 
 
-    public Double getBkThisamount() {
-        return bkThisamount;
+    public Date getBk_date() {
+        return bk_date;
     }
     }
 
 
-    public void setBkThisamount(Double bkThisamount) {
-        this.bkThisamount = bkThisamount;
+    public void setBk_date(Date bk_date) {
+        this.bk_date = bk_date;
     }
     }
 
 
-    public String getBkStatus() {
-        return bkStatus;
+    public String getBk_type() {
+        return bk_type;
     }
     }
 
 
-    public void setBkStatus(String bkStatus) {
-        this.bkStatus = bkStatus == null ? null : bkStatus.trim();
+    public void setBk_type(String bk_type) {
+        this.bk_type = bk_type;
     }
     }
 
 
-    public String getBkStatuscode() {
-        return bkStatuscode;
+    public Double getBk_beginamount() {
+        return bk_beginamount;
     }
     }
 
 
-    public void setBkStatuscode(String bkStatuscode) {
-        this.bkStatuscode = bkStatuscode == null ? null : bkStatuscode.trim();
+    public void setBk_beginamount(Double bk_beginamount) {
+        this.bk_beginamount = bk_beginamount;
     }
     }
 
 
-    public Integer getBkRecorderid() {
-        return bkRecorderid;
+    public Double getBk_thisamount() {
+        return bk_thisamount;
     }
     }
 
 
-    public void setBkRecorderid(Integer bkRecorderid) {
-        this.bkRecorderid = bkRecorderid;
+    public void setBk_thisamount(Double bk_thisamount) {
+        this.bk_thisamount = bk_thisamount;
     }
     }
 
 
-    public String getBkRecorder() {
-        return bkRecorder;
+    public String getBk_status() {
+        return bk_status;
     }
     }
 
 
-    public void setBkRecorder(String bkRecorder) {
-        this.bkRecorder = bkRecorder == null ? null : bkRecorder.trim();
+    public void setBk_status(String bk_status) {
+        this.bk_status = bk_status;
     }
     }
 
 
-    public Date getBkRecorddate() {
-        return bkRecorddate;
+    public String getBk_statuscode() {
+        return bk_statuscode;
     }
     }
 
 
-    public void setBkRecorddate(Date bkRecorddate) {
-        this.bkRecorddate = bkRecorddate;
+    public void setBk_statuscode(String bk_statuscode) {
+        this.bk_statuscode = bk_statuscode;
     }
     }
 
 
-    public Integer getBkYm() {
-        return bkYm;
+    public Integer getBk_recorderid() {
+        return bk_recorderid;
     }
     }
 
 
-    public void setBkYm(Integer bkYm) {
-        this.bkYm = bkYm;
+    public void setBk_recorderid(Integer bk_recorderid) {
+        this.bk_recorderid = bk_recorderid;
     }
     }
 
 
-    public Integer getCompanyid() {
-        return companyid;
+    public String getBk_recorder() {
+        return bk_recorder;
     }
     }
 
 
-    public void setCompanyid(Integer companyid) {
-        this.companyid = companyid;
+    public void setBk_recorder(String bk_recorder) {
+        this.bk_recorder = bk_recorder;
     }
     }
 
 
-    public Integer getUpdaterid() {
-        return updaterid;
+    public Date getBk_recorddate() {
+        return bk_recorddate;
     }
     }
 
 
-    public void setUpdaterid(Integer updaterid) {
-        this.updaterid = updaterid;
+    public void setBk_recorddate(Date bk_recorddate) {
+        this.bk_recorddate = bk_recorddate;
     }
     }
 
 
-    public Date getUpdatetime() {
-        return updatetime;
+    public Integer getBk_ym() {
+        return bk_ym;
     }
     }
 
 
-    public void setUpdatetime(Date updatetime) {
-        this.updatetime = updatetime;
+    public void setBk_ym(Integer bk_ym) {
+        this.bk_ym = bk_ym;
     }
     }
 
 
-    public String getBkText1() {
-        return bkText1;
+    public String getBk_text1() {
+        return bk_text1;
     }
     }
 
 
-    public void setBkText1(String bkText1) {
-        this.bkText1 = bkText1 == null ? null : bkText1.trim();
+    public void setBk_text1(String bk_text1) {
+        this.bk_text1 = bk_text1;
     }
     }
 
 
-    public String getBkText2() {
-        return bkText2;
+    public String getBk_text2() {
+        return bk_text2;
     }
     }
 
 
-    public void setBkText2(String bkText2) {
-        this.bkText2 = bkText2 == null ? null : bkText2.trim();
+    public void setBk_text2(String bk_text2) {
+        this.bk_text2 = bk_text2;
     }
     }
 
 
-    public String getBkText3() {
-        return bkText3;
+    public String getBk_text3() {
+        return bk_text3;
     }
     }
 
 
-    public void setBkText3(String bkText3) {
-        this.bkText3 = bkText3 == null ? null : bkText3.trim();
+    public void setBk_text3(String bk_text3) {
+        this.bk_text3 = bk_text3;
     }
     }
 
 
-    public String getBkText4() {
-        return bkText4;
+    public String getBk_text4() {
+        return bk_text4;
     }
     }
 
 
-    public void setBkText4(String bkText4) {
-        this.bkText4 = bkText4 == null ? null : bkText4.trim();
+    public void setBk_text4(String bk_text4) {
+        this.bk_text4 = bk_text4;
     }
     }
 
 
-    public String getBkText5() {
-        return bkText5;
+    public String getBk_text5() {
+        return bk_text5;
     }
     }
 
 
-    public void setBkText5(String bkText5) {
-        this.bkText5 = bkText5 == null ? null : bkText5.trim();
+    public void setBk_text5(String bk_text5) {
+        this.bk_text5 = bk_text5;
     }
     }
 
 
-    public String getBkRemark() {
-        return bkRemark;
+    public String getBk_remark() {
+        return bk_remark;
     }
     }
 
 
-    public void setBkRemark(String bkRemark) {
-        this.bkRemark = bkRemark == null ? null : bkRemark.trim();
+    public void setBk_remark(String bk_remark) {
+        this.bk_remark = bk_remark;
     }
     }
 }
 }

+ 1 - 1
applications/document/document-server/src/main/java/com/usoftchina/saas/document/controller/BankinformationController.java

@@ -25,7 +25,7 @@ public class BankinformationController {
     }
     }
 
 
     @PostMapping("/delete/{id}")
     @PostMapping("/delete/{id}")
-    public Result delete(@PathVariable("id") int id){
+    public Result delete(@PathVariable("id")int id){
         bankinformationService.removeByPrimaryKey(id);
         bankinformationService.removeByPrimaryKey(id);
         return Result.success();
         return Result.success();
     }
     }

+ 1 - 1
applications/document/document-server/src/main/java/com/usoftchina/saas/document/mapper/BankinformationMapper.java

@@ -6,7 +6,7 @@ import com.usoftchina.saas.document.entities.Bankinformation;
 public interface BankinformationMapper extends CommonBaseMapper<Bankinformation> {
 public interface BankinformationMapper extends CommonBaseMapper<Bankinformation> {
     int deleteByPrimaryKey(Integer bkId);
     int deleteByPrimaryKey(Integer bkId);
 
 
-    int insert(Bankinformation record);
+    Long insert(Bankinformation record);
 
 
     int insertSelective(Bankinformation record);
     int insertSelective(Bankinformation record);
 
 

+ 2 - 0
applications/document/document-server/src/main/java/com/usoftchina/saas/document/service/BankinformationService.java

@@ -12,4 +12,6 @@ public interface BankinformationService extends CommonBaseService<Bankinformatio
     boolean save(Bankinformation bankinformation);
     boolean save(Bankinformation bankinformation);
 
 
     boolean removeByPrimaryKey(int id);
     boolean removeByPrimaryKey(int id);
+
+
 }
 }

+ 1 - 1
applications/document/document-server/src/main/java/com/usoftchina/saas/document/service/impl/BankinformationServiceImpl.java

@@ -18,7 +18,7 @@ public class BankinformationServiceImpl extends CommonBaseServiceImpl<Bankinform
 
 
     @Override
     @Override
     public boolean save(Bankinformation bankinformation){
     public boolean save(Bankinformation bankinformation){
-        if(bankinformation.getBkId() == 0){
+        if(bankinformation.getId() == 0){
             bankinformationMapper.insertSelective(bankinformation);
             bankinformationMapper.insertSelective(bankinformation);
         }else{
         }else{
             bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
             bankinformationMapper.updateByPrimaryKeySelective(bankinformation);

+ 150 - 156
applications/document/document-server/src/main/resources/mapper/BankinformationMapper.xml

@@ -2,35 +2,35 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 <mapper namespace="com.usoftchina.saas.document.mapper.BankinformationMapper" >
 <mapper namespace="com.usoftchina.saas.document.mapper.BankinformationMapper" >
   <resultMap id="BaseResultMap" type="com.usoftchina.saas.document.entities.Bankinformation" >
   <resultMap id="BaseResultMap" type="com.usoftchina.saas.document.entities.Bankinformation" >
-    <id column="bk_id" property="bkId" jdbcType="INTEGER" />
-    <result column="bk_bankcode" property="bkBankcode" jdbcType="VARCHAR" />
-    <result column="bk_bankname" property="bkBankname" jdbcType="VARCHAR" />
-    <result column="bk_date" property="bkDate" jdbcType="TIMESTAMP" />
-    <result column="bk_type" property="bkType" jdbcType="VARCHAR" />
-    <result column="bk_beginamount" property="bkBeginamount" jdbcType="DOUBLE" />
-    <result column="bk_thisamount" property="bkThisamount" jdbcType="DOUBLE" />
-    <result column="bk_status" property="bkStatus" jdbcType="VARCHAR" />
-    <result column="bk_statuscode" property="bkStatuscode" jdbcType="VARCHAR" />
-    <result column="bk_recorderid" property="bkRecorderid" jdbcType="INTEGER" />
-    <result column="bk_recorder" property="bkRecorder" jdbcType="VARCHAR" />
-    <result column="bk_recorddate" property="bkRecorddate" jdbcType="TIMESTAMP" />
-    <result column="bk_ym" property="bkYm" jdbcType="INTEGER" />
-    <result column="companyid" property="companyid" jdbcType="INTEGER" />
-    <result column="updaterid" property="updaterid" jdbcType="INTEGER" />
-    <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
-    <result column="bk_text1" property="bkText1" jdbcType="VARCHAR" />
-    <result column="bk_text2" property="bkText2" jdbcType="VARCHAR" />
-    <result column="bk_text3" property="bkText3" jdbcType="VARCHAR" />
-    <result column="bk_text4" property="bkText4" jdbcType="VARCHAR" />
-    <result column="bk_text5" property="bkText5" jdbcType="VARCHAR" />
+    <id column="bk_id" property="id" jdbcType="INTEGER" />
+    <result column="bk_bankcode" property="bk_bankcode" jdbcType="VARCHAR" />
+    <result column="bk_bankname" property="bk_bankname" jdbcType="VARCHAR" />
+    <result column="bk_date" property="bk_date" jdbcType="TIMESTAMP" />
+    <result column="bk_type" property="bk_type" jdbcType="VARCHAR" />
+    <result column="bk_beginamount" property="bk_beginamount" jdbcType="DOUBLE" />
+    <result column="bk_thisamount" property="bk_thisamount" jdbcType="DOUBLE" />
+    <result column="bk_status" property="bk_status" jdbcType="VARCHAR" />
+    <result column="bk_statuscode" property="bk_statuscode" jdbcType="VARCHAR" />
+    <result column="bk_recorderid" property="bk_recorderid" jdbcType="INTEGER" />
+    <result column="bk_recorder" property="bk_recorder" jdbcType="VARCHAR" />
+    <result column="bk_recorddate" property="bk_recorddate" jdbcType="TIMESTAMP" />
+    <result column="bk_ym" property="bk_ym" jdbcType="INTEGER" />
+    <result column="companyid" property="companyId" jdbcType="INTEGER" />
+    <result column="updaterId" property="updaterId" jdbcType="INTEGER" />
+    <result column="updateTime" property="updateTime" jdbcType="TIMESTAMP" />
+    <result column="bk_text1" property="bk_text1" jdbcType="VARCHAR" />
+    <result column="bk_text2" property="bk_text2" jdbcType="VARCHAR" />
+    <result column="bk_text3" property="bk_text3" jdbcType="VARCHAR" />
+    <result column="bk_text4" property="bk_text4" jdbcType="VARCHAR" />
+    <result column="bk_text5" property="bk_text5" jdbcType="VARCHAR" />
   </resultMap>
   </resultMap>
   <resultMap id="ResultMapWithBLOBs" type="com.usoftchina.saas.document.entities.Bankinformation" extends="BaseResultMap" >
   <resultMap id="ResultMapWithBLOBs" type="com.usoftchina.saas.document.entities.Bankinformation" extends="BaseResultMap" >
-    <result column="bk_remark" property="bkRemark" jdbcType="LONGVARCHAR" />
+    <result column="bk_remark" property="bk_remark" jdbcType="LONGVARCHAR" />
   </resultMap>
   </resultMap>
   <sql id="Base_Column_List" >
   <sql id="Base_Column_List" >
     bk_id, bk_bankcode, bk_bankname, bk_date, bk_type, bk_beginamount, bk_thisamount, 
     bk_id, bk_bankcode, bk_bankname, bk_date, bk_type, bk_beginamount, bk_thisamount, 
     bk_status, bk_statuscode, bk_recorderid, bk_recorder, bk_recorddate, bk_ym, companyid, 
     bk_status, bk_statuscode, bk_recorderid, bk_recorder, bk_recorddate, bk_ym, companyid, 
-    updaterid, updatetime, bk_text1, bk_text2, bk_text3, bk_text4, bk_text5
+    updaterId, updateTime, bk_text1, bk_text2, bk_text3, bk_text4, bk_text5
   </sql>
   </sql>
   <sql id="Blob_Column_List" >
   <sql id="Blob_Column_List" >
     bk_remark
     bk_remark
@@ -41,237 +41,231 @@
     ,
     ,
     <include refid="Blob_Column_List" />
     <include refid="Blob_Column_List" />
     from bankinformation
     from bankinformation
-    where bk_id = #{bkId,jdbcType=INTEGER}
+    where bk_id = #{id,jdbcType=INTEGER}
   </select>
   </select>
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
     delete from bankinformation
     delete from bankinformation
-    where bk_id = #{bkId,jdbcType=INTEGER}
+    where bk_id = #{id,jdbcType=INTEGER}
   </delete>
   </delete>
   <insert id="insert" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
   <insert id="insert" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
     insert into bankinformation (bk_id, bk_bankcode, bk_bankname, 
     insert into bankinformation (bk_id, bk_bankcode, bk_bankname, 
       bk_date, bk_type, bk_beginamount, 
       bk_date, bk_type, bk_beginamount, 
       bk_thisamount, bk_status, bk_statuscode, 
       bk_thisamount, bk_status, bk_statuscode, 
       bk_recorderid, bk_recorder, bk_recorddate, 
       bk_recorderid, bk_recorder, bk_recorddate, 
-      bk_ym, companyid, updaterid, 
-      updatetime, bk_text1, bk_text2, 
+      bk_ym, companyid, updaterId, 
+      updateTime, bk_text1, bk_text2, 
       bk_text3, bk_text4, bk_text5, 
       bk_text3, bk_text4, bk_text5, 
       bk_remark)
       bk_remark)
-    values (#{bkId,jdbcType=INTEGER}, #{bkBankcode,jdbcType=VARCHAR}, #{bkBankname,jdbcType=VARCHAR}, 
-      #{bkDate,jdbcType=TIMESTAMP}, #{bkType,jdbcType=VARCHAR}, #{bkBeginamount,jdbcType=DOUBLE}, 
-      #{bkThisamount,jdbcType=DOUBLE}, #{bkStatus,jdbcType=VARCHAR}, #{bkStatuscode,jdbcType=VARCHAR}, 
-      #{bkRecorderid,jdbcType=INTEGER}, #{bkRecorder,jdbcType=VARCHAR}, #{bkRecorddate,jdbcType=TIMESTAMP}, 
-      #{bkYm,jdbcType=INTEGER}, #{companyid,jdbcType=INTEGER}, #{updaterid,jdbcType=INTEGER}, 
-      #{updatetime,jdbcType=TIMESTAMP}, #{bkText1,jdbcType=VARCHAR}, #{bkText2,jdbcType=VARCHAR}, 
-      #{bkText3,jdbcType=VARCHAR}, #{bkText4,jdbcType=VARCHAR}, #{bkText5,jdbcType=VARCHAR}, 
-      #{bkRemark,jdbcType=LONGVARCHAR})
+    values (#{bk_bankcode,jdbcType=VARCHAR}, #{bk_bankname,jdbcType=VARCHAR},
+      #{bk_date,jdbcType=TIMESTAMP}, #{bk_type,jdbcType=VARCHAR}, #{bk_beginamount,jdbcType=DOUBLE},
+      #{bk_thisamount,jdbcType=DOUBLE}, #{bk_status,jdbcType=VARCHAR}, #{bk_statuscode,jdbcType=VARCHAR},
+      #{bk_recorderid,jdbcType=INTEGER}, #{bk_recorder,jdbcType=VARCHAR}, #{bk_recorddate,jdbcType=TIMESTAMP},
+      #{bk_ym,jdbcType=INTEGER}, #{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
+      #{updateTime,jdbcType=TIMESTAMP}, #{bk_text1,jdbcType=VARCHAR}, #{bk_text2,jdbcType=VARCHAR},
+      #{bk_text3,jdbcType=VARCHAR}, #{bk_text4,jdbcType=VARCHAR}, #{bk_text5,jdbcType=VARCHAR},
+      #{bk_remark,jdbcType=LONGVARCHAR})
   </insert>
   </insert>
   <insert id="insertSelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
   <insert id="insertSelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
     insert into bankinformation
     insert into bankinformation
     <trim prefix="(" suffix=")" suffixOverrides="," >
     <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="bkId != null" >
-        bk_id,
-      </if>
-      <if test="bkBankcode != null" >
+      <if test="bk_bankcode != null" >
         bk_bankcode,
         bk_bankcode,
       </if>
       </if>
-      <if test="bkBankname != null" >
+      <if test="bk_bankname != null" >
         bk_bankname,
         bk_bankname,
       </if>
       </if>
-      <if test="bkDate != null" >
+      <if test="bk_date != null" >
         bk_date,
         bk_date,
       </if>
       </if>
-      <if test="bkType != null" >
+      <if test="bk_type != null" >
         bk_type,
         bk_type,
       </if>
       </if>
-      <if test="bkBeginamount != null" >
+      <if test="bk_beginamount != null" >
         bk_beginamount,
         bk_beginamount,
       </if>
       </if>
-      <if test="bkThisamount != null" >
+      <if test="bk_thisamount != null" >
         bk_thisamount,
         bk_thisamount,
       </if>
       </if>
-      <if test="bkStatus != null" >
+      <if test="bk_status != null" >
         bk_status,
         bk_status,
       </if>
       </if>
-      <if test="bkStatuscode != null" >
+      <if test="bk_statuscode != null" >
         bk_statuscode,
         bk_statuscode,
       </if>
       </if>
-      <if test="bkRecorderid != null" >
+      <if test="bk_recorderid != null" >
         bk_recorderid,
         bk_recorderid,
       </if>
       </if>
-      <if test="bkRecorder != null" >
+      <if test="bk_recorder != null" >
         bk_recorder,
         bk_recorder,
       </if>
       </if>
-      <if test="bkRecorddate != null" >
+      <if test="bk_recorddate != null" >
         bk_recorddate,
         bk_recorddate,
       </if>
       </if>
-      <if test="bkYm != null" >
+      <if test="bk_ym != null" >
         bk_ym,
         bk_ym,
       </if>
       </if>
-      <if test="companyid != null" >
+      <if test="companyId != null" >
         companyid,
         companyid,
       </if>
       </if>
-      <if test="updaterid != null" >
-        updaterid,
+      <if test="updaterId != null" >
+        updaterId,
       </if>
       </if>
-      <if test="updatetime != null" >
-        updatetime,
+      <if test="updateTime != null" >
+        updateTime,
       </if>
       </if>
-      <if test="bkText1 != null" >
+      <if test="bk_text1 != null" >
         bk_text1,
         bk_text1,
       </if>
       </if>
-      <if test="bkText2 != null" >
+      <if test="bk_text2 != null" >
         bk_text2,
         bk_text2,
       </if>
       </if>
-      <if test="bkText3 != null" >
+      <if test="bk_text3 != null" >
         bk_text3,
         bk_text3,
       </if>
       </if>
-      <if test="bkText4 != null" >
+      <if test="bk_text4 != null" >
         bk_text4,
         bk_text4,
       </if>
       </if>
-      <if test="bkText5 != null" >
+      <if test="bk_text5 != null" >
         bk_text5,
         bk_text5,
       </if>
       </if>
-      <if test="bkRemark != null" >
+      <if test="bk_remark != null" >
         bk_remark,
         bk_remark,
       </if>
       </if>
     </trim>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides="," >
     <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="bkId != null" >
-        #{bkId,jdbcType=INTEGER},
+      <if test="bk_bankcode != null" >
+        #{bk_bankcode,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkBankcode != null" >
-        #{bkBankcode,jdbcType=VARCHAR},
+      <if test="bk_bankname != null" >
+        #{bk_bankname,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkBankname != null" >
-        #{bkBankname,jdbcType=VARCHAR},
+      <if test="bk_date != null" >
+        #{bk_date,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="bkDate != null" >
-        #{bkDate,jdbcType=TIMESTAMP},
+      <if test="bk_type != null" >
+        #{bk_type,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkType != null" >
-        #{bkType,jdbcType=VARCHAR},
+      <if test="bk_beginamount != null" >
+        #{bk_beginamount,jdbcType=DOUBLE},
       </if>
       </if>
-      <if test="bkBeginamount != null" >
-        #{bkBeginamount,jdbcType=DOUBLE},
+      <if test="bk_thisamount != null" >
+        #{bk_thisamount,jdbcType=DOUBLE},
       </if>
       </if>
-      <if test="bkThisamount != null" >
-        #{bkThisamount,jdbcType=DOUBLE},
+      <if test="bk_status != null" >
+        #{bk_status,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkStatus != null" >
-        #{bkStatus,jdbcType=VARCHAR},
+      <if test="bk_statuscode != null" >
+        #{bk_statuscode,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkStatuscode != null" >
-        #{bkStatuscode,jdbcType=VARCHAR},
+      <if test="bk_recorderid != null" >
+        #{bk_recorderid,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="bkRecorderid != null" >
-        #{bkRecorderid,jdbcType=INTEGER},
+      <if test="bk_recorder != null" >
+        #{bk_recorder,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkRecorder != null" >
-        #{bkRecorder,jdbcType=VARCHAR},
+      <if test="bk_recorddate != null" >
+        #{bk_recorddate,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="bkRecorddate != null" >
-        #{bkRecorddate,jdbcType=TIMESTAMP},
+      <if test="bk_ym != null" >
+        #{bk_ym,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="bkYm != null" >
-        #{bkYm,jdbcType=INTEGER},
+      <if test="companyId != null" >
+        #{companyId,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="companyid != null" >
-        #{companyid,jdbcType=INTEGER},
+      <if test="updaterId != null" >
+        #{updaterId,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="updaterid != null" >
-        #{updaterid,jdbcType=INTEGER},
+      <if test="updateTime != null" >
+        #{updateTime,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="updatetime != null" >
-        #{updatetime,jdbcType=TIMESTAMP},
+      <if test="bk_text1 != null" >
+        #{bk_text1,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText1 != null" >
-        #{bkText1,jdbcType=VARCHAR},
+      <if test="bk_text2 != null" >
+        #{bk_text2,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText2 != null" >
-        #{bkText2,jdbcType=VARCHAR},
+      <if test="bk_text3 != null" >
+        #{bk_text3,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText3 != null" >
-        #{bkText3,jdbcType=VARCHAR},
+      <if test="bk_text4 != null" >
+        #{bk_text4,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText4 != null" >
-        #{bkText4,jdbcType=VARCHAR},
+      <if test="bk_text5 != null" >
+        #{bk_text5,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText5 != null" >
-        #{bkText5,jdbcType=VARCHAR},
-      </if>
-      <if test="bkRemark != null" >
-        #{bkRemark,jdbcType=LONGVARCHAR},
+      <if test="bk_remark != null" >
+        #{bk_remark,jdbcType=LONGVARCHAR},
       </if>
       </if>
     </trim>
     </trim>
   </insert>
   </insert>
   <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
   <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
     update bankinformation
     update bankinformation
     <set >
     <set >
-      <if test="bkBankcode != null" >
-        bk_bankcode = #{bkBankcode,jdbcType=VARCHAR},
+      <if test="bk_bankcode != null" >
+        bk_bankcode = #{bk_bankcode,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkBankname != null" >
-        bk_bankname = #{bkBankname,jdbcType=VARCHAR},
+      <if test="bk_bankname != null" >
+        bk_bankname = #{bk_bankname,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkDate != null" >
-        bk_date = #{bkDate,jdbcType=TIMESTAMP},
+      <if test="bk_date != null" >
+        bk_date = #{bk_date,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="bkType != null" >
-        bk_type = #{bkType,jdbcType=VARCHAR},
+      <if test="bk_type != null" >
+        bk_type = #{bk_type,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkBeginamount != null" >
-        bk_beginamount = #{bkBeginamount,jdbcType=DOUBLE},
+      <if test="bk_beginamount != null" >
+        bk_beginamount = #{bk_beginamount,jdbcType=DOUBLE},
       </if>
       </if>
-      <if test="bkThisamount != null" >
-        bk_thisamount = #{bkThisamount,jdbcType=DOUBLE},
+      <if test="bk_thisamount != null" >
+        bk_thisamount = #{bk_thisamount,jdbcType=DOUBLE},
       </if>
       </if>
-      <if test="bkStatus != null" >
-        bk_status = #{bkStatus,jdbcType=VARCHAR},
+      <if test="bk_status != null" >
+        bk_status = #{bk_status,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkStatuscode != null" >
-        bk_statuscode = #{bkStatuscode,jdbcType=VARCHAR},
+      <if test="bk_statuscode != null" >
+        bk_statuscode = #{bk_statuscode,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkRecorderid != null" >
-        bk_recorderid = #{bkRecorderid,jdbcType=INTEGER},
+      <if test="bk_recorderid != null" >
+        bk_recorderid = #{bk_recorderid,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="bkRecorder != null" >
-        bk_recorder = #{bkRecorder,jdbcType=VARCHAR},
+      <if test="bk_recorder != null" >
+        bk_recorder = #{bk_recorder,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkRecorddate != null" >
-        bk_recorddate = #{bkRecorddate,jdbcType=TIMESTAMP},
+      <if test="bk_recorddate != null" >
+        bk_recorddate = #{bk_recorddate,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="bkYm != null" >
-        bk_ym = #{bkYm,jdbcType=INTEGER},
+      <if test="bk_ym != null" >
+        bk_ym = #{bk_ym,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="companyid != null" >
-        companyid = #{companyid,jdbcType=INTEGER},
+      <if test="companyId != null" >
+        companyid = #{companyId,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="updaterid != null" >
-        updaterid = #{updaterid,jdbcType=INTEGER},
+      <if test="updaterId != null" >
+        updaterId = #{updaterId,jdbcType=INTEGER},
       </if>
       </if>
-      <if test="updatetime != null" >
-        updatetime = #{updatetime,jdbcType=TIMESTAMP},
+      <if test="updateTime != null" >
+        updateTime = #{updateTime,jdbcType=TIMESTAMP},
       </if>
       </if>
-      <if test="bkText1 != null" >
-        bk_text1 = #{bkText1,jdbcType=VARCHAR},
+      <if test="bk_text1 != null" >
+        bk_text1 = #{bk_text1,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText2 != null" >
-        bk_text2 = #{bkText2,jdbcType=VARCHAR},
+      <if test="bk_text2 != null" >
+        bk_text2 = #{bk_text2,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText3 != null" >
-        bk_text3 = #{bkText3,jdbcType=VARCHAR},
+      <if test="bk_text3 != null" >
+        bk_text3 = #{bk_text3,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText4 != null" >
-        bk_text4 = #{bkText4,jdbcType=VARCHAR},
+      <if test="bk_text4 != null" >
+        bk_text4 = #{bk_text4,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkText5 != null" >
-        bk_text5 = #{bkText5,jdbcType=VARCHAR},
+      <if test="bk_text5 != null" >
+        bk_text5 = #{bk_text5,jdbcType=VARCHAR},
       </if>
       </if>
-      <if test="bkRemark != null" >
-        bk_remark = #{bkRemark,jdbcType=LONGVARCHAR},
+      <if test="bk_remark != null" >
+        bk_remark = #{bk_remark,jdbcType=LONGVARCHAR},
       </if>
       </if>
     </set>
     </set>
-    where bk_id = #{bkId,jdbcType=INTEGER}
+    where bk_id = #{id,jdbcType=INTEGER}
   </update>
   </update>
   <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
   <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
     update bankinformation
     update bankinformation
@@ -287,9 +281,9 @@
       bk_recorder = #{bkRecorder,jdbcType=VARCHAR},
       bk_recorder = #{bkRecorder,jdbcType=VARCHAR},
       bk_recorddate = #{bkRecorddate,jdbcType=TIMESTAMP},
       bk_recorddate = #{bkRecorddate,jdbcType=TIMESTAMP},
       bk_ym = #{bkYm,jdbcType=INTEGER},
       bk_ym = #{bkYm,jdbcType=INTEGER},
-      companyid = #{companyid,jdbcType=INTEGER},
-      updaterid = #{updaterid,jdbcType=INTEGER},
-      updatetime = #{updatetime,jdbcType=TIMESTAMP},
+      companyid = #{companyId,jdbcType=INTEGER},
+      updaterId = #{updaterId,jdbcType=INTEGER},
+      updateTime = #{updateTime,jdbcType=TIMESTAMP},
       bk_text1 = #{bkText1,jdbcType=VARCHAR},
       bk_text1 = #{bkText1,jdbcType=VARCHAR},
       bk_text2 = #{bkText2,jdbcType=VARCHAR},
       bk_text2 = #{bkText2,jdbcType=VARCHAR},
       bk_text3 = #{bkText3,jdbcType=VARCHAR},
       bk_text3 = #{bkText3,jdbcType=VARCHAR},
@@ -312,15 +306,15 @@
       bk_recorder = #{bkRecorder,jdbcType=VARCHAR},
       bk_recorder = #{bkRecorder,jdbcType=VARCHAR},
       bk_recorddate = #{bkRecorddate,jdbcType=TIMESTAMP},
       bk_recorddate = #{bkRecorddate,jdbcType=TIMESTAMP},
       bk_ym = #{bkYm,jdbcType=INTEGER},
       bk_ym = #{bkYm,jdbcType=INTEGER},
-      companyid = #{companyid,jdbcType=INTEGER},
-      updaterid = #{updaterid,jdbcType=INTEGER},
-      updatetime = #{updatetime,jdbcType=TIMESTAMP},
+      companyid = #{companyId,jdbcType=INTEGER},
+      updaterId = #{updaterId,jdbcType=INTEGER},
+      updateTime = #{updateTime,jdbcType=TIMESTAMP},
       bk_text1 = #{bkText1,jdbcType=VARCHAR},
       bk_text1 = #{bkText1,jdbcType=VARCHAR},
       bk_text2 = #{bkText2,jdbcType=VARCHAR},
       bk_text2 = #{bkText2,jdbcType=VARCHAR},
       bk_text3 = #{bkText3,jdbcType=VARCHAR},
       bk_text3 = #{bkText3,jdbcType=VARCHAR},
       bk_text4 = #{bkText4,jdbcType=VARCHAR},
       bk_text4 = #{bkText4,jdbcType=VARCHAR},
       bk_text5 = #{bkText5,jdbcType=VARCHAR}
       bk_text5 = #{bkText5,jdbcType=VARCHAR}
-    where bk_id = #{bkId,jdbcType=INTEGER}
+    where bk_id = #{bk_id,jdbcType=INTEGER}
   </update>
   </update>
 
 
   <select id="selectAll" resultMap="BaseResultMap">
   <select id="selectAll" resultMap="BaseResultMap">