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, company_id, building_id, class_id, `name`, remark, flag, created_by, created_at
delete from dashboard_device_group
where id = #{id,jdbcType=BIGINT}
delete from dashboard_device_group
SELECT LAST_INSERT_ID()
insert into dashboard_device_group (company_id, building_id, class_id,
`name`, remark, flag,
created_by, created_at)
values (#{companyId,jdbcType=BIGINT}, #{buildingId,jdbcType=BIGINT}, #{classId,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{flag,jdbcType=INTEGER},
#{createdBy,jdbcType=BIGINT}, #{createdAt,jdbcType=BIGINT})
SELECT LAST_INSERT_ID()
insert into dashboard_device_group
company_id,
building_id,
class_id,
`name`,
remark,
flag,
created_by,
created_at,
#{companyId,jdbcType=BIGINT},
#{buildingId,jdbcType=BIGINT},
#{classId,jdbcType=INTEGER},
#{name,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{flag,jdbcType=INTEGER},
#{createdBy,jdbcType=BIGINT},
#{createdAt,jdbcType=BIGINT},
update dashboard_device_group
id = #{record.id,jdbcType=BIGINT},
company_id = #{record.companyId,jdbcType=BIGINT},
building_id = #{record.buildingId,jdbcType=BIGINT},
class_id = #{record.classId,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
flag = #{record.flag,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=BIGINT},
update dashboard_device_group
set id = #{record.id,jdbcType=BIGINT},
company_id = #{record.companyId,jdbcType=BIGINT},
building_id = #{record.buildingId,jdbcType=BIGINT},
class_id = #{record.classId,jdbcType=INTEGER},
`name` = #{record.name,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
flag = #{record.flag,jdbcType=INTEGER},
created_by = #{record.createdBy,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=BIGINT}
update dashboard_device_group
company_id = #{companyId,jdbcType=BIGINT},
building_id = #{buildingId,jdbcType=BIGINT},
class_id = #{classId,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
flag = #{flag,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update dashboard_device_group
set company_id = #{companyId,jdbcType=BIGINT},
building_id = #{buildingId,jdbcType=BIGINT},
class_id = #{classId,jdbcType=INTEGER},
`name` = #{name,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
flag = #{flag,jdbcType=INTEGER},
created_by = #{createdBy,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}