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, pid, base_class, belongs_to, type, leader_id, code, name, admin_id, responsible_person,
order_num, address, zip_code, phone, weixin, msn, qq, email, fax, logo, comment,
status, is_valid, update_time, update_user_id, create_time, create_user_id
delete from t_sys_organization
where id = #{id,jdbcType=VARCHAR}
delete from t_sys_organization
insert into t_sys_organization (id, pid, base_class,
belongs_to, type, leader_id,
code, name, admin_id,
responsible_person, order_num, address,
zip_code, phone, weixin,
msn, qq, email, fax,
logo, comment, status,
is_valid, update_time, update_user_id,
create_time, create_user_id)
values (#{id,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, #{baseClass,jdbcType=TINYINT},
#{belongsTo,jdbcType=VARCHAR}, #{type,jdbcType=TINYINT}, #{leaderId,jdbcType=VARCHAR},
#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{adminId,jdbcType=VARCHAR},
#{responsiblePerson,jdbcType=VARCHAR}, #{orderNum,jdbcType=BIGINT}, #{address,jdbcType=VARCHAR},
#{zipCode,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{weixin,jdbcType=VARCHAR},
#{msn,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR},
#{logo,jdbcType=VARCHAR}, #{comment,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT},
#{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updateUserId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=VARCHAR})
insert into t_sys_organization
id,
pid,
base_class,
belongs_to,
type,
leader_id,
code,
name,
admin_id,
responsible_person,
order_num,
address,
zip_code,
phone,
weixin,
msn,
qq,
email,
fax,
logo,
comment,
status,
is_valid,
update_time,
update_user_id,
create_time,
create_user_id,
#{id,jdbcType=VARCHAR},
#{pid,jdbcType=VARCHAR},
#{baseClass,jdbcType=TINYINT},
#{belongsTo,jdbcType=VARCHAR},
#{type,jdbcType=TINYINT},
#{leaderId,jdbcType=VARCHAR},
#{code,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{adminId,jdbcType=VARCHAR},
#{responsiblePerson,jdbcType=VARCHAR},
#{orderNum,jdbcType=BIGINT},
#{address,jdbcType=VARCHAR},
#{zipCode,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{weixin,jdbcType=VARCHAR},
#{msn,jdbcType=VARCHAR},
#{qq,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},
#{fax,jdbcType=VARCHAR},
#{logo,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT},
#{isValid,jdbcType=TINYINT},
#{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
update t_sys_organization
id = #{record.id,jdbcType=VARCHAR},
pid = #{record.pid,jdbcType=VARCHAR},
base_class = #{record.baseClass,jdbcType=TINYINT},
belongs_to = #{record.belongsTo,jdbcType=VARCHAR},
type = #{record.type,jdbcType=TINYINT},
leader_id = #{record.leaderId,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
admin_id = #{record.adminId,jdbcType=VARCHAR},
responsible_person = #{record.responsiblePerson,jdbcType=VARCHAR},
order_num = #{record.orderNum,jdbcType=BIGINT},
address = #{record.address,jdbcType=VARCHAR},
zip_code = #{record.zipCode,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
weixin = #{record.weixin,jdbcType=VARCHAR},
msn = #{record.msn,jdbcType=VARCHAR},
qq = #{record.qq,jdbcType=VARCHAR},
email = #{record.email,jdbcType=VARCHAR},
fax = #{record.fax,jdbcType=VARCHAR},
logo = #{record.logo,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
status = #{record.status,jdbcType=TINYINT},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.updateUserId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_user_id = #{record.createUserId,jdbcType=VARCHAR},
update t_sys_organization
set id = #{record.id,jdbcType=VARCHAR},
pid = #{record.pid,jdbcType=VARCHAR},
base_class = #{record.baseClass,jdbcType=TINYINT},
belongs_to = #{record.belongsTo,jdbcType=VARCHAR},
type = #{record.type,jdbcType=TINYINT},
leader_id = #{record.leaderId,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
admin_id = #{record.adminId,jdbcType=VARCHAR},
responsible_person = #{record.responsiblePerson,jdbcType=VARCHAR},
order_num = #{record.orderNum,jdbcType=BIGINT},
address = #{record.address,jdbcType=VARCHAR},
zip_code = #{record.zipCode,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
weixin = #{record.weixin,jdbcType=VARCHAR},
msn = #{record.msn,jdbcType=VARCHAR},
qq = #{record.qq,jdbcType=VARCHAR},
email = #{record.email,jdbcType=VARCHAR},
fax = #{record.fax,jdbcType=VARCHAR},
logo = #{record.logo,jdbcType=VARCHAR},
comment = #{record.comment,jdbcType=VARCHAR},
status = #{record.status,jdbcType=TINYINT},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.updateUserId,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_user_id = #{record.createUserId,jdbcType=VARCHAR}
update t_sys_organization
pid = #{pid,jdbcType=VARCHAR},
base_class = #{baseClass,jdbcType=TINYINT},
belongs_to = #{belongsTo,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
leader_id = #{leaderId,jdbcType=VARCHAR},
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
admin_id = #{adminId,jdbcType=VARCHAR},
responsible_person = #{responsiblePerson,jdbcType=VARCHAR},
order_num = #{orderNum,jdbcType=BIGINT},
address = #{address,jdbcType=VARCHAR},
zip_code = #{zipCode,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
weixin = #{weixin,jdbcType=VARCHAR},
msn = #{msn,jdbcType=VARCHAR},
qq = #{qq,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
fax = #{fax,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_user_id = #{createUserId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update t_sys_organization
set pid = #{pid,jdbcType=VARCHAR},
base_class = #{baseClass,jdbcType=TINYINT},
belongs_to = #{belongsTo,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
leader_id = #{leaderId,jdbcType=VARCHAR},
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
admin_id = #{adminId,jdbcType=VARCHAR},
responsible_person = #{responsiblePerson,jdbcType=VARCHAR},
order_num = #{orderNum,jdbcType=BIGINT},
address = #{address,jdbcType=VARCHAR},
zip_code = #{zipCode,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
weixin = #{weixin,jdbcType=VARCHAR},
msn = #{msn,jdbcType=VARCHAR},
qq = #{qq,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
fax = #{fax,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
comment = #{comment,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_user_id = #{createUserId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}