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}
SysCodeId, EnglishName, ChinaName, SortId, CodeValue, CodeText, CreatedBy, CreatedOn,
ModifiedBy, ModifiedOn
Comments
delete from SysCode
where SysCodeId = #{syscodeid,jdbcType=CHAR}
delete from SysCode
insert into SysCode (SysCodeId, EnglishName, ChinaName,
SortId, CodeValue, CodeText,
CreatedBy, CreatedOn, ModifiedBy,
ModifiedOn, Comments)
values (#{syscodeid,jdbcType=CHAR}, #{englishname,jdbcType=VARCHAR}, #{chinaname,jdbcType=VARCHAR},
#{sortid,jdbcType=INTEGER}, #{codevalue,jdbcType=VARCHAR}, #{codetext,jdbcType=VARCHAR},
#{createdby,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR},
#{modifiedon,jdbcType=TIMESTAMP}, #{comments,jdbcType=LONGVARCHAR})
insert into SysCode
SysCodeId,
EnglishName,
ChinaName,
SortId,
CodeValue,
CodeText,
CreatedBy,
CreatedOn,
ModifiedBy,
ModifiedOn,
Comments,
#{syscodeid,jdbcType=CHAR},
#{englishname,jdbcType=VARCHAR},
#{chinaname,jdbcType=VARCHAR},
#{sortid,jdbcType=INTEGER},
#{codevalue,jdbcType=VARCHAR},
#{codetext,jdbcType=VARCHAR},
#{createdby,jdbcType=VARCHAR},
#{createdon,jdbcType=TIMESTAMP},
#{modifiedby,jdbcType=VARCHAR},
#{modifiedon,jdbcType=TIMESTAMP},
#{comments,jdbcType=LONGVARCHAR},
update SysCode
SysCodeId = #{record.syscodeid,jdbcType=CHAR},
EnglishName = #{record.englishname,jdbcType=VARCHAR},
ChinaName = #{record.chinaname,jdbcType=VARCHAR},
SortId = #{record.sortid,jdbcType=INTEGER},
CodeValue = #{record.codevalue,jdbcType=VARCHAR},
CodeText = #{record.codetext,jdbcType=VARCHAR},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
Comments = #{record.comments,jdbcType=LONGVARCHAR},
update SysCode
set SysCodeId = #{record.syscodeid,jdbcType=CHAR},
EnglishName = #{record.englishname,jdbcType=VARCHAR},
ChinaName = #{record.chinaname,jdbcType=VARCHAR},
SortId = #{record.sortid,jdbcType=INTEGER},
CodeValue = #{record.codevalue,jdbcType=VARCHAR},
CodeText = #{record.codetext,jdbcType=VARCHAR},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
Comments = #{record.comments,jdbcType=LONGVARCHAR}
update SysCode
set SysCodeId = #{record.syscodeid,jdbcType=CHAR},
EnglishName = #{record.englishname,jdbcType=VARCHAR},
ChinaName = #{record.chinaname,jdbcType=VARCHAR},
SortId = #{record.sortid,jdbcType=INTEGER},
CodeValue = #{record.codevalue,jdbcType=VARCHAR},
CodeText = #{record.codetext,jdbcType=VARCHAR},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP}
update SysCode
EnglishName = #{englishname,jdbcType=VARCHAR},
ChinaName = #{chinaname,jdbcType=VARCHAR},
SortId = #{sortid,jdbcType=INTEGER},
CodeValue = #{codevalue,jdbcType=VARCHAR},
CodeText = #{codetext,jdbcType=VARCHAR},
CreatedBy = #{createdby,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
Comments = #{comments,jdbcType=LONGVARCHAR},
where SysCodeId = #{syscodeid,jdbcType=CHAR}
update SysCode
set EnglishName = #{englishname,jdbcType=VARCHAR},
ChinaName = #{chinaname,jdbcType=VARCHAR},
SortId = #{sortid,jdbcType=INTEGER},
CodeValue = #{codevalue,jdbcType=VARCHAR},
CodeText = #{codetext,jdbcType=VARCHAR},
CreatedBy = #{createdby,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
Comments = #{comments,jdbcType=LONGVARCHAR}
where SysCodeId = #{syscodeid,jdbcType=CHAR}
update SysCode
set EnglishName = #{englishname,jdbcType=VARCHAR},
ChinaName = #{chinaname,jdbcType=VARCHAR},
SortId = #{sortid,jdbcType=INTEGER},
CodeValue = #{codevalue,jdbcType=VARCHAR},
CodeText = #{codetext,jdbcType=VARCHAR},
CreatedBy = #{createdby,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP}
where SysCodeId = #{syscodeid,jdbcType=CHAR}