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}
NewsClassId, NewsType, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy
delete from NewsClass
where NewsClassId = #{newsclassid,jdbcType=VARCHAR}
delete from NewsClass
insert into NewsClass (NewsClassId, NewsType, CreatedOn,
CreatedBy, ModifiedOn, ModifiedBy
)
values (#{newsclassid,jdbcType=VARCHAR}, #{newstype,jdbcType=VARCHAR}, #{createdon,jdbcType=TIMESTAMP},
#{createdby,jdbcType=VARCHAR}, #{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR}
)
insert into NewsClass
NewsClassId,
NewsType,
CreatedOn,
CreatedBy,
ModifiedOn,
ModifiedBy,
#{newsclassid,jdbcType=VARCHAR},
#{newstype,jdbcType=VARCHAR},
#{createdon,jdbcType=TIMESTAMP},
#{createdby,jdbcType=VARCHAR},
#{modifiedon,jdbcType=TIMESTAMP},
#{modifiedby,jdbcType=VARCHAR},
update NewsClass
NewsClassId = #{record.newsclassid,jdbcType=VARCHAR},
NewsType = #{record.newstype,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
update NewsClass
set NewsClassId = #{record.newsclassid,jdbcType=VARCHAR},
NewsType = #{record.newstype,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR}
update NewsClass
NewsType = #{newstype,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
CreatedBy = #{createdby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
where NewsClassId = #{newsclassid,jdbcType=VARCHAR}
update NewsClass
set NewsType = #{newstype,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
CreatedBy = #{createdby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR}
where NewsClassId = #{newsclassid,jdbcType=VARCHAR}