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}
DynamicId, Cover, DynamicType, Title, unitName,CreatedOn, CreatedBy, ModifiedOn, ModifiedBy
Content
delete from Dynamic
where DynamicId = #{dynamicid,jdbcType=VARCHAR}
delete from Dynamic
insert into Dynamic (DynamicId, Cover, DynamicType,
Title, unitName,CreatedOn, CreatedBy,
ModifiedOn, ModifiedBy, Content
)
values (#{dynamicid,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{dynamictype,jdbcType=INTEGER},
#{title,jdbcType=VARCHAR},
#{unitName,jdbcType=VARCHAR},
#{createdon,jdbcType=TIMESTAMP}, #{createdby,jdbcType=VARCHAR},
#{modifiedon,jdbcType=TIMESTAMP}, #{modifiedby,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}
)
insert into Dynamic
DynamicId,
Cover,
DynamicType,
Title,
unitName,
CreatedOn,
CreatedBy,
ModifiedOn,
ModifiedBy,
Content,
#{dynamicid,jdbcType=VARCHAR},
#{cover,jdbcType=VARCHAR},
#{dynamictype,jdbcType=INTEGER},
#{title,jdbcType=VARCHAR},
#{unitName,jdbcType=VARCHAR},
#{createdon,jdbcType=TIMESTAMP},
#{createdby,jdbcType=VARCHAR},
#{modifiedon,jdbcType=TIMESTAMP},
#{modifiedby,jdbcType=VARCHAR},
#{content,jdbcType=LONGVARCHAR},
update Dynamic
DynamicId = #{record.dynamicid,jdbcType=VARCHAR},
Cover = #{record.cover,jdbcType=VARCHAR},
DynamicType = #{record.dynamictype,jdbcType=INTEGER},
Title = #{record.title,jdbcType=VARCHAR},
unitName = #{record.unitName,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
Content = #{record.content,jdbcType=LONGVARCHAR},
update Dynamic
set DynamicId = #{record.dynamicid,jdbcType=VARCHAR},
Cover = #{record.cover,jdbcType=VARCHAR},
DynamicType = #{record.dynamictype,jdbcType=INTEGER},
Title = #{record.title,jdbcType=VARCHAR},
unitName = #{record.unitName,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR},
Content = #{record.content,jdbcType=LONGVARCHAR}
update Dynamic
set DynamicId = #{record.dynamicid,jdbcType=VARCHAR},
Cover = #{record.cover,jdbcType=VARCHAR},
DynamicType = #{record.dynamictype,jdbcType=INTEGER},
Title = #{record.title,jdbcType=VARCHAR},
unitName = #{record.unitName,jdbcType=VARCHAR},
CreatedOn = #{record.createdon,jdbcType=TIMESTAMP},
CreatedBy = #{record.createdby,jdbcType=VARCHAR},
ModifiedOn = #{record.modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{record.modifiedby,jdbcType=VARCHAR}
update Dynamic
Cover = #{cover,jdbcType=VARCHAR},
DynamicType = #{dynamictype,jdbcType=INTEGER},
Title = #{title,jdbcType=VARCHAR},
unitName = #{unitName,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
CreatedBy = #{createdby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
Content = #{content,jdbcType=LONGVARCHAR},
where DynamicId = #{dynamicid,jdbcType=VARCHAR}
update Dynamic
set Cover = #{cover,jdbcType=VARCHAR},
DynamicType = #{dynamictype,jdbcType=INTEGER},
Title = #{title,jdbcType=VARCHAR},
unitName = #{unitName,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
CreatedBy = #{createdby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR},
Content = #{content,jdbcType=LONGVARCHAR}
where DynamicId = #{dynamicid,jdbcType=VARCHAR}
update Dynamic
set Cover = #{cover,jdbcType=VARCHAR},
DynamicType = #{dynamictype,jdbcType=INTEGER},
Title = #{title,jdbcType=VARCHAR},
unitName = #{unitName,jdbcType=VARCHAR},
CreatedOn = #{createdon,jdbcType=TIMESTAMP},
CreatedBy = #{createdby,jdbcType=VARCHAR},
ModifiedOn = #{modifiedon,jdbcType=TIMESTAMP},
ModifiedBy = #{modifiedby,jdbcType=VARCHAR}
where DynamicId = #{dynamicid,jdbcType=VARCHAR}