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, name, category_id as categoryId, number, price, activity_price as activityPrice, member_price as memberPrice, offset, activity_flag as activityFlag,
introduce, province, city, create_time as createTime, min_img_url as minImgUrl, max_img_url as maxImgUrl, value, apply_conditions as applyConditions,owner_id as ownerId
jtbp.id, jtbp.name, jtbp.category_id as categoryId, jtbp.number, jtbp.price, jtbp.activity_price as activityPrice, jtbp.member_price as memberPrice, jtbp.offset,
jtbp.activity_flag as activityFlag,
jtbp.introduce,
jtbp.province,
jtbp.city, jtbp.create_time as createTime,
jtbp.min_img_url as minImgUrl,
jtbp.max_img_url as maxImgUrl,
jtbp.value, jtbp.apply_conditions as applyConditions
delete from jt_business_project
where id = #{id,jdbcType=VARCHAR}
delete from jt_business_project
insert into jt_business_project (id, name, category_id,
number, price, activity_price,
member_price, offset, activity_flag,
introduce, province, city,
create_time, min_img_url, max_img_url,
value, apply_conditions)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{categoryId,jdbcType=VARCHAR},
#{number,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{activityPrice,jdbcType=DECIMAL},
#{memberPrice,jdbcType=DECIMAL}, #{offset,jdbcType=REAL}, #{activityFlag,jdbcType=INTEGER},
#{introduce,jdbcType=VARCHAR}, #{province,jdbcType=INTEGER}, #{city,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{minImgUrl,jdbcType=VARCHAR}, #{maxImgUrl,jdbcType=VARCHAR},
#{value,jdbcType=VARCHAR}, #{applyConditions,jdbcType=VARCHAR})
insert into jt_business_project
id,
name,
category_id,
number,
price,
activity_price,
member_price,
offset,
activity_flag,
introduce,
province,
city,
create_time,
min_img_url,
max_img_url,
value,
apply_conditions,
owner_id,
#{id,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{categoryId,jdbcType=VARCHAR},
#{number,jdbcType=VARCHAR},
#{price,jdbcType=DECIMAL},
#{activityPrice,jdbcType=DECIMAL},
#{memberPrice,jdbcType=DECIMAL},
#{offset,jdbcType=REAL},
#{activityFlag,jdbcType=INTEGER},
#{introduce,jdbcType=VARCHAR},
#{province,jdbcType=INTEGER},
#{city,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{minImgUrl,jdbcType=VARCHAR},
#{maxImgUrl,jdbcType=VARCHAR},
#{value,jdbcType=VARCHAR},
#{applyConditions,jdbcType=VARCHAR},
#{ownerId,jdbcType=VARCHAR}
update jt_business_project
id = #{record.id,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
number = #{record.number,jdbcType=VARCHAR},
price = #{record.price,jdbcType=DECIMAL},
activity_price = #{record.activityPrice,jdbcType=DECIMAL},
member_price = #{record.memberPrice,jdbcType=DECIMAL},
offset = #{record.offset,jdbcType=REAL},
activity_flag = #{record.activityFlag,jdbcType=INTEGER},
introduce = #{record.introduce,jdbcType=VARCHAR},
province = #{record.province,jdbcType=INTEGER},
city = #{record.city,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
min_img_url = #{record.minImgUrl,jdbcType=VARCHAR},
max_img_url = #{record.maxImgUrl,jdbcType=VARCHAR},
value = #{record.value,jdbcType=VARCHAR},
apply_conditions = #{record.applyConditions,jdbcType=VARCHAR},
update jt_business_project
set id = #{record.id,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
category_id = #{record.categoryId,jdbcType=VARCHAR},
number = #{record.number,jdbcType=VARCHAR},
price = #{record.price,jdbcType=DECIMAL},
activity_price = #{record.activityPrice,jdbcType=DECIMAL},
member_price = #{record.memberPrice,jdbcType=DECIMAL},
offset = #{record.offset,jdbcType=REAL},
activity_flag = #{record.activityFlag,jdbcType=INTEGER},
introduce = #{record.introduce,jdbcType=VARCHAR},
province = #{record.province,jdbcType=INTEGER},
city = #{record.city,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
min_img_url = #{record.minImgUrl,jdbcType=VARCHAR},
max_img_url = #{record.maxImgUrl,jdbcType=VARCHAR},
value = #{record.value,jdbcType=VARCHAR},
apply_conditions = #{record.applyConditions,jdbcType=VARCHAR}
update jt_business_project
name = #{name,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
number = #{number,jdbcType=VARCHAR},
price = #{price,jdbcType=DECIMAL},
activity_price = #{activityPrice,jdbcType=DECIMAL},
member_price = #{memberPrice,jdbcType=DECIMAL},
offset = #{offset,jdbcType=REAL},
activity_flag = #{activityFlag,jdbcType=INTEGER},
introduce = #{introduce,jdbcType=VARCHAR},
province = #{province,jdbcType=INTEGER},
city = #{city,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
min_img_url = #{minImgUrl,jdbcType=VARCHAR},
max_img_url = #{maxImgUrl,jdbcType=VARCHAR},
value = #{value,jdbcType=VARCHAR},
apply_conditions = #{applyConditions,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update jt_business_project
set name = #{name,jdbcType=VARCHAR},
category_id = #{categoryId,jdbcType=VARCHAR},
number = #{number,jdbcType=VARCHAR},
price = #{price,jdbcType=DECIMAL},
activity_price = #{activityPrice,jdbcType=DECIMAL},
member_price = #{memberPrice,jdbcType=DECIMAL},
offset = #{offset,jdbcType=REAL},
activity_flag = #{activityFlag,jdbcType=INTEGER},
introduce = #{introduce,jdbcType=VARCHAR},
province = #{province,jdbcType=INTEGER},
city = #{city,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
min_img_url = #{minImgUrl,jdbcType=VARCHAR},
max_img_url = #{maxImgUrl,jdbcType=VARCHAR},
value = #{value,jdbcType=VARCHAR},
apply_conditions = #{applyConditions,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}