ソースを参照

投资列表修改

anderx 3 年 前
コミット
bdd79b9ad7
共有1 個のファイルを変更した5 個の追加1 個の削除を含む
  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>