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}
departmentID, fatherDepartmentID, departmentName, nameSpell, companyID, phone, departmentLable,
dataStatus, createTime, creator, updatetime, updator
${fields}
delete from t_department
insert into t_department (departmentID, fatherDepartmentID,
departmentName, nameSpell, companyID,
phone, departmentLable, dataStatus,
createTime, creator, updatetime,
updator)
values (#{departmentid,jdbcType=VARCHAR}, #{fatherdepartmentid,jdbcType=VARCHAR},
#{departmentname,jdbcType=VARCHAR}, #{namespell,jdbcType=CHAR}, #{companyid,jdbcType=VARCHAR},
#{phone,jdbcType=CHAR}, #{departmentlable,jdbcType=VARCHAR}, #{datastatus,jdbcType=TINYINT},
#{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP},
#{updator,jdbcType=VARCHAR})
insert into t_department
departmentID,
fatherDepartmentID,
departmentName,
nameSpell,
companyID,
phone,
departmentLable,
dataStatus,
createTime,
creator,
updatetime,
updator,
#{departmentid,jdbcType=VARCHAR},
#{fatherdepartmentid,jdbcType=VARCHAR},
#{departmentname,jdbcType=VARCHAR},
#{namespell,jdbcType=CHAR},
#{companyid,jdbcType=VARCHAR},
#{phone,jdbcType=CHAR},
#{departmentlable,jdbcType=VARCHAR},
#{datastatus,jdbcType=TINYINT},
#{createtime,jdbcType=TIMESTAMP},
#{creator,jdbcType=VARCHAR},
#{updatetime,jdbcType=TIMESTAMP},
#{updator,jdbcType=VARCHAR},
update t_department
departmentID = #{record.departmentid,jdbcType=VARCHAR},
fatherDepartmentID = #{record.fatherdepartmentid,jdbcType=VARCHAR},
departmentName = #{record.departmentname,jdbcType=VARCHAR},
nameSpell = #{record.namespell,jdbcType=CHAR},
companyID = #{record.companyid,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=CHAR},
departmentLable = #{record.departmentlable,jdbcType=VARCHAR},
dataStatus = #{record.datastatus,jdbcType=TINYINT},
createTime = #{record.createtime,jdbcType=TIMESTAMP},
creator = #{record.creator,jdbcType=VARCHAR},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
updator = #{record.updator,jdbcType=VARCHAR},
update t_department
set departmentID = #{record.departmentid,jdbcType=VARCHAR},
fatherDepartmentID = #{record.fatherdepartmentid,jdbcType=VARCHAR},
departmentName = #{record.departmentname,jdbcType=VARCHAR},
nameSpell = #{record.namespell,jdbcType=CHAR},
companyID = #{record.companyid,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=CHAR},
departmentLable = #{record.departmentlable,jdbcType=VARCHAR},
dataStatus = #{record.datastatus,jdbcType=TINYINT},
createTime = #{record.createtime,jdbcType=TIMESTAMP},
creator = #{record.creator,jdbcType=VARCHAR},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
updator = #{record.updator,jdbcType=VARCHAR}