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, parent_id, org_id_path, org_name, org_code, unit_type, address, tenant_id
delete from sys_org
insert into sys_org
id,
parent_id,
org_id_path,
org_name,
org_code,
unit_type,
address,
tenant_id,
#{id,jdbcType=BIGINT},
#{parentId,jdbcType=BIGINT},
#{orgIdPath,jdbcType=VARCHAR},
#{orgName,jdbcType=VARCHAR},
#{orgCode,jdbcType=VARCHAR},
#{unitType,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{tenantId,jdbcType=BIGINT},
update sys_org
id = #{record.id,jdbcType=BIGINT},
parent_id = #{record.parentId,jdbcType=BIGINT},
org_id_path = #{record.orgIdPath,jdbcType=VARCHAR},
org_name = #{record.orgName,jdbcType=VARCHAR},
org_code = #{record.orgCode,jdbcType=VARCHAR},
unit_type = #{record.unitType,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
tenant_id = #{record.tenantId,jdbcType=BIGINT},
update sys_org
set id = #{record.id,jdbcType=BIGINT},
parent_id = #{record.parentId,jdbcType=BIGINT},
org_id_path = #{record.orgIdPath,jdbcType=VARCHAR},
org_name = #{record.orgName,jdbcType=VARCHAR},
org_code = #{record.orgCode,jdbcType=VARCHAR},
unit_type = #{record.unitType,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
tenant_id = #{record.tenantId,jdbcType=BIGINT}
update sys_org
parent_id = #{parentId,jdbcType=BIGINT},
org_id_path = #{orgIdPath,jdbcType=VARCHAR},
org_name = #{orgName,jdbcType=VARCHAR},
org_code = #{orgCode,jdbcType=VARCHAR},
unit_type = #{unitType,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
tenant_id = #{tenantId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}