Browse Source

客户管理

wanghui 7 years ago
parent
commit
c85c59bc47
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 3 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -88,6 +88,7 @@
 		<if test="auditStatus != null">
 			and b.audit_status = #{auditStatus,jdbcType=INTEGER}
 		</if>
+			order by a.create_time desc
 		 <if test="page_sql != null">
     		${page_sql}
    		 </if>
@@ -247,10 +248,10 @@
 		<if test="auditStatus != null">
       		and b.audit_status = #{auditStatus,jdbcType=INTEGER}
    		 </if>
+   		  order by a.create_time desc
 		 <if test="page_sql != null">
     		${page_sql}
    		 </if>
-   		 order by a.create_time desc
 	</select>
 	<select id="selectOrganizationCustomerCount" resultType="java.lang.Integer">
 		select 
@@ -839,6 +840,7 @@
 	<if test="endDate != null and endDate != ''">
 		and a.create_time &lt; STR_TO_DATE(#{endDate},'%Y-%m-%d %H:%i:%s')
 	</if>
+		order by a.create_time desc
 	<if test="page_sql != null">
     	${page_sql}
     </if>