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