Browse Source

投资列表修改

anderx 3 years ago
parent
commit
bdd79b9ad7
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/main/java/com/goafanti/common/mapper/AmbInvestMapper.xml

+ 5 - 1
src/main/java/com/goafanti/common/mapper/AmbInvestMapper.xml

@@ -156,7 +156,11 @@
     <if test="roleType==3">
       and a.accept_amb_id = #{ambId}
     </if>
-    order by a.create_time desc
+    order by
+    <if test="roleType==0 or roleType==1">
+    a.status ,
+    </if>
+    a.create_time desc
     <if test="page_sql !=null">
       ${page_sql}
     </if>