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, code, name, outerphone, innerphone, supervisor, supervisorassistant, fax, zipcode,
address, parentid, status, deplevel, isdeleted, remark, createtime, updatetime
delete from organization_master
where id = #{id,jdbcType=VARCHAR}
delete from organization_master
insert into organization_master (id, code, name,
outerphone, innerphone, supervisor,
supervisorassistant, fax, zipcode,
address, parentid, status,
deplevel, isdeleted, remark,
createtime, updatetime)
values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{outerphone,jdbcType=VARCHAR}, #{innerphone,jdbcType=VARCHAR}, #{supervisor,jdbcType=VARCHAR},
#{supervisorassistant,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{deplevel,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP})
insert into organization_master
id,
code,
name,
outerphone,
innerphone,
supervisor,
supervisorassistant,
fax,
zipcode,
address,
parentid,
status,
deplevel,
isdeleted,
remark,
createtime,
updatetime,
#{id,jdbcType=VARCHAR},
#{code,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{outerphone,jdbcType=VARCHAR},
#{innerphone,jdbcType=VARCHAR},
#{supervisor,jdbcType=VARCHAR},
#{supervisorassistant,jdbcType=VARCHAR},
#{fax,jdbcType=VARCHAR},
#{zipcode,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{parentid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{deplevel,jdbcType=INTEGER},
#{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
update organization_master
id = #{record.id,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
outerphone = #{record.outerphone,jdbcType=VARCHAR},
innerphone = #{record.innerphone,jdbcType=VARCHAR},
supervisor = #{record.supervisor,jdbcType=VARCHAR},
supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR},
fax = #{record.fax,jdbcType=VARCHAR},
zipcode = #{record.zipcode,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deplevel = #{record.deplevel,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
update organization_master
set id = #{record.id,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
outerphone = #{record.outerphone,jdbcType=VARCHAR},
innerphone = #{record.innerphone,jdbcType=VARCHAR},
supervisor = #{record.supervisor,jdbcType=VARCHAR},
supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR},
fax = #{record.fax,jdbcType=VARCHAR},
zipcode = #{record.zipcode,jdbcType=VARCHAR},
address = #{record.address,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
deplevel = #{record.deplevel,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
update organization_master
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
outerphone = #{outerphone,jdbcType=VARCHAR},
innerphone = #{innerphone,jdbcType=VARCHAR},
supervisor = #{supervisor,jdbcType=VARCHAR},
supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR},
fax = #{fax,jdbcType=VARCHAR},
zipcode = #{zipcode,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
parentid = #{parentid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
deplevel = #{deplevel,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update organization_master
set code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
outerphone = #{outerphone,jdbcType=VARCHAR},
innerphone = #{innerphone,jdbcType=VARCHAR},
supervisor = #{supervisor,jdbcType=VARCHAR},
supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR},
fax = #{fax,jdbcType=VARCHAR},
zipcode = #{zipcode,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
parentid = #{parentid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
deplevel = #{deplevel,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}