123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664 |
- <?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.buildManage.mapper.ParkRoomMapper">
- <resultMap id="BaseResultMap" type="com.idea.buildManage.model.ParkRoom">
- <id column="id" jdbcType="VARCHAR" property="id" />
- <result column="build_id" jdbcType="VARCHAR" property="buildId" />
- <result column="disc_id" jdbcType="VARCHAR" property="discId" />
- <result column="group_id" jdbcType="VARCHAR" property="groupId" />
- <result column="room_no" jdbcType="VARCHAR" property="roomNo" />
- <result column="floor" jdbcType="VARCHAR" property="floor" />
- <result column="prediction_internal_area" jdbcType="DOUBLE" property="predictionInternalArea" />
- <result column="prediction_share_area" jdbcType="DOUBLE" property="predictionShareArea" />
- <result column="prediction_build_area" jdbcType="DOUBLE" property="predictionBuildArea" />
- <result column="prediction_land_area" jdbcType="DOUBLE" property="predictionLandArea" />
- <result column="actual_internal_area" jdbcType="DOUBLE" property="actualInternalArea" />
- <result column="actual_share_area" jdbcType="DOUBLE" property="actualShareArea" />
- <result column="actual_build_area" jdbcType="DOUBLE" property="actualBuildArea" />
- <result column="actual_land_area" jdbcType="DOUBLE" property="actualLandArea" />
- <result column="room_use" jdbcType="INTEGER" property="roomUse" />
- <result column="room_number" jdbcType="VARCHAR" property="roomNumber" />
- <result column="decoration_situation" jdbcType="INTEGER" property="decorationSituation" />
- <result column="house_type_id" jdbcType="VARCHAR" property="houseTypeId" />
- <result column="house_type_picture" jdbcType="VARCHAR" property="houseTypePicture" />
- <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="sale_status" jdbcType="INTEGER" property="saleStatus" />
- <result column="sold_status" jdbcType="INTEGER" property="soldStatus" />
- <result column="two_point_two" jdbcType="VARCHAR" property="twoPointTwo" />
- <result column="order_num" jdbcType="VARCHAR" property="orderNum" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.buildManage.model.ParkRoom">
- <result column="remark" jdbcType="LONGVARCHAR" property="remark" />
- </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, build_id, disc_id, group_id, room_no, floor, prediction_internal_area, prediction_share_area,
- prediction_build_area, prediction_land_area, actual_internal_area, actual_share_area,
- actual_build_area, actual_land_area, room_use, room_number, decoration_situation,
- house_type_id, house_type_picture, created_id, created_at, updated_at, updated_id,
- sale_status, sold_status, two_point_two, order_num
- </sql>
- <sql id="Blob_Column_List">
- remark
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.idea.buildManage.model.ParkRoomExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from park_room
- <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.buildManage.model.ParkRoomExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from park_room
- <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 park_room
- where id = #{id,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from park_room
- where id = #{id,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.idea.buildManage.model.ParkRoomExample">
- delete from park_room
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.idea.buildManage.model.ParkRoom">
- insert into park_room (id, build_id, disc_id,
- group_id, room_no, floor,
- prediction_internal_area, prediction_share_area,
- prediction_build_area, prediction_land_area,
- actual_internal_area, actual_share_area, actual_build_area,
- actual_land_area, room_use, room_number,
- decoration_situation, house_type_id, house_type_picture,
- created_id, created_at, updated_at,
- updated_id, sale_status, sold_status,
- two_point_two, order_num, remark
- )
- values (#{id,jdbcType=VARCHAR}, #{buildId,jdbcType=VARCHAR}, #{discId,jdbcType=VARCHAR},
- #{groupId,jdbcType=VARCHAR}, #{roomNo,jdbcType=VARCHAR}, #{floor,jdbcType=VARCHAR},
- #{predictionInternalArea,jdbcType=DOUBLE}, #{predictionShareArea,jdbcType=DOUBLE},
- #{predictionBuildArea,jdbcType=DOUBLE}, #{predictionLandArea,jdbcType=DOUBLE},
- #{actualInternalArea,jdbcType=DOUBLE}, #{actualShareArea,jdbcType=DOUBLE}, #{actualBuildArea,jdbcType=DOUBLE},
- #{actualLandArea,jdbcType=DOUBLE}, #{roomUse,jdbcType=INTEGER}, #{roomNumber,jdbcType=VARCHAR},
- #{decorationSituation,jdbcType=INTEGER}, #{houseTypeId,jdbcType=VARCHAR}, #{houseTypePicture,jdbcType=VARCHAR},
- #{createdId,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
- #{updatedId,jdbcType=VARCHAR}, #{saleStatus,jdbcType=INTEGER}, #{soldStatus,jdbcType=INTEGER},
- #{twoPointTwo,jdbcType=VARCHAR}, #{orderNum,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}
- )
- </insert>
- <insert id="insertSelective" parameterType="com.idea.buildManage.model.ParkRoom">
- insert into park_room
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- id,
- </if>
- <if test="buildId != null">
- build_id,
- </if>
- <if test="discId != null">
- disc_id,
- </if>
- <if test="groupId != null">
- group_id,
- </if>
- <if test="roomNo != null">
- room_no,
- </if>
- <if test="floor != null">
- floor,
- </if>
- <if test="predictionInternalArea != null">
- prediction_internal_area,
- </if>
- <if test="predictionShareArea != null">
- prediction_share_area,
- </if>
- <if test="predictionBuildArea != null">
- prediction_build_area,
- </if>
- <if test="predictionLandArea != null">
- prediction_land_area,
- </if>
- <if test="actualInternalArea != null">
- actual_internal_area,
- </if>
- <if test="actualShareArea != null">
- actual_share_area,
- </if>
- <if test="actualBuildArea != null">
- actual_build_area,
- </if>
- <if test="actualLandArea != null">
- actual_land_area,
- </if>
- <if test="roomUse != null">
- room_use,
- </if>
- <if test="roomNumber != null">
- room_number,
- </if>
- <if test="decorationSituation != null">
- decoration_situation,
- </if>
- <if test="houseTypeId != null">
- house_type_id,
- </if>
- <if test="houseTypePicture != null">
- house_type_picture,
- </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="saleStatus != null">
- sale_status,
- </if>
- <if test="soldStatus != null">
- sold_status,
- </if>
- <if test="twoPointTwo != null">
- two_point_two,
- </if>
- <if test="orderNum != null">
- order_num,
- </if>
- <if test="remark != null">
- remark,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=VARCHAR},
- </if>
- <if test="buildId != null">
- #{buildId,jdbcType=VARCHAR},
- </if>
- <if test="discId != null">
- #{discId,jdbcType=VARCHAR},
- </if>
- <if test="groupId != null">
- #{groupId,jdbcType=VARCHAR},
- </if>
- <if test="roomNo != null">
- #{roomNo,jdbcType=VARCHAR},
- </if>
- <if test="floor != null">
- #{floor,jdbcType=VARCHAR},
- </if>
- <if test="predictionInternalArea != null">
- #{predictionInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionShareArea != null">
- #{predictionShareArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionBuildArea != null">
- #{predictionBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionLandArea != null">
- #{predictionLandArea,jdbcType=DOUBLE},
- </if>
- <if test="actualInternalArea != null">
- #{actualInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="actualShareArea != null">
- #{actualShareArea,jdbcType=DOUBLE},
- </if>
- <if test="actualBuildArea != null">
- #{actualBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="actualLandArea != null">
- #{actualLandArea,jdbcType=DOUBLE},
- </if>
- <if test="roomUse != null">
- #{roomUse,jdbcType=INTEGER},
- </if>
- <if test="roomNumber != null">
- #{roomNumber,jdbcType=VARCHAR},
- </if>
- <if test="decorationSituation != null">
- #{decorationSituation,jdbcType=INTEGER},
- </if>
- <if test="houseTypeId != null">
- #{houseTypeId,jdbcType=VARCHAR},
- </if>
- <if test="houseTypePicture != null">
- #{houseTypePicture,jdbcType=VARCHAR},
- </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="saleStatus != null">
- #{saleStatus,jdbcType=INTEGER},
- </if>
- <if test="soldStatus != null">
- #{soldStatus,jdbcType=INTEGER},
- </if>
- <if test="twoPointTwo != null">
- #{twoPointTwo,jdbcType=VARCHAR},
- </if>
- <if test="orderNum != null">
- #{orderNum,jdbcType=VARCHAR},
- </if>
- <if test="remark != null">
- #{remark,jdbcType=LONGVARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.idea.buildManage.model.ParkRoomExample" resultType="java.lang.Long">
- select count(*) from park_room
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update park_room
- <set>
- <if test="record.id != null">
- id = #{record.id,jdbcType=VARCHAR},
- </if>
- <if test="record.buildId != null">
- build_id = #{record.buildId,jdbcType=VARCHAR},
- </if>
- <if test="record.discId != null">
- disc_id = #{record.discId,jdbcType=VARCHAR},
- </if>
- <if test="record.groupId != null">
- group_id = #{record.groupId,jdbcType=VARCHAR},
- </if>
- <if test="record.roomNo != null">
- room_no = #{record.roomNo,jdbcType=VARCHAR},
- </if>
- <if test="record.floor != null">
- floor = #{record.floor,jdbcType=VARCHAR},
- </if>
- <if test="record.predictionInternalArea != null">
- prediction_internal_area = #{record.predictionInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="record.predictionShareArea != null">
- prediction_share_area = #{record.predictionShareArea,jdbcType=DOUBLE},
- </if>
- <if test="record.predictionBuildArea != null">
- prediction_build_area = #{record.predictionBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="record.predictionLandArea != null">
- prediction_land_area = #{record.predictionLandArea,jdbcType=DOUBLE},
- </if>
- <if test="record.actualInternalArea != null">
- actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="record.actualShareArea != null">
- actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
- </if>
- <if test="record.actualBuildArea != null">
- actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="record.actualLandArea != null">
- actual_land_area = #{record.actualLandArea,jdbcType=DOUBLE},
- </if>
- <if test="record.roomUse != null">
- room_use = #{record.roomUse,jdbcType=INTEGER},
- </if>
- <if test="record.roomNumber != null">
- room_number = #{record.roomNumber,jdbcType=VARCHAR},
- </if>
- <if test="record.decorationSituation != null">
- decoration_situation = #{record.decorationSituation,jdbcType=INTEGER},
- </if>
- <if test="record.houseTypeId != null">
- house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
- </if>
- <if test="record.houseTypePicture != null">
- house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
- </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.saleStatus != null">
- sale_status = #{record.saleStatus,jdbcType=INTEGER},
- </if>
- <if test="record.soldStatus != null">
- sold_status = #{record.soldStatus,jdbcType=INTEGER},
- </if>
- <if test="record.twoPointTwo != null">
- two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR},
- </if>
- <if test="record.orderNum != null">
- order_num = #{record.orderNum,jdbcType=VARCHAR},
- </if>
- <if test="record.remark != null">
- remark = #{record.remark,jdbcType=LONGVARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExampleWithBLOBs" parameterType="map">
- update park_room
- set id = #{record.id,jdbcType=VARCHAR},
- build_id = #{record.buildId,jdbcType=VARCHAR},
- disc_id = #{record.discId,jdbcType=VARCHAR},
- group_id = #{record.groupId,jdbcType=VARCHAR},
- room_no = #{record.roomNo,jdbcType=VARCHAR},
- floor = #{record.floor,jdbcType=VARCHAR},
- prediction_internal_area = #{record.predictionInternalArea,jdbcType=DOUBLE},
- prediction_share_area = #{record.predictionShareArea,jdbcType=DOUBLE},
- prediction_build_area = #{record.predictionBuildArea,jdbcType=DOUBLE},
- prediction_land_area = #{record.predictionLandArea,jdbcType=DOUBLE},
- actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
- actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
- actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
- actual_land_area = #{record.actualLandArea,jdbcType=DOUBLE},
- room_use = #{record.roomUse,jdbcType=INTEGER},
- room_number = #{record.roomNumber,jdbcType=VARCHAR},
- decoration_situation = #{record.decorationSituation,jdbcType=INTEGER},
- house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
- house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
- created_id = #{record.createdId,jdbcType=VARCHAR},
- created_at = #{record.createdAt,jdbcType=TIMESTAMP},
- updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{record.updatedId,jdbcType=VARCHAR},
- sale_status = #{record.saleStatus,jdbcType=INTEGER},
- sold_status = #{record.soldStatus,jdbcType=INTEGER},
- two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR},
- order_num = #{record.orderNum,jdbcType=VARCHAR},
- remark = #{record.remark,jdbcType=LONGVARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update park_room
- set id = #{record.id,jdbcType=VARCHAR},
- build_id = #{record.buildId,jdbcType=VARCHAR},
- disc_id = #{record.discId,jdbcType=VARCHAR},
- group_id = #{record.groupId,jdbcType=VARCHAR},
- room_no = #{record.roomNo,jdbcType=VARCHAR},
- floor = #{record.floor,jdbcType=VARCHAR},
- prediction_internal_area = #{record.predictionInternalArea,jdbcType=DOUBLE},
- prediction_share_area = #{record.predictionShareArea,jdbcType=DOUBLE},
- prediction_build_area = #{record.predictionBuildArea,jdbcType=DOUBLE},
- prediction_land_area = #{record.predictionLandArea,jdbcType=DOUBLE},
- actual_internal_area = #{record.actualInternalArea,jdbcType=DOUBLE},
- actual_share_area = #{record.actualShareArea,jdbcType=DOUBLE},
- actual_build_area = #{record.actualBuildArea,jdbcType=DOUBLE},
- actual_land_area = #{record.actualLandArea,jdbcType=DOUBLE},
- room_use = #{record.roomUse,jdbcType=INTEGER},
- room_number = #{record.roomNumber,jdbcType=VARCHAR},
- decoration_situation = #{record.decorationSituation,jdbcType=INTEGER},
- house_type_id = #{record.houseTypeId,jdbcType=VARCHAR},
- house_type_picture = #{record.houseTypePicture,jdbcType=VARCHAR},
- created_id = #{record.createdId,jdbcType=VARCHAR},
- created_at = #{record.createdAt,jdbcType=TIMESTAMP},
- updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{record.updatedId,jdbcType=VARCHAR},
- sale_status = #{record.saleStatus,jdbcType=INTEGER},
- sold_status = #{record.soldStatus,jdbcType=INTEGER},
- two_point_two = #{record.twoPointTwo,jdbcType=VARCHAR},
- order_num = #{record.orderNum,jdbcType=VARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.idea.buildManage.model.ParkRoom">
- update park_room
- <set>
- <if test="buildId != null">
- build_id = #{buildId,jdbcType=VARCHAR},
- </if>
- <if test="discId != null">
- disc_id = #{discId,jdbcType=VARCHAR},
- </if>
- <if test="groupId != null">
- group_id = #{groupId,jdbcType=VARCHAR},
- </if>
- <if test="roomNo != null">
- room_no = #{roomNo,jdbcType=VARCHAR},
- </if>
- <if test="floor != null">
- floor = #{floor,jdbcType=VARCHAR},
- </if>
- <if test="predictionInternalArea != null">
- prediction_internal_area = #{predictionInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionShareArea != null">
- prediction_share_area = #{predictionShareArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionBuildArea != null">
- prediction_build_area = #{predictionBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="predictionLandArea != null">
- prediction_land_area = #{predictionLandArea,jdbcType=DOUBLE},
- </if>
- <if test="actualInternalArea != null">
- actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
- </if>
- <if test="actualShareArea != null">
- actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
- </if>
- <if test="actualBuildArea != null">
- actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
- </if>
- <if test="actualLandArea != null">
- actual_land_area = #{actualLandArea,jdbcType=DOUBLE},
- </if>
- <if test="roomUse != null">
- room_use = #{roomUse,jdbcType=INTEGER},
- </if>
- <if test="roomNumber != null">
- room_number = #{roomNumber,jdbcType=VARCHAR},
- </if>
- <if test="decorationSituation != null">
- decoration_situation = #{decorationSituation,jdbcType=INTEGER},
- </if>
- <if test="houseTypeId != null">
- house_type_id = #{houseTypeId,jdbcType=VARCHAR},
- </if>
- <if test="houseTypePicture != null">
- house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
- </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="saleStatus != null">
- sale_status = #{saleStatus,jdbcType=INTEGER},
- </if>
- <if test="soldStatus != null">
- sold_status = #{soldStatus,jdbcType=INTEGER},
- </if>
- <if test="twoPointTwo != null">
- two_point_two = #{twoPointTwo,jdbcType=VARCHAR},
- </if>
- <if test="orderNum != null">
- order_num = #{orderNum,jdbcType=VARCHAR},
- </if>
- <if test="remark != null">
- remark = #{remark,jdbcType=LONGVARCHAR},
- </if>
- </set>
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.idea.buildManage.model.ParkRoom">
- update park_room
- set build_id = #{buildId,jdbcType=VARCHAR},
- disc_id = #{discId,jdbcType=VARCHAR},
- group_id = #{groupId,jdbcType=VARCHAR},
- room_no = #{roomNo,jdbcType=VARCHAR},
- floor = #{floor,jdbcType=VARCHAR},
- prediction_internal_area = #{predictionInternalArea,jdbcType=DOUBLE},
- prediction_share_area = #{predictionShareArea,jdbcType=DOUBLE},
- prediction_build_area = #{predictionBuildArea,jdbcType=DOUBLE},
- prediction_land_area = #{predictionLandArea,jdbcType=DOUBLE},
- actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
- actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
- actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
- actual_land_area = #{actualLandArea,jdbcType=DOUBLE},
- room_use = #{roomUse,jdbcType=INTEGER},
- room_number = #{roomNumber,jdbcType=VARCHAR},
- decoration_situation = #{decorationSituation,jdbcType=INTEGER},
- house_type_id = #{houseTypeId,jdbcType=VARCHAR},
- house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
- created_id = #{createdId,jdbcType=VARCHAR},
- created_at = #{createdAt,jdbcType=TIMESTAMP},
- updated_at = #{updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{updatedId,jdbcType=VARCHAR},
- sale_status = #{saleStatus,jdbcType=INTEGER},
- sold_status = #{soldStatus,jdbcType=INTEGER},
- two_point_two = #{twoPointTwo,jdbcType=VARCHAR},
- order_num = #{orderNum,jdbcType=VARCHAR},
- remark = #{remark,jdbcType=LONGVARCHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.idea.buildManage.model.ParkRoom">
- update park_room
- set build_id = #{buildId,jdbcType=VARCHAR},
- disc_id = #{discId,jdbcType=VARCHAR},
- group_id = #{groupId,jdbcType=VARCHAR},
- room_no = #{roomNo,jdbcType=VARCHAR},
- floor = #{floor,jdbcType=VARCHAR},
- prediction_internal_area = #{predictionInternalArea,jdbcType=DOUBLE},
- prediction_share_area = #{predictionShareArea,jdbcType=DOUBLE},
- prediction_build_area = #{predictionBuildArea,jdbcType=DOUBLE},
- prediction_land_area = #{predictionLandArea,jdbcType=DOUBLE},
- actual_internal_area = #{actualInternalArea,jdbcType=DOUBLE},
- actual_share_area = #{actualShareArea,jdbcType=DOUBLE},
- actual_build_area = #{actualBuildArea,jdbcType=DOUBLE},
- actual_land_area = #{actualLandArea,jdbcType=DOUBLE},
- room_use = #{roomUse,jdbcType=INTEGER},
- room_number = #{roomNumber,jdbcType=VARCHAR},
- decoration_situation = #{decorationSituation,jdbcType=INTEGER},
- house_type_id = #{houseTypeId,jdbcType=VARCHAR},
- house_type_picture = #{houseTypePicture,jdbcType=VARCHAR},
- created_id = #{createdId,jdbcType=VARCHAR},
- created_at = #{createdAt,jdbcType=TIMESTAMP},
- updated_at = #{updatedAt,jdbcType=TIMESTAMP},
- updated_id = #{updatedId,jdbcType=VARCHAR},
- sale_status = #{saleStatus,jdbcType=INTEGER},
- sold_status = #{soldStatus,jdbcType=INTEGER},
- two_point_two = #{twoPointTwo,jdbcType=VARCHAR},
- order_num = #{orderNum,jdbcType=VARCHAR}
- where id = #{id,jdbcType=VARCHAR}
- </update>
- </mapper>
|