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, user_id, corp_id, unionid, acctid, `position`, english_name, corp_name, login_status,
update_time
delete from qywx_user_corp
where id = #{id,jdbcType=BIGINT}
delete from qywx_user_corp
insert into qywx_user_corp (id, user_id, corp_id,
unionid, acctid, `position`,
english_name, corp_name, login_status,
update_time)
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{corpId,jdbcType=BIGINT},
#{unionid,jdbcType=VARCHAR}, #{acctid,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR},
#{englishName,jdbcType=VARCHAR}, #{corpName,jdbcType=VARCHAR}, #{loginStatus,jdbcType=BIT},
#{updateTime,jdbcType=TIMESTAMP})
insert into qywx_user_corp
id,
user_id,
corp_id,
unionid,
acctid,
`position`,
english_name,
corp_name,
login_status,
update_time,
#{id,jdbcType=BIGINT},
#{userId,jdbcType=BIGINT},
#{corpId,jdbcType=BIGINT},
#{unionid,jdbcType=VARCHAR},
#{acctid,jdbcType=VARCHAR},
#{position,jdbcType=VARCHAR},
#{englishName,jdbcType=VARCHAR},
#{corpName,jdbcType=VARCHAR},
#{loginStatus,jdbcType=BIT},
#{updateTime,jdbcType=TIMESTAMP},
update qywx_user_corp
id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
corp_id = #{record.corpId,jdbcType=BIGINT},
unionid = #{record.unionid,jdbcType=VARCHAR},
acctid = #{record.acctid,jdbcType=VARCHAR},
`position` = #{record.position,jdbcType=VARCHAR},
english_name = #{record.englishName,jdbcType=VARCHAR},
corp_name = #{record.corpName,jdbcType=VARCHAR},
login_status = #{record.loginStatus,jdbcType=BIT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update qywx_user_corp
set id = #{record.id,jdbcType=BIGINT},
user_id = #{record.userId,jdbcType=BIGINT},
corp_id = #{record.corpId,jdbcType=BIGINT},
unionid = #{record.unionid,jdbcType=VARCHAR},
acctid = #{record.acctid,jdbcType=VARCHAR},
`position` = #{record.position,jdbcType=VARCHAR},
english_name = #{record.englishName,jdbcType=VARCHAR},
corp_name = #{record.corpName,jdbcType=VARCHAR},
login_status = #{record.loginStatus,jdbcType=BIT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update qywx_user_corp
user_id = #{userId,jdbcType=BIGINT},
corp_id = #{corpId,jdbcType=BIGINT},
unionid = #{unionid,jdbcType=VARCHAR},
acctid = #{acctid,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
english_name = #{englishName,jdbcType=VARCHAR},
corp_name = #{corpName,jdbcType=VARCHAR},
login_status = #{loginStatus,jdbcType=BIT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update qywx_user_corp
set user_id = #{userId,jdbcType=BIGINT},
corp_id = #{corpId,jdbcType=BIGINT},
unionid = #{unionid,jdbcType=VARCHAR},
acctid = #{acctid,jdbcType=VARCHAR},
`position` = #{position,jdbcType=VARCHAR},
english_name = #{englishName,jdbcType=VARCHAR},
corp_name = #{corpName,jdbcType=VARCHAR},
login_status = #{loginStatus,jdbcType=BIT},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}