|
|
@@ -557,560 +557,5 @@
|
|
|
pb_text5 = #{pb_text5,jdbcType=VARCHAR}
|
|
|
where pb_id = #{pb_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
- <resultMap id="BaseResultMap" type="com.usoftchina.saas.money.po.Paybalance">
|
|
|
- <id column="pb_id" jdbcType="INTEGER" property="pb_id" />
|
|
|
- <result column="pb_code" jdbcType="VARCHAR" property="pb_code" />
|
|
|
- <result column="pb_kind" jdbcType="VARCHAR" property="pb_kind" />
|
|
|
- <result column="pb_date" jdbcType="TIMESTAMP" property="pb_date" />
|
|
|
- <result column="pb_vendid" jdbcType="INTEGER" property="pb_vendid" />
|
|
|
- <result column="pb_vendcode" jdbcType="VARCHAR" property="pb_vendcode" />
|
|
|
- <result column="pb_vendname" jdbcType="VARCHAR" property="pb_vendname" />
|
|
|
- <result column="pb_manname" jdbcType="VARCHAR" property="pb_manname" />
|
|
|
- <result column="pb_pdamount" jdbcType="DOUBLE" property="pb_pdamount" />
|
|
|
- <result column="pb_pbdamount" jdbcType="DOUBLE" property="pb_pbdamount" />
|
|
|
- <result column="pb_preamount" jdbcType="DOUBLE" property="pb_preamount" />
|
|
|
- <result column="pb_discounts" jdbcType="DOUBLE" property="pb_discounts" />
|
|
|
- <result column="pb_havebalance" jdbcType="DOUBLE" property="pb_havebalance" />
|
|
|
- <result column="pb_recorderid" jdbcType="INTEGER" property="pb_recorderid" />
|
|
|
- <result column="pb_recorder" jdbcType="VARCHAR" property="pb_recorder" />
|
|
|
- <result column="pb_recorddate" jdbcType="TIMESTAMP" property="pb_recorddate" />
|
|
|
- <result column="pb_status" jdbcType="INTEGER" property="pb_status" />
|
|
|
- <result column="pb_statuscode" jdbcType="DECIMAL" property="pb_statuscode" />
|
|
|
- <result column="pb_remark" jdbcType="VARCHAR" property="pb_remark" />
|
|
|
- <result column="companyid" jdbcType="INTEGER" property="companyid" />
|
|
|
- <result column="updaterId" jdbcType="INTEGER" property="updaterId" />
|
|
|
- <result column="updatedate" jdbcType="TIMESTAMP" property="updatedate" />
|
|
|
- <result column="pb_text1" jdbcType="VARCHAR" property="pb_text1" />
|
|
|
- <result column="pb_text2" jdbcType="VARCHAR" property="pb_text2" />
|
|
|
- <result column="pb_text3" jdbcType="VARCHAR" property="pb_text3" />
|
|
|
- <result column="pb_text4" jdbcType="VARCHAR" property="pb_text4" />
|
|
|
- <result column="pb_text5" jdbcType="VARCHAR" property="pb_text5" />
|
|
|
- </resultMap>
|
|
|
- <sql id="Example_Where_Clause">
|
|
|
- <where>
|
|
|
- <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
- <if test="criteria.valid">
|
|
|
- <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
- <foreach collection="criteria.criteria" item="criterion">
|
|
|
- <choose>
|
|
|
- <when test="criterion.noValue">
|
|
|
- and ${criterion.condition}
|
|
|
- </when>
|
|
|
- <when test="criterion.singleValue">
|
|
|
- and ${criterion.condition} #{criterion.value}
|
|
|
- </when>
|
|
|
- <when test="criterion.betweenValue">
|
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
- </when>
|
|
|
- <when test="criterion.listValue">
|
|
|
- and ${criterion.condition}
|
|
|
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
- #{listItem}
|
|
|
- </foreach>
|
|
|
- </when>
|
|
|
- </choose>
|
|
|
- </foreach>
|
|
|
- </trim>
|
|
|
- </if>
|
|
|
- </foreach>
|
|
|
- </where>
|
|
|
- </sql>
|
|
|
- <sql id="Update_By_Example_Where_Clause">
|
|
|
- <where>
|
|
|
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
- <if test="criteria.valid">
|
|
|
- <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
- <foreach collection="criteria.criteria" item="criterion">
|
|
|
- <choose>
|
|
|
- <when test="criterion.noValue">
|
|
|
- and ${criterion.condition}
|
|
|
- </when>
|
|
|
- <when test="criterion.singleValue">
|
|
|
- and ${criterion.condition} #{criterion.value}
|
|
|
- </when>
|
|
|
- <when test="criterion.betweenValue">
|
|
|
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
- </when>
|
|
|
- <when test="criterion.listValue">
|
|
|
- and ${criterion.condition}
|
|
|
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
- #{listItem}
|
|
|
- </foreach>
|
|
|
- </when>
|
|
|
- </choose>
|
|
|
- </foreach>
|
|
|
- </trim>
|
|
|
- </if>
|
|
|
- </foreach>
|
|
|
- </where>
|
|
|
- </sql>
|
|
|
- <sql id="Base_Column_List">
|
|
|
- pb_id, pb_code, pb_kind, pb_date, pb_vendid, pb_vendcode, pb_vendname, pb_manname,
|
|
|
- pb_pdamount, pb_pbdamount, pb_preamount, pb_discounts, pb_havebalance, pb_recorderid,
|
|
|
- pb_recorder, pb_recorddate, pb_status, pb_statuscode, pb_remark, companyid, updaterId,
|
|
|
- updatedate, pb_text1, pb_text2, pb_text3, pb_text4, pb_text5
|
|
|
- </sql>
|
|
|
- <select id="selectByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample" resultMap="BaseResultMap">
|
|
|
- select
|
|
|
- <if test="distinct">
|
|
|
- distinct
|
|
|
- </if>
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from paybalance
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- <if test="orderByClause != null">
|
|
|
- order by ${orderByClause}
|
|
|
- </if>
|
|
|
- </select>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
- select
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- from paybalance
|
|
|
- where pb_id = #{pb_id,jdbcType=INTEGER}
|
|
|
- </select>
|
|
|
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
- delete from paybalance
|
|
|
- where pb_id = #{pb_id,jdbcType=INTEGER}
|
|
|
- </delete>
|
|
|
- <delete id="deleteByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample">
|
|
|
- delete from paybalance
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </delete>
|
|
|
- <insert id="insert" parameterType="com.usoftchina.saas.money.po.Paybalance">
|
|
|
- insert into paybalance (pb_id, pb_code, pb_kind,
|
|
|
- pb_date, pb_vendid, pb_vendcode,
|
|
|
- pb_vendname, pb_manname, pb_pdamount,
|
|
|
- pb_pbdamount, pb_preamount, pb_discounts,
|
|
|
- pb_havebalance, pb_recorderid, pb_recorder,
|
|
|
- pb_recorddate, pb_status, pb_statuscode,
|
|
|
- pb_remark, companyid, updaterId,
|
|
|
- updatedate, pb_text1, pb_text2,
|
|
|
- pb_text3, pb_text4, pb_text5
|
|
|
- )
|
|
|
- values (#{pb_id,jdbcType=INTEGER}, #{pb_code,jdbcType=VARCHAR}, #{pb_kind,jdbcType=VARCHAR},
|
|
|
- #{pb_date,jdbcType=TIMESTAMP}, #{pb_vendid,jdbcType=INTEGER}, #{pb_vendcode,jdbcType=VARCHAR},
|
|
|
- #{pb_vendname,jdbcType=VARCHAR}, #{pb_manname,jdbcType=VARCHAR}, #{pb_pdamount,jdbcType=DOUBLE},
|
|
|
- #{pb_pbdamount,jdbcType=DOUBLE}, #{pb_preamount,jdbcType=DOUBLE}, #{pb_discounts,jdbcType=DOUBLE},
|
|
|
- #{pb_havebalance,jdbcType=DOUBLE}, #{pb_recorderid,jdbcType=INTEGER}, #{pb_recorder,jdbcType=VARCHAR},
|
|
|
- #{pb_recorddate,jdbcType=TIMESTAMP}, #{pb_status,jdbcType=INTEGER}, #{pb_statuscode,jdbcType=DECIMAL},
|
|
|
- #{pb_remark,jdbcType=VARCHAR}, #{companyid,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER},
|
|
|
- #{updatedate,jdbcType=TIMESTAMP}, #{pb_text1,jdbcType=VARCHAR}, #{pb_text2,jdbcType=VARCHAR},
|
|
|
- #{pb_text3,jdbcType=VARCHAR}, #{pb_text4,jdbcType=VARCHAR}, #{pb_text5,jdbcType=VARCHAR}
|
|
|
- )
|
|
|
- </insert>
|
|
|
- <insert id="insertSelective" parameterType="com.usoftchina.saas.money.po.Paybalance">
|
|
|
- insert into paybalance
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="pb_id != null">
|
|
|
- pb_id,
|
|
|
- </if>
|
|
|
- <if test="pb_code != null">
|
|
|
- pb_code,
|
|
|
- </if>
|
|
|
- <if test="pb_kind != null">
|
|
|
- pb_kind,
|
|
|
- </if>
|
|
|
- <if test="pb_date != null">
|
|
|
- pb_date,
|
|
|
- </if>
|
|
|
- <if test="pb_vendid != null">
|
|
|
- pb_vendid,
|
|
|
- </if>
|
|
|
- <if test="pb_vendcode != null">
|
|
|
- pb_vendcode,
|
|
|
- </if>
|
|
|
- <if test="pb_vendname != null">
|
|
|
- pb_vendname,
|
|
|
- </if>
|
|
|
- <if test="pb_manname != null">
|
|
|
- pb_manname,
|
|
|
- </if>
|
|
|
- <if test="pb_pdamount != null">
|
|
|
- pb_pdamount,
|
|
|
- </if>
|
|
|
- <if test="pb_pbdamount != null">
|
|
|
- pb_pbdamount,
|
|
|
- </if>
|
|
|
- <if test="pb_preamount != null">
|
|
|
- pb_preamount,
|
|
|
- </if>
|
|
|
- <if test="pb_discounts != null">
|
|
|
- pb_discounts,
|
|
|
- </if>
|
|
|
- <if test="pb_havebalance != null">
|
|
|
- pb_havebalance,
|
|
|
- </if>
|
|
|
- <if test="pb_recorderid != null">
|
|
|
- pb_recorderid,
|
|
|
- </if>
|
|
|
- <if test="pb_recorder != null">
|
|
|
- pb_recorder,
|
|
|
- </if>
|
|
|
- <if test="pb_recorddate != null">
|
|
|
- pb_recorddate,
|
|
|
- </if>
|
|
|
- <if test="pb_status != null">
|
|
|
- pb_status,
|
|
|
- </if>
|
|
|
- <if test="pb_statuscode != null">
|
|
|
- pb_statuscode,
|
|
|
- </if>
|
|
|
- <if test="pb_remark != null">
|
|
|
- pb_remark,
|
|
|
- </if>
|
|
|
- <if test="companyid != null">
|
|
|
- companyid,
|
|
|
- </if>
|
|
|
- <if test="updaterId != null">
|
|
|
- updaterId,
|
|
|
- </if>
|
|
|
- <if test="updatedate != null">
|
|
|
- updatedate,
|
|
|
- </if>
|
|
|
- <if test="pb_text1 != null">
|
|
|
- pb_text1,
|
|
|
- </if>
|
|
|
- <if test="pb_text2 != null">
|
|
|
- pb_text2,
|
|
|
- </if>
|
|
|
- <if test="pb_text3 != null">
|
|
|
- pb_text3,
|
|
|
- </if>
|
|
|
- <if test="pb_text4 != null">
|
|
|
- pb_text4,
|
|
|
- </if>
|
|
|
- <if test="pb_text5 != null">
|
|
|
- pb_text5,
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="pb_id != null">
|
|
|
- #{pb_id,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_code != null">
|
|
|
- #{pb_code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_kind != null">
|
|
|
- #{pb_kind,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_date != null">
|
|
|
- #{pb_date,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_vendid != null">
|
|
|
- #{pb_vendid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_vendcode != null">
|
|
|
- #{pb_vendcode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_vendname != null">
|
|
|
- #{pb_vendname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_manname != null">
|
|
|
- #{pb_manname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_pdamount != null">
|
|
|
- #{pb_pdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_pbdamount != null">
|
|
|
- #{pb_pbdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_preamount != null">
|
|
|
- #{pb_preamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_discounts != null">
|
|
|
- #{pb_discounts,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_havebalance != null">
|
|
|
- #{pb_havebalance,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_recorderid != null">
|
|
|
- #{pb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_recorder != null">
|
|
|
- #{pb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_recorddate != null">
|
|
|
- #{pb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_status != null">
|
|
|
- #{pb_status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_statuscode != null">
|
|
|
- #{pb_statuscode,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="pb_remark != null">
|
|
|
- #{pb_remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="companyid != null">
|
|
|
- #{companyid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="updaterId != null">
|
|
|
- #{updaterId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="updatedate != null">
|
|
|
- #{updatedate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_text1 != null">
|
|
|
- #{pb_text1,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text2 != null">
|
|
|
- #{pb_text2,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text3 != null">
|
|
|
- #{pb_text3,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text4 != null">
|
|
|
- #{pb_text4,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text5 != null">
|
|
|
- #{pb_text5,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
- <select id="countByExample" parameterType="com.usoftchina.saas.money.po.PaybalanceExample" resultType="java.lang.Integer">
|
|
|
- select count(*) from paybalance
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </select>
|
|
|
- <update id="updateByExampleSelective" parameterType="map">
|
|
|
- update paybalance
|
|
|
- <set>
|
|
|
- <if test="record.pb_id != null">
|
|
|
- pb_id = #{record.pb_id,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.pb_code != null">
|
|
|
- pb_code = #{record.pb_code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_kind != null">
|
|
|
- pb_kind = #{record.pb_kind,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_date != null">
|
|
|
- pb_date = #{record.pb_date,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.pb_vendid != null">
|
|
|
- pb_vendid = #{record.pb_vendid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.pb_vendcode != null">
|
|
|
- pb_vendcode = #{record.pb_vendcode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_vendname != null">
|
|
|
- pb_vendname = #{record.pb_vendname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_manname != null">
|
|
|
- pb_manname = #{record.pb_manname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_pdamount != null">
|
|
|
- pb_pdamount = #{record.pb_pdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="record.pb_pbdamount != null">
|
|
|
- pb_pbdamount = #{record.pb_pbdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="record.pb_preamount != null">
|
|
|
- pb_preamount = #{record.pb_preamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="record.pb_discounts != null">
|
|
|
- pb_discounts = #{record.pb_discounts,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="record.pb_havebalance != null">
|
|
|
- pb_havebalance = #{record.pb_havebalance,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="record.pb_recorderid != null">
|
|
|
- pb_recorderid = #{record.pb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.pb_recorder != null">
|
|
|
- pb_recorder = #{record.pb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_recorddate != null">
|
|
|
- pb_recorddate = #{record.pb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.pb_status != null">
|
|
|
- pb_status = #{record.pb_status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.pb_statuscode != null">
|
|
|
- pb_statuscode = #{record.pb_statuscode,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="record.pb_remark != null">
|
|
|
- pb_remark = #{record.pb_remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.companyid != null">
|
|
|
- companyid = #{record.companyid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.updaterId != null">
|
|
|
- updaterId = #{record.updaterId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.updatedate != null">
|
|
|
- updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="record.pb_text1 != null">
|
|
|
- pb_text1 = #{record.pb_text1,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_text2 != null">
|
|
|
- pb_text2 = #{record.pb_text2,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_text3 != null">
|
|
|
- pb_text3 = #{record.pb_text3,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_text4 != null">
|
|
|
- pb_text4 = #{record.pb_text4,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.pb_text5 != null">
|
|
|
- pb_text5 = #{record.pb_text5,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- </set>
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
- <update id="updateByExample" parameterType="map">
|
|
|
- update paybalance
|
|
|
- set pb_id = #{record.pb_id,jdbcType=INTEGER},
|
|
|
- pb_code = #{record.pb_code,jdbcType=VARCHAR},
|
|
|
- pb_kind = #{record.pb_kind,jdbcType=VARCHAR},
|
|
|
- pb_date = #{record.pb_date,jdbcType=TIMESTAMP},
|
|
|
- pb_vendid = #{record.pb_vendid,jdbcType=INTEGER},
|
|
|
- pb_vendcode = #{record.pb_vendcode,jdbcType=VARCHAR},
|
|
|
- pb_vendname = #{record.pb_vendname,jdbcType=VARCHAR},
|
|
|
- pb_manname = #{record.pb_manname,jdbcType=VARCHAR},
|
|
|
- pb_pdamount = #{record.pb_pdamount,jdbcType=DOUBLE},
|
|
|
- pb_pbdamount = #{record.pb_pbdamount,jdbcType=DOUBLE},
|
|
|
- pb_preamount = #{record.pb_preamount,jdbcType=DOUBLE},
|
|
|
- pb_discounts = #{record.pb_discounts,jdbcType=DOUBLE},
|
|
|
- pb_havebalance = #{record.pb_havebalance,jdbcType=DOUBLE},
|
|
|
- pb_recorderid = #{record.pb_recorderid,jdbcType=INTEGER},
|
|
|
- pb_recorder = #{record.pb_recorder,jdbcType=VARCHAR},
|
|
|
- pb_recorddate = #{record.pb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- pb_status = #{record.pb_status,jdbcType=INTEGER},
|
|
|
- pb_statuscode = #{record.pb_statuscode,jdbcType=DECIMAL},
|
|
|
- pb_remark = #{record.pb_remark,jdbcType=VARCHAR},
|
|
|
- companyid = #{record.companyid,jdbcType=INTEGER},
|
|
|
- updaterId = #{record.updaterId,jdbcType=INTEGER},
|
|
|
- updatedate = #{record.updatedate,jdbcType=TIMESTAMP},
|
|
|
- pb_text1 = #{record.pb_text1,jdbcType=VARCHAR},
|
|
|
- pb_text2 = #{record.pb_text2,jdbcType=VARCHAR},
|
|
|
- pb_text3 = #{record.pb_text3,jdbcType=VARCHAR},
|
|
|
- pb_text4 = #{record.pb_text4,jdbcType=VARCHAR},
|
|
|
- pb_text5 = #{record.pb_text5,jdbcType=VARCHAR}
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.money.po.Paybalance">
|
|
|
- update paybalance
|
|
|
- <set>
|
|
|
- <if test="pb_code != null">
|
|
|
- pb_code = #{pb_code,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_kind != null">
|
|
|
- pb_kind = #{pb_kind,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_date != null">
|
|
|
- pb_date = #{pb_date,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_vendid != null">
|
|
|
- pb_vendid = #{pb_vendid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_vendcode != null">
|
|
|
- pb_vendcode = #{pb_vendcode,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_vendname != null">
|
|
|
- pb_vendname = #{pb_vendname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_manname != null">
|
|
|
- pb_manname = #{pb_manname,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_pdamount != null">
|
|
|
- pb_pdamount = #{pb_pdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_pbdamount != null">
|
|
|
- pb_pbdamount = #{pb_pbdamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_preamount != null">
|
|
|
- pb_preamount = #{pb_preamount,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_discounts != null">
|
|
|
- pb_discounts = #{pb_discounts,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_havebalance != null">
|
|
|
- pb_havebalance = #{pb_havebalance,jdbcType=DOUBLE},
|
|
|
- </if>
|
|
|
- <if test="pb_recorderid != null">
|
|
|
- pb_recorderid = #{pb_recorderid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_recorder != null">
|
|
|
- pb_recorder = #{pb_recorder,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_recorddate != null">
|
|
|
- pb_recorddate = #{pb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_status != null">
|
|
|
- pb_status = #{pb_status,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="pb_statuscode != null">
|
|
|
- pb_statuscode = #{pb_statuscode,jdbcType=DECIMAL},
|
|
|
- </if>
|
|
|
- <if test="pb_remark != null">
|
|
|
- pb_remark = #{pb_remark,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="companyid != null">
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="updaterId != null">
|
|
|
- updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="updatedate != null">
|
|
|
- updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
- <if test="pb_text1 != null">
|
|
|
- pb_text1 = #{pb_text1,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text2 != null">
|
|
|
- pb_text2 = #{pb_text2,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text3 != null">
|
|
|
- pb_text3 = #{pb_text3,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text4 != null">
|
|
|
- pb_text4 = #{pb_text4,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="pb_text5 != null">
|
|
|
- pb_text5 = #{pb_text5,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- </set>
|
|
|
- where pb_id = #{pb_id,jdbcType=INTEGER}
|
|
|
- </update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.money.po.Paybalance">
|
|
|
- update paybalance
|
|
|
- set pb_code = #{pb_code,jdbcType=VARCHAR},
|
|
|
- pb_kind = #{pb_kind,jdbcType=VARCHAR},
|
|
|
- pb_date = #{pb_date,jdbcType=TIMESTAMP},
|
|
|
- pb_vendid = #{pb_vendid,jdbcType=INTEGER},
|
|
|
- pb_vendcode = #{pb_vendcode,jdbcType=VARCHAR},
|
|
|
- pb_vendname = #{pb_vendname,jdbcType=VARCHAR},
|
|
|
- pb_manname = #{pb_manname,jdbcType=VARCHAR},
|
|
|
- pb_pdamount = #{pb_pdamount,jdbcType=DOUBLE},
|
|
|
- pb_pbdamount = #{pb_pbdamount,jdbcType=DOUBLE},
|
|
|
- pb_preamount = #{pb_preamount,jdbcType=DOUBLE},
|
|
|
- pb_discounts = #{pb_discounts,jdbcType=DOUBLE},
|
|
|
- pb_havebalance = #{pb_havebalance,jdbcType=DOUBLE},
|
|
|
- pb_recorderid = #{pb_recorderid,jdbcType=INTEGER},
|
|
|
- pb_recorder = #{pb_recorder,jdbcType=VARCHAR},
|
|
|
- pb_recorddate = #{pb_recorddate,jdbcType=TIMESTAMP},
|
|
|
- pb_status = #{pb_status,jdbcType=INTEGER},
|
|
|
- pb_statuscode = #{pb_statuscode,jdbcType=DECIMAL},
|
|
|
- pb_remark = #{pb_remark,jdbcType=VARCHAR},
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
- updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
- updatedate = #{updatedate,jdbcType=TIMESTAMP},
|
|
|
- pb_text1 = #{pb_text1,jdbcType=VARCHAR},
|
|
|
- pb_text2 = #{pb_text2,jdbcType=VARCHAR},
|
|
|
- pb_text3 = #{pb_text3,jdbcType=VARCHAR},
|
|
|
- pb_text4 = #{pb_text4,jdbcType=VARCHAR},
|
|
|
- pb_text5 = #{pb_text5,jdbcType=VARCHAR}
|
|
|
- where pb_id = #{pb_id,jdbcType=INTEGER}
|
|
|
- </update>
|
|
|
+
|
|
|
</mapper>
|