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} id, site_name, site_code, longitude, latitude, parent_code, created_at, updated_at, rec_status delete from t_site where id = #{id,jdbcType=BIGINT} delete from t_site insert into t_site (id, site_name, site_code, longitude, latitude, parent_code, created_at, updated_at, rec_status ) values (#{id,jdbcType=BIGINT}, #{siteName,jdbcType=VARCHAR}, #{siteCode,jdbcType=VARCHAR}, #{longitude,jdbcType=DECIMAL}, #{latitude,jdbcType=DECIMAL}, #{parentCode,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} ) insert into t_site id, site_name, site_code, longitude, latitude, parent_code, created_at, updated_at, rec_status, #{id,jdbcType=BIGINT}, #{siteName,jdbcType=VARCHAR}, #{siteCode,jdbcType=VARCHAR}, #{longitude,jdbcType=DECIMAL}, #{latitude,jdbcType=DECIMAL}, #{parentCode,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, update t_site id = #{record.id,jdbcType=BIGINT}, site_name = #{record.siteName,jdbcType=VARCHAR}, site_code = #{record.siteCode,jdbcType=VARCHAR}, longitude = #{record.longitude,jdbcType=DECIMAL}, latitude = #{record.latitude,jdbcType=DECIMAL}, parent_code = #{record.parentCode,jdbcType=VARCHAR}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, rec_status = #{record.recStatus,jdbcType=TINYINT}, update t_site set id = #{record.id,jdbcType=BIGINT}, site_name = #{record.siteName,jdbcType=VARCHAR}, site_code = #{record.siteCode,jdbcType=VARCHAR}, longitude = #{record.longitude,jdbcType=DECIMAL}, latitude = #{record.latitude,jdbcType=DECIMAL}, parent_code = #{record.parentCode,jdbcType=VARCHAR}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, rec_status = #{record.recStatus,jdbcType=TINYINT} update t_site site_name = #{siteName,jdbcType=VARCHAR}, site_code = #{siteCode,jdbcType=VARCHAR}, longitude = #{longitude,jdbcType=DECIMAL}, latitude = #{latitude,jdbcType=DECIMAL}, parent_code = #{parentCode,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, rec_status = #{recStatus,jdbcType=TINYINT}, where id = #{id,jdbcType=BIGINT} update t_site set site_name = #{siteName,jdbcType=VARCHAR}, site_code = #{siteCode,jdbcType=VARCHAR}, longitude = #{longitude,jdbcType=DECIMAL}, latitude = #{latitude,jdbcType=DECIMAL}, parent_code = #{parentCode,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, rec_status = #{recStatus,jdbcType=TINYINT} where id = #{id,jdbcType=BIGINT}