|
|
@@ -527,33 +527,33 @@ nature_other = values(nature_other)
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
- <select id="findUserCount" resultType="java.lang.Integer">
|
|
|
- select count(1)
|
|
|
- from user u LEFT JOIN user_identity i
|
|
|
- ON u.id = i.uid
|
|
|
- WHERE u.type = 0
|
|
|
- <if test="mobile != null">
|
|
|
- and u.mobile = #{mobile,jdbcType=VARCHAR}
|
|
|
- </if>
|
|
|
- <if test="email != null">
|
|
|
- and u.email = #{email,jdbcType=VARCHAR}
|
|
|
- </if>
|
|
|
- <if test="pStart != null">
|
|
|
- and u.create_time <![CDATA[ > ]]> #{pStart,jdbcType=TIMESTAMP}
|
|
|
- </if>
|
|
|
- <if test="pEnd != null">
|
|
|
- and u.create_time <![CDATA[ < ]]> #{pEnd,jdbcType=TIMESTAMP}
|
|
|
- </if>
|
|
|
- <if test="number != null">
|
|
|
- and u.number = #{number,jdbcType=INTEGER}
|
|
|
- </if>
|
|
|
- <if test="username != null">
|
|
|
- and i.username like CONCAT ('%',#{username,jdbcType=VARCHAR},'%')
|
|
|
- </if>
|
|
|
- <if test="auditStatus != null">
|
|
|
- and i.audit_status= #{auditStatus,jdbcType=INTEGER}
|
|
|
- </if>
|
|
|
- </select>
|
|
|
+<!-- <select id="findUserCount" resultType="java.lang.Integer">-->
|
|
|
+<!-- select count(1)-->
|
|
|
+<!-- from user u LEFT JOIN user_identity i-->
|
|
|
+<!-- ON u.id = i.uid-->
|
|
|
+<!-- WHERE u.type = 0-->
|
|
|
+<!-- <if test="mobile != null">-->
|
|
|
+<!-- and u.mobile = #{mobile,jdbcType=VARCHAR}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="email != null">-->
|
|
|
+<!-- and u.email = #{email,jdbcType=VARCHAR}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="pStart != null">-->
|
|
|
+<!-- and u.create_time <![CDATA[ > ]]> #{pStart,jdbcType=TIMESTAMP}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="pEnd != null">-->
|
|
|
+<!-- and u.create_time <![CDATA[ < ]]> #{pEnd,jdbcType=TIMESTAMP}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="number != null">-->
|
|
|
+<!-- and u.number = #{number,jdbcType=INTEGER}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="username != null">-->
|
|
|
+<!-- and i.username like CONCAT ('%',#{username,jdbcType=VARCHAR},'%')-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- <if test="auditStatus != null">-->
|
|
|
+<!-- and i.audit_status= #{auditStatus,jdbcType=INTEGER}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- </select>-->
|
|
|
|
|
|
<select id="findOrgListByPage" parameterType="String" resultType="com.goafanti.user.bo.OrgListBo">
|
|
|
select u.id ,u.mobile, u.email, u.create_time as createTime,
|