Browse Source

发起投资金额判定设置

anderx 3 years ago
parent
commit
013b68a6e6

+ 1 - 1
src/main/java/com/goafanti/ambSystem/service/Impl/AmbInvestServiceImpl.java

@@ -76,7 +76,7 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
             }
             count=count.add(in.getAmount());
             if (count.compareTo(myAmb.getSurplus())>0){
-                throw new BusinessException("对外投资金额加上本次投资金额不可大于收到的投资金额!(注意已发起的投资金额)");
+                throw new BusinessException("发起投资金额不可大于剩余投资金额!(注意已审核中投资金额)");
             }
         }
     }

+ 1 - 1
src/main/webapp/WEB-INF/views/admin/amiba.html

@@ -4,7 +4,7 @@
 <head th:replace="common::header(~{::title},~{::link})">
 	<title>管理中心首页</title>
 	<link th:href="${staticHost+'/dll/dll.css'}" rel="stylesheet">
-	<link th:href="${staticHost+'/admin/index.css'}" rel="stylesheet">
+	<link th:href="${staticHost+'/admin/amiba.css'}" rel="stylesheet">
 </head>
 <body>
 	<div id="root"></div>