wanghui пре 8 година
родитељ
комит
6d13507c98

+ 4 - 4
src/main/java/com/goafanti/common/mapper/AchievementMapper.xml

@@ -1393,7 +1393,7 @@
 	from 
 		achievement t 
 	where 
-		jmrh_flag = 1 and data_category = 0
+		jmrh_flag = 1 and data_category = 0 and audit_status = 3
 	order by 
 		create_time desc
 	limit 5;
@@ -1404,7 +1404,7 @@
 	from 
 		achievement t 
 	where 
-		jmrh_flag = 1 and data_category = 1
+		jmrh_flag = 1 and data_category = 1 and audit_status = 3
 	order by 
 		create_time desc
 	limit 5;
@@ -1421,9 +1421,9 @@
 	left join 
 		field_glossory d on a.field_a = d.id
 	where 
-		jmrh_flag = 1 and data_category = 2
+		jmrh_flag = 1 and data_category = 1 and audit_status = 3
 	order by 
-		a.create_time desc
+		a.create_time asc
 	limit 5;
   </select>
 </mapper>

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -69,7 +69,7 @@ template.cacheable=false
 
 mobileCodeTemplate=SMS_37845022
 
-portal.host=//sf.jishutao.com/portal/1.0.9
+portal.host=//sf.jishutao.com/portal/1.0.11
 
 patentTemplate=SMS_72005286
 

Разлика између датотеке није приказан због своје велике величине
+ 1 - 0
src/main/webapp/WEB-INF/views/portal/index.html


+ 2 - 2
src/main/webapp/WEB-INF/views/portal/residentIntegration/index.html

@@ -74,7 +74,7 @@
 			<div class="patent_bottom">
 				<div class="col-xs-6 bg-left">
 					<ul>
-						<li th:each="it: ${jmrhTechnologyList}">
+						<li th:each="it: ${jmrhProjectList}">
 							<a th:href="${basePath+ '/portal/detail/achievementDetail.html?id=' + it.id +'&type=' + it.ownerType}">
 								<span class="note" th:text="${it.name}"></span>
 								<span th:if="${it.maturity == '1'}" class="node" >正在研发</span>
@@ -97,7 +97,7 @@
 				<div class="col-xs-6 imgt"><img th:src="${portalHost + '/img/cicm_3.png'}"/></div>
 				<div class="col-xs-6 bg-right">
 					<ul>
-						<li th:each="it: ${jmrhProjectList}">
+						<li th:each="it: ${jmrhTechnologyList}">
 							<a th:href="${basePath+ '/portal/detail/achievementDetail.html?id=' + it.id +'&type=' + it.ownerType}">
 								<span class="note" th:text="${it.name}"></span>
 								<span class="node" th:text="${it.industry}"></span>