and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} facilityID, facilityPositionID, companyID, serialNumber, provice, city, county, town, village, dataStatus, createTime, creator, updatetime, updator ${fields} delete from t_facility insert into t_facility (facilityID, facilityPositionID, companyID, serialNumber, provice, city, county, town, village, dataStatus, createTime, creator, updatetime, updator) values (#{facilityid,jdbcType=VARCHAR}, #{facilitypositionid,jdbcType=VARCHAR}, #{companyid,jdbcType=VARCHAR}, #{serialnumber,jdbcType=VARCHAR}, #{provice,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{county,jdbcType=VARCHAR}, #{town,jdbcType=VARCHAR}, #{village,jdbcType=VARCHAR}, #{datastatus,jdbcType=TINYINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=VARCHAR}) insert into t_facility facilityID, facilityPositionID, companyID, serialNumber, provice, city, county, town, village, dataStatus, createTime, creator, updatetime, updator, #{facilityid,jdbcType=VARCHAR}, #{facilitypositionid,jdbcType=VARCHAR}, #{companyid,jdbcType=VARCHAR}, #{serialnumber,jdbcType=VARCHAR}, #{provice,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{county,jdbcType=VARCHAR}, #{town,jdbcType=VARCHAR}, #{village,jdbcType=VARCHAR}, #{datastatus,jdbcType=TINYINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=VARCHAR}, update t_facility facilityID = #{record.facilityid,jdbcType=VARCHAR}, facilityPositionID = #{record.facilitypositionid,jdbcType=VARCHAR}, companyID = #{record.companyid,jdbcType=VARCHAR}, serialNumber = #{record.serialnumber,jdbcType=VARCHAR}, provice = #{record.provice,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, county = #{record.county,jdbcType=VARCHAR}, town = #{record.town,jdbcType=VARCHAR}, village = #{record.village,jdbcType=VARCHAR}, dataStatus = #{record.datastatus,jdbcType=TINYINT}, createTime = #{record.createtime,jdbcType=TIMESTAMP}, creator = #{record.creator,jdbcType=VARCHAR}, updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, updator = #{record.updator,jdbcType=VARCHAR}, update t_facility set facilityID = #{record.facilityid,jdbcType=VARCHAR}, facilityPositionID = #{record.facilitypositionid,jdbcType=VARCHAR}, companyID = #{record.companyid,jdbcType=VARCHAR}, serialNumber = #{record.serialnumber,jdbcType=VARCHAR}, provice = #{record.provice,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, county = #{record.county,jdbcType=VARCHAR}, town = #{record.town,jdbcType=VARCHAR}, village = #{record.village,jdbcType=VARCHAR}, dataStatus = #{record.datastatus,jdbcType=TINYINT}, createTime = #{record.createtime,jdbcType=TIMESTAMP}, creator = #{record.creator,jdbcType=VARCHAR}, updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, updator = #{record.updator,jdbcType=VARCHAR}