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, corp_id, staff_ext_id, carrier_id, remark, category1, category2, is_delete, create_time,
update_time
delete from we_com_staff
where id = #{id,jdbcType=BIGINT}
delete from we_com_staff
insert into we_com_staff (id, corp_id, staff_ext_id,
carrier_id, remark, category1,
category2, create_time,
update_time)
values (#{id,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT}, #{staffExtId,jdbcType=VARCHAR},
#{carrierId,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{category1,jdbcType=VARCHAR},
#{category2,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
insert into we_com_staff
id,
corp_id,
staff_ext_id,
carrier_id,
remark,
category1,
category2,
is_delete,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{corpId,jdbcType=BIGINT},
#{staffExtId,jdbcType=VARCHAR},
#{carrierId,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{category1,jdbcType=VARCHAR},
#{category2,jdbcType=VARCHAR},
#{isDelete,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update we_com_staff
id = #{record.id,jdbcType=BIGINT},
corp_id = #{record.corpId,jdbcType=BIGINT},
staff_ext_id = #{record.staffExtId,jdbcType=VARCHAR},
carrier_id = #{record.carrierId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
category1 = #{record.category1,jdbcType=VARCHAR},
category2 = #{record.category2,jdbcType=VARCHAR},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update we_com_staff
set id = #{record.id,jdbcType=BIGINT},
corp_id = #{record.corpId,jdbcType=BIGINT},
staff_ext_id = #{record.staffExtId,jdbcType=VARCHAR},
carrier_id = #{record.carrierId,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
category1 = #{record.category1,jdbcType=VARCHAR},
category2 = #{record.category2,jdbcType=VARCHAR},
is_delete = #{record.isDelete,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update we_com_staff
corp_id = #{corpId,jdbcType=BIGINT},
staff_ext_id = #{staffExtId,jdbcType=VARCHAR},
carrier_id = #{carrierId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
category1 = #{category1,jdbcType=VARCHAR},
category2 = #{category2,jdbcType=VARCHAR},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update we_com_staff
set corp_id = #{corpId,jdbcType=BIGINT},
staff_ext_id = #{staffExtId,jdbcType=VARCHAR},
carrier_id = #{carrierId,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
category1 = #{category1,jdbcType=VARCHAR},
category2 = #{category2,jdbcType=VARCHAR},
is_delete = #{isDelete,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}