|
@@ -0,0 +1,377 @@
|
|
|
|
|
+<?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.CustomerMapper">
|
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.usoftchina.saas.document.entities.Customer">
|
|
|
|
|
+ <id column="cu_id" jdbcType="INTEGER" property="id" />
|
|
|
|
|
+ <result column="cu_code" jdbcType="VARCHAR" property="cu_code" />
|
|
|
|
|
+ <result column="cu_name" jdbcType="VARCHAR" property="cu_name" />
|
|
|
|
|
+ <result column="cu_uu" jdbcType="VARCHAR" property="cu_uu" />
|
|
|
|
|
+ <result column="cu_type" jdbcType="VARCHAR" property="cu_type" />
|
|
|
|
|
+ <result column="cu_begindate" jdbcType="TIMESTAMP" property="cu_begindate" />
|
|
|
|
|
+ <result column="cu_beginaramount" jdbcType="DOUBLE" property="cu_beginaramount" />
|
|
|
|
|
+ <result column="cu_beginprerecamount" jdbcType="DOUBLE" property="cu_beginprerecamount" />
|
|
|
|
|
+ <result column="cu_promisedays" jdbcType="DOUBLE" property="cu_promisedays" />
|
|
|
|
|
+ <result column="cu_taxrate" jdbcType="DOUBLE" property="cu_taxrate" />
|
|
|
|
|
+ <result column="cu_sellerid" jdbcType="INTEGER" property="cu_sellerid" />
|
|
|
|
|
+ <result column="cu_sellercode" jdbcType="VARCHAR" property="cu_sellercode" />
|
|
|
|
|
+ <result column="cu_sellername" jdbcType="VARCHAR" property="cu_sellername" />
|
|
|
|
|
+ <result column="cu_credit" jdbcType="DOUBLE" property="cu_credit" />
|
|
|
|
|
+ <result column="cu_status" jdbcType="VARCHAR" property="cu_status" />
|
|
|
|
|
+ <result column="cu_statuscode" jdbcType="VARCHAR" property="cu_statuscode" />
|
|
|
|
|
+ <result column="cu_recordmanid" jdbcType="INTEGER" property="cu_recordmanid" />
|
|
|
|
|
+ <result column="cu_recordman" jdbcType="VARCHAR" property="cu_recordman" />
|
|
|
|
|
+ <result column="cu_recorddate" jdbcType="TIMESTAMP" property="cu_recorddate" />
|
|
|
|
|
+ <result column="companyid" jdbcType="INTEGER" property="companyId" />
|
|
|
|
|
+ <result column="updaterId" jdbcType="INTEGER" property="updaterId" />
|
|
|
|
|
+ <result column="updatetime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
+ <result column="cu_text1" jdbcType="VARCHAR" property="cu_text1" />
|
|
|
|
|
+ <result column="cu_text2" jdbcType="VARCHAR" property="cu_text2" />
|
|
|
|
|
+ <result column="cu_text3" jdbcType="VARCHAR" property="cu_text3" />
|
|
|
|
|
+ <result column="cu_text4" jdbcType="VARCHAR" property="cu_text4" />
|
|
|
|
|
+ <result column="cu_text5" jdbcType="VARCHAR" property="cu_text5" />
|
|
|
|
|
+ <result column="cu_leftamount" jdbcType="DOUBLE" property="cu_leftamount" />
|
|
|
|
|
+ <result column="cu_recamount" jdbcType="DOUBLE" property="cu_recamount" />
|
|
|
|
|
+ </resultMap>
|
|
|
|
|
+ <sql id="Base_Column_List">
|
|
|
|
|
+ cu_id, cu_code, cu_name, cu_uu, cu_type, cu_begindate, cu_beginaramount, cu_beginprerecamount,
|
|
|
|
|
+ cu_promisedays, cu_taxrate, cu_sellerid, cu_sellercode, cu_sellername, cu_credit,
|
|
|
|
|
+ cu_status, cu_statuscode, cu_recordmanid, cu_recordman, cu_recorddate, companyid,
|
|
|
|
|
+ updaterId, updatetime, cu_text1, cu_text2, cu_text3, cu_text4, cu_text5, cu_leftamount,
|
|
|
|
|
+ cu_recamount
|
|
|
|
|
+ </sql>
|
|
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
|
|
+ select
|
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
|
+ from customer
|
|
|
|
|
+ where cu_id = #{cu_id,jdbcType=INTEGER}
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
|
|
+ delete from customer
|
|
|
|
|
+ where cu_id = #{cu_id,jdbcType=INTEGER}
|
|
|
|
|
+ </delete>
|
|
|
|
|
+ <insert id="insert" parameterType="com.usoftchina.saas.document.entities.Customer">
|
|
|
|
|
+ insert into customer (cu_id, cu_code, cu_name,
|
|
|
|
|
+ cu_uu, cu_type, cu_begindate,
|
|
|
|
|
+ cu_beginaramount, cu_beginprerecamount, cu_promisedays,
|
|
|
|
|
+ cu_taxrate, cu_sellerid, cu_sellercode,
|
|
|
|
|
+ cu_sellername, cu_credit, cu_status,
|
|
|
|
|
+ cu_statuscode, cu_recordmanid, cu_recordman,
|
|
|
|
|
+ cu_recorddate, companyid, updaterId,
|
|
|
|
|
+ updatetime, cu_text1, cu_text2,
|
|
|
|
|
+ cu_text3, cu_text4, cu_text5,
|
|
|
|
|
+ cu_leftamount, cu_recamount)
|
|
|
|
|
+ values (#{cu_id,jdbcType=INTEGER}, #{cu_code,jdbcType=VARCHAR}, #{cu_name,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_uu,jdbcType=VARCHAR}, #{cu_type,jdbcType=VARCHAR}, #{cu_begindate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ #{cu_beginaramount,jdbcType=DOUBLE}, #{cu_beginprerecamount,jdbcType=DOUBLE}, #{cu_promisedays,jdbcType=DOUBLE},
|
|
|
|
|
+ #{cu_taxrate,jdbcType=DOUBLE}, #{cu_sellerid,jdbcType=INTEGER}, #{cu_sellercode,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_sellername,jdbcType=VARCHAR}, #{cu_credit,jdbcType=DOUBLE}, #{cu_status,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_statuscode,jdbcType=VARCHAR}, #{cu_recordmanid,jdbcType=INTEGER}, #{cu_recordman,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_recorddate,jdbcType=TIMESTAMP}, #{companyid,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
|
|
|
|
|
+ #{updatetime,jdbcType=TIMESTAMP}, #{cu_text1,jdbcType=VARCHAR}, #{cu_text2,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_text3,jdbcType=VARCHAR}, #{cu_text4,jdbcType=VARCHAR}, #{cu_text5,jdbcType=VARCHAR},
|
|
|
|
|
+ #{cu_leftamount,jdbcType=DOUBLE}, #{cu_recamount,jdbcType=DOUBLE})
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <insert id="insertSelective" parameterType="com.usoftchina.saas.document.entities.Customer">
|
|
|
|
|
+ insert into customer
|
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="cu_id != null">
|
|
|
|
|
+ cu_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_code != null">
|
|
|
|
|
+ cu_code,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_name != null">
|
|
|
|
|
+ cu_name,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_uu != null">
|
|
|
|
|
+ cu_uu,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_type != null">
|
|
|
|
|
+ cu_type,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_begindate != null">
|
|
|
|
|
+ cu_begindate,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginaramount != null">
|
|
|
|
|
+ cu_beginaramount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginprerecamount != null">
|
|
|
|
|
+ cu_beginprerecamount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_promisedays != null">
|
|
|
|
|
+ cu_promisedays,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_taxrate != null">
|
|
|
|
|
+ cu_taxrate,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellerid != null">
|
|
|
|
|
+ cu_sellerid,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellercode != null">
|
|
|
|
|
+ cu_sellercode,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellername != null">
|
|
|
|
|
+ cu_sellername,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_credit != null">
|
|
|
|
|
+ cu_credit,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_status != null">
|
|
|
|
|
+ cu_status,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_statuscode != null">
|
|
|
|
|
+ cu_statuscode,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordmanid != null">
|
|
|
|
|
+ cu_recordmanid,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordman != null">
|
|
|
|
|
+ cu_recordman,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recorddate != null">
|
|
|
|
|
+ cu_recorddate,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="companyid != null">
|
|
|
|
|
+ companyid,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updaterId != null">
|
|
|
|
|
+ updaterId,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updatetime != null">
|
|
|
|
|
+ updatetime,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text1 != null">
|
|
|
|
|
+ cu_text1,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text2 != null">
|
|
|
|
|
+ cu_text2,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text3 != null">
|
|
|
|
|
+ cu_text3,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text4 != null">
|
|
|
|
|
+ cu_text4,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text5 != null">
|
|
|
|
|
+ cu_text5,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_leftamount != null">
|
|
|
|
|
+ cu_leftamount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recamount != null">
|
|
|
|
|
+ cu_recamount,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
+ <if test="cu_id != null">
|
|
|
|
|
+ #{cu_id,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_code != null">
|
|
|
|
|
+ #{cu_code,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_name != null">
|
|
|
|
|
+ #{cu_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_uu != null">
|
|
|
|
|
+ #{cu_uu,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_type != null">
|
|
|
|
|
+ #{cu_type,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_begindate != null">
|
|
|
|
|
+ #{cu_begindate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginaramount != null">
|
|
|
|
|
+ #{cu_beginaramount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginprerecamount != null">
|
|
|
|
|
+ #{cu_beginprerecamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_promisedays != null">
|
|
|
|
|
+ #{cu_promisedays,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_taxrate != null">
|
|
|
|
|
+ #{cu_taxrate,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellerid != null">
|
|
|
|
|
+ #{cu_sellerid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellercode != null">
|
|
|
|
|
+ #{cu_sellercode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellername != null">
|
|
|
|
|
+ #{cu_sellername,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_credit != null">
|
|
|
|
|
+ #{cu_credit,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_status != null">
|
|
|
|
|
+ #{cu_status,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_statuscode != null">
|
|
|
|
|
+ #{cu_statuscode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordmanid != null">
|
|
|
|
|
+ #{cu_recordmanid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordman != null">
|
|
|
|
|
+ #{cu_recordman,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recorddate != null">
|
|
|
|
|
+ #{cu_recorddate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="companyid != null">
|
|
|
|
|
+ #{companyid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updaterId != null">
|
|
|
|
|
+ #{updaterId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updatetime != null">
|
|
|
|
|
+ #{updatetime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text1 != null">
|
|
|
|
|
+ #{cu_text1,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text2 != null">
|
|
|
|
|
+ #{cu_text2,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text3 != null">
|
|
|
|
|
+ #{cu_text3,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text4 != null">
|
|
|
|
|
+ #{cu_text4,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text5 != null">
|
|
|
|
|
+ #{cu_text5,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_leftamount != null">
|
|
|
|
|
+ #{cu_leftamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recamount != null">
|
|
|
|
|
+ #{cu_recamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </trim>
|
|
|
|
|
+ </insert>
|
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.entities.Customer">
|
|
|
|
|
+ update customer
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="cu_code != null">
|
|
|
|
|
+ cu_code = #{cu_code,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_name != null">
|
|
|
|
|
+ cu_name = #{cu_name,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_uu != null">
|
|
|
|
|
+ cu_uu = #{cu_uu,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_type != null">
|
|
|
|
|
+ cu_type = #{cu_type,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_begindate != null">
|
|
|
|
|
+ cu_begindate = #{cu_begindate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginaramount != null">
|
|
|
|
|
+ cu_beginaramount = #{cu_beginaramount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_beginprerecamount != null">
|
|
|
|
|
+ cu_beginprerecamount = #{cu_beginprerecamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_promisedays != null">
|
|
|
|
|
+ cu_promisedays = #{cu_promisedays,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_taxrate != null">
|
|
|
|
|
+ cu_taxrate = #{cu_taxrate,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellerid != null">
|
|
|
|
|
+ cu_sellerid = #{cu_sellerid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellercode != null">
|
|
|
|
|
+ cu_sellercode = #{cu_sellercode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_sellername != null">
|
|
|
|
|
+ cu_sellername = #{cu_sellername,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_credit != null">
|
|
|
|
|
+ cu_credit = #{cu_credit,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_status != null">
|
|
|
|
|
+ cu_status = #{cu_status,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_statuscode != null">
|
|
|
|
|
+ cu_statuscode = #{cu_statuscode,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordmanid != null">
|
|
|
|
|
+ cu_recordmanid = #{cu_recordmanid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recordman != null">
|
|
|
|
|
+ cu_recordman = #{cu_recordman,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recorddate != null">
|
|
|
|
|
+ cu_recorddate = #{cu_recorddate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="companyid != null">
|
|
|
|
|
+ companyid = #{companyid,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updaterId != null">
|
|
|
|
|
+ updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="updatetime != null">
|
|
|
|
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text1 != null">
|
|
|
|
|
+ cu_text1 = #{cu_text1,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text2 != null">
|
|
|
|
|
+ cu_text2 = #{cu_text2,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text3 != null">
|
|
|
|
|
+ cu_text3 = #{cu_text3,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text4 != null">
|
|
|
|
|
+ cu_text4 = #{cu_text4,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_text5 != null">
|
|
|
|
|
+ cu_text5 = #{cu_text5,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_leftamount != null">
|
|
|
|
|
+ cu_leftamount = #{cu_leftamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="cu_recamount != null">
|
|
|
|
|
+ cu_recamount = #{cu_recamount,jdbcType=DOUBLE},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ </set>
|
|
|
|
|
+ where cu_id = #{cu_id,jdbcType=INTEGER}
|
|
|
|
|
+ </update>
|
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.document.entities.Customer">
|
|
|
|
|
+ update customer
|
|
|
|
|
+ set cu_code = #{cu_code,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_name = #{cu_name,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_uu = #{cu_uu,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_type = #{cu_type,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_begindate = #{cu_begindate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ cu_beginaramount = #{cu_beginaramount,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_beginprerecamount = #{cu_beginprerecamount,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_promisedays = #{cu_promisedays,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_taxrate = #{cu_taxrate,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_sellerid = #{cu_sellerid,jdbcType=INTEGER},
|
|
|
|
|
+ cu_sellercode = #{cu_sellercode,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_sellername = #{cu_sellername,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_credit = #{cu_credit,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_status = #{cu_status,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_statuscode = #{cu_statuscode,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_recordmanid = #{cu_recordmanid,jdbcType=INTEGER},
|
|
|
|
|
+ cu_recordman = #{cu_recordman,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_recorddate = #{cu_recorddate,jdbcType=TIMESTAMP},
|
|
|
|
|
+ companyid = #{companyid,jdbcType=INTEGER},
|
|
|
|
|
+ updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
|
|
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ cu_text1 = #{cu_text1,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_text2 = #{cu_text2,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_text3 = #{cu_text3,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_text4 = #{cu_text4,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_text5 = #{cu_text5,jdbcType=VARCHAR},
|
|
|
|
|
+ cu_leftamount = #{cu_leftamount,jdbcType=DOUBLE},
|
|
|
|
|
+ cu_recamount = #{cu_recamount,jdbcType=DOUBLE}
|
|
|
|
|
+ where cu_id = #{cu_id,jdbcType=INTEGER}
|
|
|
|
|
+ </update>
|
|
|
|
|
+</mapper>
|