limin лет назад: 7
Родитель
Сommit
42fe43cfe1

+ 1 - 1
src/main/java/com/goafanti/user/service/impl/UserServiceImpl.java

@@ -92,7 +92,7 @@ public class UserServiceImpl extends BaseMybatisDao<UserMapper> implements UserS
 		JtCollectSearch j=new JtCollectSearch();
 		j.setRowId(u.getId());
 		j.setTitle(u.getNickname());
-		if(collectFlag)jtCollectSearchMapper.updateByRowIdSelective(j);
+		if(collectFlag && null != u.getNickname())jtCollectSearchMapper.updateByRowIdSelective(j);//企业暂时不需要修改全局搜索表
 		return userMapper.updateByPrimaryKeySelective(u);
 	}
 

+ 15 - 3
src/main/webapp/WEB-INF/views/portal/service/safeguardingDetail.html

@@ -44,15 +44,27 @@
         <div class="safeBodyLeft">
             <div class="safeIntroduce">
                 <h3>个人简介</h3>
-                <p th:text="${sd.introduction}">近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续</p>
+                <figure>
+                	<pre th:text="${sd.introduction}">
+                		简介
+                	</pre>
+                </figure>
             </div>
             <div class="safeIntroduce">
                 <h3>擅长行业</h3>
-                <p th:text="${sd.goodAtIndustry}">近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续</p>
+                <figure>
+                	<pre th:text="${sd.goodAtIndustry}">
+                		行业
+                	</pre>
+                </figure>
             </div>
             <div class="safeIntroduce">
                 <h3>典型案例</h3>
-                <p th:text="${sd.typicalCase}">近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续平稳、猪肉价格会否大涨等民众关切问题,给予回应。近日,多部门召开发布会,对未来房价能否继续</p>
+                <figure>
+                	<pre th:text="${sd.typicalCase}">
+                		案例
+                	</pre>
+                </figure>
             </div>
             <div class="adviser_list">
                 <p>用户评价</p>

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/service/safeguardingList.html

@@ -28,7 +28,7 @@
             </div>
         </div>
         <div class="sort">
-            <a class="relTime active">发布时间</a><a class="colNumber">好评率</a>
+            <a class="relTime">发布时间</a><a class="colNumber">好评率</a>
         </div>
         <div class="adviserList">
             <ul>