|
|
@@ -293,327 +293,6 @@ nature_other = values(nature_other)
|
|
|
</set>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
-
|
|
|
- <!--查询指定行数据-->
|
|
|
- <select id="findUserList" resultMap="UserMap">
|
|
|
- select
|
|
|
- <include refid="UserAllSql"/>
|
|
|
-
|
|
|
- from user
|
|
|
- <where>
|
|
|
- <if test="id != null and id != ''">
|
|
|
- and id = #{id}
|
|
|
- </if>
|
|
|
- <if test="mobile != null and mobile != ''">
|
|
|
- and mobile = #{mobile}
|
|
|
- </if>
|
|
|
- <if test="password != null and password != ''">
|
|
|
- and password = #{password}
|
|
|
- </if>
|
|
|
- <if test="nickname != null and nickname != ''">
|
|
|
- and nickname = #{nickname}
|
|
|
- </if>
|
|
|
- <if test="email != null and email != ''">
|
|
|
- and email = #{email}
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- and create_time = #{createTime}
|
|
|
- </if>
|
|
|
- <if test="number != null">
|
|
|
- and number = #{number}
|
|
|
- </if>
|
|
|
- <if test="lvl != null">
|
|
|
- and lvl = #{lvl}
|
|
|
- </if>
|
|
|
- <if test="type != null">
|
|
|
- and type = #{type}
|
|
|
- </if>
|
|
|
- <if test="aid != null and aid != ''">
|
|
|
- and aid = #{aid}
|
|
|
- </if>
|
|
|
- <if test="mid != null and mid != ''">
|
|
|
- and mid = #{mid}
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- and status = #{status}
|
|
|
- </if>
|
|
|
- <if test="source != null">
|
|
|
- and source = #{source}
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- and update_time = #{updateTime}
|
|
|
- </if>
|
|
|
- <if test="companyLogoUrl != null and companyLogoUrl != ''">
|
|
|
- and company_logo_url = #{companyLogoUrl}
|
|
|
- </if>
|
|
|
- <if test="headPortraitUrl != null and headPortraitUrl != ''">
|
|
|
- and head_portrait_url = #{headPortraitUrl}
|
|
|
- </if>
|
|
|
- <if test="societyTag != null and societyTag != ''">
|
|
|
- and society_tag = #{societyTag}
|
|
|
- </if>
|
|
|
- <if test="introduction != null and introduction != ''">
|
|
|
- and introduction = #{introduction}
|
|
|
- </if>
|
|
|
- <if test="valueAddedTag != null and valueAddedTag != ''">
|
|
|
- and value_added_tag = #{valueAddedTag}
|
|
|
- </if>
|
|
|
- <if test="organizationId != null and organizationId != ''">
|
|
|
- and organization_id = #{organizationId}
|
|
|
- </if>
|
|
|
- <if test="shareType != null">
|
|
|
- and share_type = #{shareType}
|
|
|
- </if>
|
|
|
- <if test="identifyName != null and identifyName != ''">
|
|
|
- and identify_name = #{identifyName}
|
|
|
- </if>
|
|
|
- <if test="backgroundUrl != null and backgroundUrl != ''">
|
|
|
- and background_url = #{backgroundUrl}
|
|
|
- </if>
|
|
|
- <if test="auditStatus != null">
|
|
|
- and audit_status = #{auditStatus}
|
|
|
- </if>
|
|
|
- <if test="auditOpinion != null and auditOpinion != ''">
|
|
|
- and audit_opinion = #{auditOpinion}
|
|
|
- </if>
|
|
|
- <if test="transferTime != null">
|
|
|
- and transfer_time = #{transferTime}
|
|
|
- </if>
|
|
|
- <if test="informationMaintainer != null and informationMaintainer != ''">
|
|
|
- and information_maintainer = #{informationMaintainer}
|
|
|
- </if>
|
|
|
- <if test="coreTechnology != null and coreTechnology != ''">
|
|
|
- and core_technology = #{coreTechnology}
|
|
|
- </if>
|
|
|
- <if test="accomplishSituation != null and accomplishSituation != ''">
|
|
|
- and accomplish_situation = #{accomplishSituation}
|
|
|
- </if>
|
|
|
- <if test="intellectualProperty != null and intellectualProperty != ''">
|
|
|
- and intellectual_property = #{intellectualProperty}
|
|
|
- </if>
|
|
|
- <if test="creditRating != null">
|
|
|
- and credit_rating = #{creditRating}
|
|
|
- </if>
|
|
|
- <if test="level != null">
|
|
|
- and level = #{level}
|
|
|
- </if>
|
|
|
- <if test="authentication != null">
|
|
|
- and authentication = #{authentication}
|
|
|
- </if>
|
|
|
- <if test="username != null and username != ''">
|
|
|
- and username = #{username}
|
|
|
- </if>
|
|
|
- <if test="integrity != null">
|
|
|
- and integrity = #{integrity}
|
|
|
- </if>
|
|
|
- <if test="toInviteCode != null and toInviteCode != ''">
|
|
|
- and to_invite_code = #{toInviteCode}
|
|
|
- </if>
|
|
|
- <if test="beInviteCode != null and beInviteCode != ''">
|
|
|
- and be_invite_code = #{beInviteCode}
|
|
|
- </if>
|
|
|
- <if test="guidance != null">
|
|
|
- and guidance = #{guidance}
|
|
|
- </if>
|
|
|
- <if test="signBills != null">
|
|
|
- and sign_bills = #{signBills}
|
|
|
- </if>
|
|
|
- <if test="channel != null">
|
|
|
- and channel = #{channel}
|
|
|
- </if>
|
|
|
- <if test="newChannel != null">
|
|
|
- and new_channel = #{newChannel}
|
|
|
- </if>
|
|
|
- <if test="signTime != null">
|
|
|
- and sign_time = #{signTime}
|
|
|
- </if>
|
|
|
- <if test="callStatus != null">
|
|
|
- and call_status = #{callStatus}
|
|
|
- </if>
|
|
|
- <if test="clueStatus != null">
|
|
|
- and clue_status = #{clueStatus}
|
|
|
- </if>
|
|
|
- <if test="clueProcess != null">
|
|
|
- and clue_process = #{clueProcess}
|
|
|
- </if>
|
|
|
- <if test="clueTime != null">
|
|
|
- and clue_time = #{clueTime}
|
|
|
- </if>
|
|
|
- <if test="clueAid != null and clueAid != ''">
|
|
|
- and clue_aid = #{clueAid}
|
|
|
- </if>
|
|
|
- <if test="clueTransferTime != null">
|
|
|
- and clue_transfer_time = #{clueTransferTime}
|
|
|
- </if>
|
|
|
- <if test="nature != null">
|
|
|
- and nature = #{nature}
|
|
|
- </if>
|
|
|
- <if test="natureOther != null">
|
|
|
- and nature_other = #{natureOther}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
- <if test="page_sql != null">
|
|
|
- ${page_sql}
|
|
|
- </if>
|
|
|
- </select>
|
|
|
-
|
|
|
- <!--统计总行数-->
|
|
|
- <select id="findUserCount" resultType="java.lang.Integer">
|
|
|
- select count(1)
|
|
|
- from user
|
|
|
- <where>
|
|
|
- <if test="id != null and id != ''">
|
|
|
- and id = #{id}
|
|
|
- </if>
|
|
|
- <if test="mobile != null and mobile != ''">
|
|
|
- and mobile = #{mobile}
|
|
|
- </if>
|
|
|
- <if test="password != null and password != ''">
|
|
|
- and password = #{password}
|
|
|
- </if>
|
|
|
- <if test="nickname != null and nickname != ''">
|
|
|
- and nickname = #{nickname}
|
|
|
- </if>
|
|
|
- <if test="email != null and email != ''">
|
|
|
- and email = #{email}
|
|
|
- </if>
|
|
|
- <if test="createTime != null">
|
|
|
- and create_time = #{createTime}
|
|
|
- </if>
|
|
|
- <if test="number != null">
|
|
|
- and number = #{number}
|
|
|
- </if>
|
|
|
- <if test="lvl != null">
|
|
|
- and lvl = #{lvl}
|
|
|
- </if>
|
|
|
- <if test="type != null">
|
|
|
- and type = #{type}
|
|
|
- </if>
|
|
|
- <if test="aid != null and aid != ''">
|
|
|
- and aid = #{aid}
|
|
|
- </if>
|
|
|
- <if test="mid != null and mid != ''">
|
|
|
- and mid = #{mid}
|
|
|
- </if>
|
|
|
- <if test="status != null">
|
|
|
- and status = #{status}
|
|
|
- </if>
|
|
|
- <if test="source != null">
|
|
|
- and source = #{source}
|
|
|
- </if>
|
|
|
- <if test="updateTime != null">
|
|
|
- and update_time = #{updateTime}
|
|
|
- </if>
|
|
|
- <if test="companyLogoUrl != null and companyLogoUrl != ''">
|
|
|
- and company_logo_url = #{companyLogoUrl}
|
|
|
- </if>
|
|
|
- <if test="headPortraitUrl != null and headPortraitUrl != ''">
|
|
|
- and head_portrait_url = #{headPortraitUrl}
|
|
|
- </if>
|
|
|
- <if test="societyTag != null and societyTag != ''">
|
|
|
- and society_tag = #{societyTag}
|
|
|
- </if>
|
|
|
- <if test="introduction != null and introduction != ''">
|
|
|
- and introduction = #{introduction}
|
|
|
- </if>
|
|
|
- <if test="valueAddedTag != null and valueAddedTag != ''">
|
|
|
- and value_added_tag = #{valueAddedTag}
|
|
|
- </if>
|
|
|
- <if test="organizationId != null and organizationId != ''">
|
|
|
- and organization_id = #{organizationId}
|
|
|
- </if>
|
|
|
- <if test="shareType != null">
|
|
|
- and share_type = #{shareType}
|
|
|
- </if>
|
|
|
- <if test="identifyName != null and identifyName != ''">
|
|
|
- and identify_name = #{identifyName}
|
|
|
- </if>
|
|
|
- <if test="backgroundUrl != null and backgroundUrl != ''">
|
|
|
- and background_url = #{backgroundUrl}
|
|
|
- </if>
|
|
|
- <if test="auditStatus != null">
|
|
|
- and audit_status = #{auditStatus}
|
|
|
- </if>
|
|
|
- <if test="auditOpinion != null and auditOpinion != ''">
|
|
|
- and audit_opinion = #{auditOpinion}
|
|
|
- </if>
|
|
|
- <if test="transferTime != null">
|
|
|
- and transfer_time = #{transferTime}
|
|
|
- </if>
|
|
|
- <if test="informationMaintainer != null and informationMaintainer != ''">
|
|
|
- and information_maintainer = #{informationMaintainer}
|
|
|
- </if>
|
|
|
- <if test="coreTechnology != null and coreTechnology != ''">
|
|
|
- and core_technology = #{coreTechnology}
|
|
|
- </if>
|
|
|
- <if test="accomplishSituation != null and accomplishSituation != ''">
|
|
|
- and accomplish_situation = #{accomplishSituation}
|
|
|
- </if>
|
|
|
- <if test="intellectualProperty != null and intellectualProperty != ''">
|
|
|
- and intellectual_property = #{intellectualProperty}
|
|
|
- </if>
|
|
|
- <if test="creditRating != null">
|
|
|
- and credit_rating = #{creditRating}
|
|
|
- </if>
|
|
|
- <if test="level != null">
|
|
|
- and level = #{level}
|
|
|
- </if>
|
|
|
- <if test="authentication != null">
|
|
|
- and authentication = #{authentication}
|
|
|
- </if>
|
|
|
- <if test="username != null and username != ''">
|
|
|
- and username = #{username}
|
|
|
- </if>
|
|
|
- <if test="integrity != null">
|
|
|
- and integrity = #{integrity}
|
|
|
- </if>
|
|
|
- <if test="toInviteCode != null and toInviteCode != ''">
|
|
|
- and to_invite_code = #{toInviteCode}
|
|
|
- </if>
|
|
|
- <if test="beInviteCode != null and beInviteCode != ''">
|
|
|
- and be_invite_code = #{beInviteCode}
|
|
|
- </if>
|
|
|
- <if test="guidance != null">
|
|
|
- and guidance = #{guidance}
|
|
|
- </if>
|
|
|
- <if test="signBills != null">
|
|
|
- and sign_bills = #{signBills}
|
|
|
- </if>
|
|
|
- <if test="channel != null">
|
|
|
- and channel = #{channel}
|
|
|
- </if>
|
|
|
- <if test="newChannel != null">
|
|
|
- and new_channel = #{newChannel}
|
|
|
- </if>
|
|
|
- <if test="signTime != null">
|
|
|
- and sign_time = #{signTime}
|
|
|
- </if>
|
|
|
- <if test="callStatus != null">
|
|
|
- and call_status = #{callStatus}
|
|
|
- </if>
|
|
|
- <if test="clueStatus != null">
|
|
|
- and clue_status = #{clueStatus}
|
|
|
- </if>
|
|
|
- <if test="clueProcess != null">
|
|
|
- and clue_process = #{clueProcess}
|
|
|
- </if>
|
|
|
- <if test="clueTime != null">
|
|
|
- and clue_time = #{clueTime}
|
|
|
- </if>
|
|
|
- <if test="clueAid != null and clueAid != ''">
|
|
|
- and clue_aid = #{clueAid}
|
|
|
- </if>
|
|
|
- <if test="clueTransferTime != null">
|
|
|
- and clue_transfer_time = #{clueTransferTime}
|
|
|
- </if>
|
|
|
- <if test="nature != null">
|
|
|
- and nature = #{nature}
|
|
|
- </if>
|
|
|
- <if test="natureOther != null">
|
|
|
- and nature_other = #{natureOther}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
|
|
|
<!--通过主键删除-->
|
|
|
<delete id="deleteById">
|