|
|
@@ -1,7 +1,7 @@
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!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.po.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" />
|
|
|
@@ -24,7 +24,7 @@
|
|
|
<result column="bk_text4" property="bkText4" jdbcType="VARCHAR" />
|
|
|
<result column="bk_text5" property="bkText5" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
- <resultMap id="ResultMapWithBLOBs" type="com.usoftchina.saas.document.po.Bankinformation" extends="BaseResultMap" >
|
|
|
+ <resultMap id="ResultMapWithBLOBs" type="com.usoftchina.saas.document.entities.Bankinformation" extends="BaseResultMap" >
|
|
|
<result column="bk_remark" property="bkRemark" jdbcType="LONGVARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
@@ -47,7 +47,7 @@
|
|
|
delete from bankinformation
|
|
|
where bk_id = #{bkId,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.usoftchina.saas.document.po.Bankinformation" >
|
|
|
+ <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,
|
|
|
@@ -65,7 +65,7 @@
|
|
|
#{bkText3,jdbcType=VARCHAR}, #{bkText4,jdbcType=VARCHAR}, #{bkText5,jdbcType=VARCHAR},
|
|
|
#{bkRemark,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.usoftchina.saas.document.po.Bankinformation" >
|
|
|
+ <insert id="insertSelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
|
|
|
insert into bankinformation
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="bkId != null" >
|
|
|
@@ -204,7 +204,7 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.po.Bankinformation" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
|
|
|
update bankinformation
|
|
|
<set >
|
|
|
<if test="bkBankcode != null" >
|
|
|
@@ -273,7 +273,7 @@
|
|
|
</set>
|
|
|
where bk_id = #{bkId,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.usoftchina.saas.document.po.Bankinformation" >
|
|
|
+ <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
|
|
|
update bankinformation
|
|
|
set bk_bankcode = #{bkBankcode,jdbcType=VARCHAR},
|
|
|
bk_bankname = #{bkBankname,jdbcType=VARCHAR},
|
|
|
@@ -298,7 +298,7 @@
|
|
|
bk_remark = #{bkRemark,jdbcType=LONGVARCHAR}
|
|
|
where bk_id = #{bkId,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.document.po.Bankinformation" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.document.entities.Bankinformation" >
|
|
|
update bankinformation
|
|
|
set bk_bankcode = #{bkBankcode,jdbcType=VARCHAR},
|
|
|
bk_bankname = #{bkBankname,jdbcType=VARCHAR},
|