123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604 |
- <?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.idea.customerManagement.mapper.RoomSelectionInfoMapper">
- <resultMap id="BaseResultMap" type="com.idea.customerManagement.model.RoomSelectionInfo">
- <id column="id" jdbcType="VARCHAR" property="id" />
- <result column="customer_management_id" jdbcType="VARCHAR" property="customerManagementId" />
- <result column="group_id" jdbcType="VARCHAR" property="groupId" />
- <result column="disc_id" jdbcType="VARCHAR" property="discId" />
- <result column="build_id" jdbcType="VARCHAR" property="buildId" />
- <result column="house_id" jdbcType="VARCHAR" property="houseId" />
- <result column="status" jdbcType="INTEGER" property="status" />
- <result column="receivable_money" jdbcType="DECIMAL" property="receivableMoney" />
- <result column="received_amount" jdbcType="DECIMAL" property="receivedAmount" />
- <result column="payment_method" jdbcType="INTEGER" property="paymentMethod" />
- <result column="serial_number" jdbcType="VARCHAR" property="serialNumber" />
- <result column="collection_id" jdbcType="VARCHAR" property="collectionId" />
- <result column="collection_time" jdbcType="TIMESTAMP" property="collectionTime" />
- <result column="created_id" jdbcType="VARCHAR" property="createdId" />
- <result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
- <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
- <result column="updated_id" jdbcType="VARCHAR" property="updatedId" />
- <result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
- <result column="nc_bank_serial_id" jdbcType="VARCHAR" property="ncBankSerialId" />
- <result column="bank_name" jdbcType="VARCHAR" property="bankName" />
- <result column="bank_branch_name" jdbcType="VARCHAR" property="bankBranchName" />
- <result column="bank_number" jdbcType="CHAR" property="bankNumber" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.customerManagement.model.RoomSelectionInfo">
- <result column="remark" jdbcType="LONGVARCHAR" property="remark" />
- <result column="file_list" jdbcType="LONGVARCHAR" property="fileList" />
- <result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
- </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">
- id, customer_management_id, group_id, disc_id, build_id, house_id, status, receivable_money,
- received_amount, payment_method, serial_number, collection_id, collection_time, created_id,
- created_at, updated_at, updated_id, nc_code, nc_bank_serial_id, bank_name, bank_branch_name,
- bank_number
- </sql>
- <sql id="Blob_Column_List">
- remark, file_list, nc_json
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.idea.customerManagement.model.RoomSelectionInfoExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from room_selection_info
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByExample" parameterType="com.idea.customerManagement.model.RoomSelectionInfoExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from room_selection_info
- <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.String" resultMap="ResultMapWithBLOBs">
- select
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from room_selection_info
- where id = #{id,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from room_selection_info
- where id = #{id,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.idea.customerManagement.model.RoomSelectionInfoExample">
- delete from room_selection_info
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
- insert into room_selection_info (id, customer_management_id, group_id,
- disc_id, build_id, house_id,
- status, receivable_money, received_amount,
- payment_method, serial_number, collection_id,
- collection_time, created_id, created_at,
- updated_at, updated_id, nc_code,
- nc_bank_serial_id, bank_name, bank_branch_name,
- bank_number, remark, file_list,
- nc_json)
- values (#{id,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR}, #{groupId,jdbcType=VARCHAR},
- #{discId,jdbcType=VARCHAR}, #{buildId,jdbcType=VARCHAR}, #{houseId,jdbcType=VARCHAR},
- #{status,jdbcType=INTEGER}, #{receivableMoney,jdbcType=DECIMAL}, #{receivedAmount,jdbcType=DECIMAL},
- #{paymentMethod,jdbcType=INTEGER}, #{serialNumber,jdbcType=VARCHAR}, #{collectionId,jdbcType=VARCHAR},
- #{collectionTime,jdbcType=TIMESTAMP}, #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP},
- #{updatedAt,jdbcType=TIMESTAMP}, #{updatedId,jdbcType=VARCHAR}, #{ncCode,jdbcType=VARCHAR},
- #{ncBankSerialId,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR}, #{bankBranchName,jdbcType=VARCHAR},
- #{bankNumber,jdbcType=CHAR}, #{remark,jdbcType=LONGVARCHAR}, #{fileList,jdbcType=LONGVARCHAR},
- #{ncJson,jdbcType=LONGVARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
- insert into room_selection_info
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- id,
- </if>
- <if test="customerManagementId != null">
- customer_management_id,
- </if>
- <if test="groupId != null">
- group_id,
- </if>
- <if test="discId != null">
- disc_id,
- </if>
- <if test="buildId != null">
- build_id,
- </if>
- <if test="houseId != null">
- house_id,
- </if>
- <if test="status != null">
- status,
- </if>
- <if test="receivableMoney != null">
- receivable_money,
- </if>
- <if test="receivedAmount != null">
- received_amount,
- </if>
- <if test="paymentMethod != null">
- payment_method,
- </if>
- <if test="serialNumber != null">
- serial_number,
- </if>
- <if test="collectionId != null">
- collection_id,
- </if>
- <if test="collectionTime != null">
- collection_time,
- </if>
- <if test="createdId != null">
- created_id,
- </if>
- <if test="createdAt != null">
- created_at,
- </if>
- <if test="updatedAt != null">
- updated_at,
- </if>
- <if test="updatedId != null">
- updated_id,
- </if>
- <if test="ncCode != null">
- nc_code,
- </if>
- <if test="ncBankSerialId != null">
- nc_bank_serial_id,
- </if>
- <if test="bankName != null">
- bank_name,
- </if>
- <if test="bankBranchName != null">
- bank_branch_name,
- </if>
- <if test="bankNumber != null">
- bank_number,
- </if>
- <if test="remark != null">
- remark,
- </if>
- <if test="fileList != null">
- file_list,
- </if>
- <if test="ncJson != null">
- nc_json,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=VARCHAR},
- </if>
- <if test="customerManagementId != null">
- #{customerManagementId,jdbcType=VARCHAR},
- </if>
- <if test="groupId != null">
- #{groupId,jdbcType=VARCHAR},
- </if>
- <if test="discId != null">
- #{discId,jdbcType=VARCHAR},
- </if>
- <if test="buildId != null">
- #{buildId,jdbcType=VARCHAR},
- </if>
- <if test="houseId != null">
- #{houseId,jdbcType=VARCHAR},
- </if>
- <if test="status != null">
- #{status,jdbcType=INTEGER},
- </if>
- <if test="receivableMoney != null">
- #{receivableMoney,jdbcType=DECIMAL},
- </if>
- <if test="receivedAmount != null">
- #{receivedAmount,jdbcType=DECIMAL},
- </if>
- <if test="paymentMethod != null">
- #{paymentMethod,jdbcType=INTEGER},
- </if>
- <if test="serialNumber != null">
- #{serialNumber,jdbcType=VARCHAR},
- </if>
- <if test="collectionId != null">
- #{collectionId,jdbcType=VARCHAR},
- </if>
- <if test="collectionTime != null">
- #{collectionTime,jdbcType=TIMESTAMP},
- </if>
- <if test="createdId != null">
- #{createdId,jdbcType=VARCHAR},
- </if>
- <if test="createdAt != null">
- #{createdAt,jdbcType=TIMESTAMP},
- </if>
- <if test="updatedAt != null">
- #{updatedAt,jdbcType=TIMESTAMP},
- </if>
- <if test="updatedId != null">
- #{updatedId,jdbcType=VARCHAR},
- </if>
- <if test="ncCode != null">
- #{ncCode,jdbcType=VARCHAR},
- </if>
- <if test="ncBankSerialId != null">
- #{ncBankSerialId,jdbcType=VARCHAR},
- </if>
- <if test="bankName != null">
- #{bankName,jdbcType=VARCHAR},
- </if>
- <if test="bankBranchName != null">
- #{bankBranchName,jdbcType=VARCHAR},
- </if>
- <if test="bankNumber != null">
- #{bankNumber,jdbcType=CHAR},
- </if>
- <if test="remark != null">
- #{remark,jdbcType=LONGVARCHAR},
- </if>
- <if test="fileList != null">
- #{fileList,jdbcType=LONGVARCHAR},
- </if>
- <if test="ncJson != null">
- #{ncJson,jdbcType=LONGVARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.idea.customerManagement.model.RoomSelectionInfoExample" resultType="java.lang.Long">
- select count(*) from room_selection_info
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update room_selection_info
- <set>
- <if test="record.id != null">
- id = #{record.id,jdbcType=VARCHAR},
- </if>
- <if test="record.customerManagementId != null">
- customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
- </if>
- <if test="record.groupId != null">
- group_id = #{record.groupId,jdbcType=VARCHAR},
- </if>
- <if test="record.discId != null">
- disc_id = #{record.discId,jdbcType=VARCHAR},
- </if>
- <if test="record.buildId != null">
- build_id = #{record.buildId,jdbcType=VARCHAR},
- </if>
- <if test="record.houseId != null">
- house_id = #{record.houseId,jdbcType=VARCHAR},
- </if>
- <if test="record.status != null">
- status = #{record.status,jdbcType=INTEGER},
- </if>
- <if test="record.receivableMoney != null">
- receivable_money = #{record.receivableMoney,jdbcType=DECIMAL},
- </if>
- <if test="record.receivedAmount != null">
- received_amount = #{record.receivedAmount,jdbcType=DECIMAL},
- </if>
- <if test="record.paymentMethod != null">
- payment_method = #{record.paymentMethod,jdbcType=INTEGER},
- </if>
- <if test="record.serialNumber != null">
- serial_number = #{record.serialNumber,jdbcType=VARCHAR},
- </if>
- <if test="record.collectionId != null">
- collection_id = #{record.collectionId,jdbcType=VARCHAR},
- </if>
- <if test="record.collectionTime != null">
- collection_time = #{record.collectionTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.createdId != null">
- created_id = #{record.createdId,jdbcType=VARCHAR},
- </if>
- <if test="record.createdAt != null">
- created_at = #{record.createdAt,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updatedAt != null">
- updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updatedId != null">
- updated_id = #{record.updatedId,jdbcType=VARCHAR},
- </if>
- <if test="record.ncCode != null">
- nc_code = #{record.ncCode,jdbcType=VARCHAR},
- </if>
- <if test="record.ncBankSerialId != null">
- nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
- </if>
- <if test="record.bankName != null">
- bank_name = #{record.bankName,jdbcType=VARCHAR},
- </if>
- <if test="record.bankBranchName != null">
- bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
- </if>
- <if test="record.bankNumber != null">
- bank_number = #{record.bankNumber,jdbcType=CHAR},
- </if>
- <if test="record.remark != null">
- remark = #{record.remark,jdbcType=LONGVARCHAR},
- </if>
- <if test="record.fileList != null">
- file_list = #{record.fileList,jdbcType=LONGVARCHAR},
- </if>
- <if test="record.ncJson != null">
- nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExampleWithBLOBs" parameterType="map">
- update room_selection_info
- set id = #{record.id,jdbcType=VARCHAR},
- customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
- group_id = #{record.groupId,jdbcType=VARCHAR},
- disc_id = #{record.discId,jdbcType=VARCHAR},
- build_id = #{record.buildId,jdbcType=VARCHAR},
- house_id = #{record.houseId,jdbcType=VARCHAR},
- status = #{record.status,jdbcType=INTEGER},
- receivable_money = #{record.receivableMoney,jdbcType=DECIMAL},
- received_amount = #{record.receivedAmount,jdbcType=DECIMAL},
- payment_method = #{record.paymentMethod,jdbcType=INTEGER},
- serial_number = #{record.serialNumber,jdbcType=VARCHAR},
- collection_id = #{record.collectionId,jdbcType=VARCHAR},
- collection_time = #{record.collectionTime,jdbcType=TIMESTAMP},
- created_id = #{record.createdId,jdbcType=VARCHAR},
- created_at = #{record.createdAt,jdbcType=TIMESTAMP},
- updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{record.updatedId,jdbcType=VARCHAR},
- nc_code = #{record.ncCode,jdbcType=VARCHAR},
- nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
- bank_name = #{record.bankName,jdbcType=VARCHAR},
- bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
- bank_number = #{record.bankNumber,jdbcType=CHAR},
- remark = #{record.remark,jdbcType=LONGVARCHAR},
- file_list = #{record.fileList,jdbcType=LONGVARCHAR},
- nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update room_selection_info
- set id = #{record.id,jdbcType=VARCHAR},
- customer_management_id = #{record.customerManagementId,jdbcType=VARCHAR},
- group_id = #{record.groupId,jdbcType=VARCHAR},
- disc_id = #{record.discId,jdbcType=VARCHAR},
- build_id = #{record.buildId,jdbcType=VARCHAR},
- house_id = #{record.houseId,jdbcType=VARCHAR},
- status = #{record.status,jdbcType=INTEGER},
- receivable_money = #{record.receivableMoney,jdbcType=DECIMAL},
- received_amount = #{record.receivedAmount,jdbcType=DECIMAL},
- payment_method = #{record.paymentMethod,jdbcType=INTEGER},
- serial_number = #{record.serialNumber,jdbcType=VARCHAR},
- collection_id = #{record.collectionId,jdbcType=VARCHAR},
- collection_time = #{record.collectionTime,jdbcType=TIMESTAMP},
- created_id = #{record.createdId,jdbcType=VARCHAR},
- created_at = #{record.createdAt,jdbcType=TIMESTAMP},
- updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{record.updatedId,jdbcType=VARCHAR},
- nc_code = #{record.ncCode,jdbcType=VARCHAR},
- nc_bank_serial_id = #{record.ncBankSerialId,jdbcType=VARCHAR},
- bank_name = #{record.bankName,jdbcType=VARCHAR},
- bank_branch_name = #{record.bankBranchName,jdbcType=VARCHAR},
- bank_number = #{record.bankNumber,jdbcType=CHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
- update room_selection_info
- <set>
- <if test="customerManagementId != null">
- customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
- </if>
- <if test="groupId != null">
- group_id = #{groupId,jdbcType=VARCHAR},
- </if>
- <if test="discId != null">
- disc_id = #{discId,jdbcType=VARCHAR},
- </if>
- <if test="buildId != null">
- build_id = #{buildId,jdbcType=VARCHAR},
- </if>
- <if test="houseId != null">
- house_id = #{houseId,jdbcType=VARCHAR},
- </if>
- <if test="status != null">
- status = #{status,jdbcType=INTEGER},
- </if>
- <if test="receivableMoney != null">
- receivable_money = #{receivableMoney,jdbcType=DECIMAL},
- </if>
- <if test="receivedAmount != null">
- received_amount = #{receivedAmount,jdbcType=DECIMAL},
- </if>
- <if test="paymentMethod != null">
- payment_method = #{paymentMethod,jdbcType=INTEGER},
- </if>
- <if test="serialNumber != null">
- serial_number = #{serialNumber,jdbcType=VARCHAR},
- </if>
- <if test="collectionId != null">
- collection_id = #{collectionId,jdbcType=VARCHAR},
- </if>
- <if test="collectionTime != null">
- collection_time = #{collectionTime,jdbcType=TIMESTAMP},
- </if>
- <if test="createdId != null">
- created_id = #{createdId,jdbcType=VARCHAR},
- </if>
- <if test="createdAt != null">
- created_at = #{createdAt,jdbcType=TIMESTAMP},
- </if>
- <if test="updatedAt != null">
- updated_at = #{updatedAt,jdbcType=TIMESTAMP},
- </if>
- <if test="updatedId != null">
- updated_id = #{updatedId,jdbcType=VARCHAR},
- </if>
- <if test="ncCode != null">
- nc_code = #{ncCode,jdbcType=VARCHAR},
- </if>
- <if test="ncBankSerialId != null">
- nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
- </if>
- <if test="bankName != null">
- bank_name = #{bankName,jdbcType=VARCHAR},
- </if>
- <if test="bankBranchName != null">
- bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
- </if>
- <if test="bankNumber != null">
- bank_number = #{bankNumber,jdbcType=CHAR},
- </if>
- <if test="remark != null">
- remark = #{remark,jdbcType=LONGVARCHAR},
- </if>
- <if test="fileList != null">
- file_list = #{fileList,jdbcType=LONGVARCHAR},
- </if>
- <if test="ncJson != null">
- nc_json = #{ncJson,jdbcType=LONGVARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
- update room_selection_info
- set customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
- group_id = #{groupId,jdbcType=VARCHAR},
- disc_id = #{discId,jdbcType=VARCHAR},
- build_id = #{buildId,jdbcType=VARCHAR},
- house_id = #{houseId,jdbcType=VARCHAR},
- status = #{status,jdbcType=INTEGER},
- receivable_money = #{receivableMoney,jdbcType=DECIMAL},
- received_amount = #{receivedAmount,jdbcType=DECIMAL},
- payment_method = #{paymentMethod,jdbcType=INTEGER},
- serial_number = #{serialNumber,jdbcType=VARCHAR},
- collection_id = #{collectionId,jdbcType=VARCHAR},
- collection_time = #{collectionTime,jdbcType=TIMESTAMP},
- created_id = #{createdId,jdbcType=VARCHAR},
- created_at = #{createdAt,jdbcType=TIMESTAMP},
- updated_at = #{updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{updatedId,jdbcType=VARCHAR},
- nc_code = #{ncCode,jdbcType=VARCHAR},
- nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
- bank_name = #{bankName,jdbcType=VARCHAR},
- bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
- bank_number = #{bankNumber,jdbcType=CHAR},
- remark = #{remark,jdbcType=LONGVARCHAR},
- file_list = #{fileList,jdbcType=LONGVARCHAR},
- nc_json = #{ncJson,jdbcType=LONGVARCHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.idea.customerManagement.model.RoomSelectionInfo">
- update room_selection_info
- set customer_management_id = #{customerManagementId,jdbcType=VARCHAR},
- group_id = #{groupId,jdbcType=VARCHAR},
- disc_id = #{discId,jdbcType=VARCHAR},
- build_id = #{buildId,jdbcType=VARCHAR},
- house_id = #{houseId,jdbcType=VARCHAR},
- status = #{status,jdbcType=INTEGER},
- receivable_money = #{receivableMoney,jdbcType=DECIMAL},
- received_amount = #{receivedAmount,jdbcType=DECIMAL},
- payment_method = #{paymentMethod,jdbcType=INTEGER},
- serial_number = #{serialNumber,jdbcType=VARCHAR},
- collection_id = #{collectionId,jdbcType=VARCHAR},
- collection_time = #{collectionTime,jdbcType=TIMESTAMP},
- created_id = #{createdId,jdbcType=VARCHAR},
- created_at = #{createdAt,jdbcType=TIMESTAMP},
- updated_at = #{updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{updatedId,jdbcType=VARCHAR},
- nc_code = #{ncCode,jdbcType=VARCHAR},
- nc_bank_serial_id = #{ncBankSerialId,jdbcType=VARCHAR},
- bank_name = #{bankName,jdbcType=VARCHAR},
- bank_branch_name = #{bankBranchName,jdbcType=VARCHAR},
- bank_number = #{bankNumber,jdbcType=CHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
- </mapper>
|