Explorar o código

投资列表修改

anderx %!s(int64=3) %!d(string=hai) anos
pai
achega
bdd79b9ad7

+ 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>