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, business_id, pic_type, pic_path, data_state, create_empid, create_date, modfiy_empid,
modfiy_date
delete from td_c_cust_business_pic
where id = #{id,jdbcType=BIGINT}
delete from td_c_cust_business_pic
SELECT LAST_INSERT_ID()
insert into td_c_cust_business_pic (business_id, pic_type, pic_path,
data_state, create_empid, create_date,
modfiy_empid, modfiy_date)
values (#{businessId,jdbcType=VARCHAR}, #{picType,jdbcType=INTEGER}, #{picPath,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP})
SELECT LAST_INSERT_ID()
insert into td_c_cust_business_pic
business_id,
pic_type,
pic_path,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
#{businessId,jdbcType=VARCHAR},
#{picType,jdbcType=INTEGER},
#{picPath,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
update td_c_cust_business_pic
id = #{record.id,jdbcType=BIGINT},
business_id = #{record.businessId,jdbcType=VARCHAR},
pic_type = #{record.picType,jdbcType=INTEGER},
pic_path = #{record.picPath,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
update td_c_cust_business_pic
set id = #{record.id,jdbcType=BIGINT},
business_id = #{record.businessId,jdbcType=VARCHAR},
pic_type = #{record.picType,jdbcType=INTEGER},
pic_path = #{record.picPath,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}
update td_c_cust_business_pic
business_id = #{businessId,jdbcType=VARCHAR},
pic_type = #{picType,jdbcType=INTEGER},
pic_path = #{picPath,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update td_c_cust_business_pic
set business_id = #{businessId,jdbcType=VARCHAR},
pic_type = #{picType,jdbcType=INTEGER},
pic_path = #{picPath,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}