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, tel_num, major, aid, fixed_tel, aname 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, tel_num, major, aid, fixed_tel, aname) 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}, #{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR}, #{fixedTel,jdbcType=VARCHAR}, #{aname,jdbcType=VARCHAR}) insert into organization_contact_book id, uid, name, sex, mobile, email, qq, wechat, department, position, tel_num, major, aid, fixed_tel, aname, #{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}, #{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR}, #{fixedTel,jdbcType=VARCHAR}, #{aname,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}, tel_num = #{record.telNum,jdbcType=VARCHAR}, major = #{record.major,jdbcType=INTEGER}, aid = #{record.aid,jdbcType=VARCHAR}, fixed_tel = #{record.fixedTel,jdbcType=VARCHAR}, aname = #{record.aname,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}, tel_num = #{record.telNum,jdbcType=VARCHAR}, major = #{record.major,jdbcType=INTEGER}, aid = #{record.aid,jdbcType=VARCHAR}, fixed_tel = #{record.fixedTel,jdbcType=VARCHAR}, aname = #{record.aname,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}, tel_num = #{telNum,jdbcType=VARCHAR}, major = #{major,jdbcType=INTEGER}, aid = #{aid,jdbcType=VARCHAR}, fixed_tel = #{fixedTel,jdbcType=VARCHAR}, aname = #{aname,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}, tel_num = #{telNum,jdbcType=VARCHAR}, major = #{major,jdbcType=INTEGER}, aid = #{aid,jdbcType=VARCHAR}, fixed_tel = #{fixedTel,jdbcType=VARCHAR}, aname = #{aname,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} update organization_contact_book set aid=#{transferId,jdbcType=VARCHAR} where aid=#{aid,jdbcType=VARCHAR} update organization_contact_book set aid = #{aid,jdbcType=VARCHAR} where uid = #{uid,jdbcType=VARCHAR} INSERT INTO organization_contact_book (id, uid, name, mobile,major)VALUES (UUID(), #{item.uid,jdbcType=VARCHAR}, #{item.userName,jdbcType=VARCHAR}, #{item.contactMobile,jdbcType=VARCHAR},1) update organization_contact_book set aid= #{aid} where uid in( #{item} )