id, countyId, townId, villageId, divideId, blockId, `name`, lng, lat, remarks, `operator`,
operateDt, deleted
delete from pr_intake
where id = #{id,jdbcType=BIGINT}
insert into pr_intake (id, countyId, townId,
villageId, divideId, blockId,
`name`, lng, lat, remarks,
`operator`, operateDt, deleted
)
values (#{id,jdbcType=BIGINT}, #{countyid,jdbcType=BIGINT}, #{townid,jdbcType=BIGINT},
#{villageid,jdbcType=BIGINT}, #{divideid,jdbcType=BIGINT}, #{blockid,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, #{lat,jdbcType=DOUBLE}, #{remarks,jdbcType=VARCHAR},
#{operator,jdbcType=BIGINT}, #{operatedt,jdbcType=TIMESTAMP}, #{deleted,jdbcType=TINYINT}
)
insert into pr_intake
id,
countyId,
townId,
villageId,
divideId,
blockId,
`name`,
lng,
lat,
remarks,
`operator`,
operateDt,
deleted,
#{id,jdbcType=BIGINT},
#{countyid,jdbcType=BIGINT},
#{townid,jdbcType=BIGINT},
#{villageid,jdbcType=BIGINT},
#{divideid,jdbcType=BIGINT},
#{blockid,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{lng,jdbcType=DOUBLE},
#{lat,jdbcType=DOUBLE},
#{remarks,jdbcType=VARCHAR},
#{operator,jdbcType=BIGINT},
#{operatedt,jdbcType=TIMESTAMP},
#{deleted,jdbcType=TINYINT},
update pr_intake
countyId = #{countyid,jdbcType=BIGINT},
townId = #{townid,jdbcType=BIGINT},
villageId = #{villageid,jdbcType=BIGINT},
divideId = #{divideid,jdbcType=BIGINT},
blockId = #{blockid,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
lng = #{lng,jdbcType=DOUBLE},
lat = #{lat,jdbcType=DOUBLE},
remarks = #{remarks,jdbcType=VARCHAR},
`operator` = #{operator,jdbcType=BIGINT},
operateDt = #{operatedt,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update pr_intake
set countyId = #{countyid,jdbcType=BIGINT},
townId = #{townid,jdbcType=BIGINT},
villageId = #{villageid,jdbcType=BIGINT},
divideId = #{divideid,jdbcType=BIGINT},
blockId = #{blockid,jdbcType=BIGINT},
`name` = #{name,jdbcType=VARCHAR},
lng = #{lng,jdbcType=DOUBLE},
lat = #{lat,jdbcType=DOUBLE},
remarks = #{remarks,jdbcType=VARCHAR},
`operator` = #{operator,jdbcType=BIGINT},
operateDt = #{operatedt,jdbcType=TIMESTAMP},
deleted = #{deleted,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}