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, parentid, status, isdeleted, remark, createtime, updatetime, organizationid,
organizationname, organizationcode, departmentid, departmentname, departmentcode
delete from organization_major
where id = #{id,jdbcType=VARCHAR}
delete from organization_major
insert into organization_major (id, code, name,
parentid, status, isdeleted,
remark, createtime, updatetime,
organizationid, organizationname, organizationcode,
departmentid, departmentname, departmentcode
)
values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP},
#{organizationid,jdbcType=VARCHAR}, #{organizationname,jdbcType=VARCHAR}, #{organizationcode,jdbcType=VARCHAR},
#{departmentid,jdbcType=VARCHAR}, #{departmentname,jdbcType=VARCHAR}, #{departmentcode,jdbcType=VARCHAR}
)
insert into organization_major
id,
code,
name,
parentid,
status,
isdeleted,
remark,
createtime,
updatetime,
organizationid,
organizationname,
organizationcode,
departmentid,
departmentname,
departmentcode,
#{id,jdbcType=VARCHAR},
#{code,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{parentid,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{isdeleted,jdbcType=BIT},
#{remark,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
#{organizationid,jdbcType=VARCHAR},
#{organizationname,jdbcType=VARCHAR},
#{organizationcode,jdbcType=VARCHAR},
#{departmentid,jdbcType=VARCHAR},
#{departmentname,jdbcType=VARCHAR},
#{departmentcode,jdbcType=VARCHAR},
update organization_major
id = #{record.id,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
organizationid = #{record.organizationid,jdbcType=VARCHAR},
organizationname = #{record.organizationname,jdbcType=VARCHAR},
organizationcode = #{record.organizationcode,jdbcType=VARCHAR},
departmentid = #{record.departmentid,jdbcType=VARCHAR},
departmentname = #{record.departmentname,jdbcType=VARCHAR},
departmentcode = #{record.departmentcode,jdbcType=VARCHAR},
update organization_major
set id = #{record.id,jdbcType=VARCHAR},
code = #{record.code,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
parentid = #{record.parentid,jdbcType=VARCHAR},
status = #{record.status,jdbcType=INTEGER},
isdeleted = #{record.isdeleted,jdbcType=BIT},
remark = #{record.remark,jdbcType=VARCHAR},
createtime = #{record.createtime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
organizationid = #{record.organizationid,jdbcType=VARCHAR},
organizationname = #{record.organizationname,jdbcType=VARCHAR},
organizationcode = #{record.organizationcode,jdbcType=VARCHAR},
departmentid = #{record.departmentid,jdbcType=VARCHAR},
departmentname = #{record.departmentname,jdbcType=VARCHAR},
departmentcode = #{record.departmentcode,jdbcType=VARCHAR}
update organization_major
code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
parentid = #{parentid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
organizationid = #{organizationid,jdbcType=VARCHAR},
organizationname = #{organizationname,jdbcType=VARCHAR},
organizationcode = #{organizationcode,jdbcType=VARCHAR},
departmentid = #{departmentid,jdbcType=VARCHAR},
departmentname = #{departmentname,jdbcType=VARCHAR},
departmentcode = #{departmentcode,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update organization_major
set code = #{code,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
parentid = #{parentid,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
isdeleted = #{isdeleted,jdbcType=BIT},
remark = #{remark,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
organizationid = #{organizationid,jdbcType=VARCHAR},
organizationname = #{organizationname,jdbcType=VARCHAR},
organizationcode = #{organizationcode,jdbcType=VARCHAR},
departmentid = #{departmentid,jdbcType=VARCHAR},
departmentname = #{departmentname,jdbcType=VARCHAR},
departmentcode = #{departmentcode,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}