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, uid, name, sex, mobile, email, qq, wechat, department, position, remarks, tel_num,
major, aid
delete from organization_contact_book
where id = #{id,jdbcType=VARCHAR}
delete from organization_contact_book
insert into organization_contact_book (id, uid, name,
sex, mobile, email, qq,
wechat, department, position,
remarks, tel_num, major,
aid)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{sex,jdbcType=CHAR}, #{mobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR},
#{wechat,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER},
#{aid,jdbcType=VARCHAR})
insert into organization_contact_book
id,
uid,
name,
sex,
mobile,
email,
qq,
wechat,
department,
position,
remarks,
tel_num,
major,
aid,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{sex,jdbcType=CHAR},
#{mobile,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},
#{qq,jdbcType=VARCHAR},
#{wechat,jdbcType=VARCHAR},
#{department,jdbcType=VARCHAR},
#{position,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
#{telNum,jdbcType=VARCHAR},
#{major,jdbcType=INTEGER},
#{aid,jdbcType=VARCHAR},
update organization_contact_book
id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=CHAR},
mobile = #{record.mobile,jdbcType=VARCHAR},
email = #{record.email,jdbcType=VARCHAR},
qq = #{record.qq,jdbcType=VARCHAR},
wechat = #{record.wechat,jdbcType=VARCHAR},
department = #{record.department,jdbcType=VARCHAR},
position = #{record.position,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
tel_num = #{record.telNum,jdbcType=VARCHAR},
major = #{record.major,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR},
update organization_contact_book
set id = #{record.id,jdbcType=VARCHAR},
uid = #{record.uid,jdbcType=VARCHAR},
name = #{record.name,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=CHAR},
mobile = #{record.mobile,jdbcType=VARCHAR},
email = #{record.email,jdbcType=VARCHAR},
qq = #{record.qq,jdbcType=VARCHAR},
wechat = #{record.wechat,jdbcType=VARCHAR},
department = #{record.department,jdbcType=VARCHAR},
position = #{record.position,jdbcType=VARCHAR},
remarks = #{record.remarks,jdbcType=VARCHAR},
tel_num = #{record.telNum,jdbcType=VARCHAR},
major = #{record.major,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR}
update organization_contact_book
uid = #{uid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
sex = #{sex,jdbcType=CHAR},
mobile = #{mobile,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
qq = #{qq,jdbcType=VARCHAR},
wechat = #{wechat,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
position = #{position,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
tel_num = #{telNum,jdbcType=VARCHAR},
major = #{major,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update organization_contact_book
set uid = #{uid,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
sex = #{sex,jdbcType=CHAR},
mobile = #{mobile,jdbcType=VARCHAR},
email = #{email,jdbcType=VARCHAR},
qq = #{qq,jdbcType=VARCHAR},
wechat = #{wechat,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
position = #{position,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
tel_num = #{telNum,jdbcType=VARCHAR},
major = #{major,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update organization_contact_book set major = 0 where uid = #{uid,jdbcType=VARCHAR}
update organization_contact_book set major = 1 where id = #{ocbId,jdbcType=VARCHAR}