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, is_hot as isHot, audit_status as auditStatus, audit_info as auditInfo, release_date as releaseDate
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, owner_id,
is_hot, audit_status, audit_info,
release_date)
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}, #{ownerId,jdbcType=VARCHAR},
#{isHot,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER}, #{auditInfo,jdbcType=VARCHAR},
#{releaseDate,jdbcType=TIMESTAMP})
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,
is_hot,
audit_status,
audit_info,
release_date,
#{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},
#{isHot,jdbcType=INTEGER},
#{auditStatus,jdbcType=INTEGER},
#{auditInfo,jdbcType=VARCHAR},
#{releaseDate,jdbcType=TIMESTAMP},
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},
owner_id = #{record.ownerId,jdbcType=VARCHAR},
is_hot = #{record.isHot,jdbcType=INTEGER},
audit_status = #{record.auditStatus,jdbcType=INTEGER},
audit_info = #{record.auditInfo,jdbcType=VARCHAR},
release_date = #{record.releaseDate,jdbcType=TIMESTAMP},
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},
owner_id = #{record.ownerId,jdbcType=VARCHAR},
is_hot = #{record.isHot,jdbcType=INTEGER},
audit_status = #{record.auditStatus,jdbcType=INTEGER},
audit_info = #{record.auditInfo,jdbcType=VARCHAR},
release_date = #{record.releaseDate,jdbcType=TIMESTAMP}
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},
owner_id = #{ownerId,jdbcType=VARCHAR},
is_hot = #{isHot,jdbcType=INTEGER},
audit_status = #{auditStatus,jdbcType=INTEGER},
audit_info = #{auditInfo,jdbcType=VARCHAR},
release_date = #{releaseDate,jdbcType=TIMESTAMP},
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},
owner_id = #{ownerId,jdbcType=VARCHAR},
is_hot = #{isHot,jdbcType=INTEGER},
audit_status = #{auditStatus,jdbcType=INTEGER},
audit_info = #{auditInfo,jdbcType=VARCHAR},
release_date = #{releaseDate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}