Bläddra i källkod

官员登录,首页修改

liliang4869 7 år sedan
förälder
incheckning
a45dc5866a

+ 2 - 2
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -201,9 +201,9 @@
     from admin a
     left join user_role b on a.id = b.uid 
     left join role c on b.rid = c.id 
-    where mobile = #{mobile,jdbcType=VARCHAR}
+    where mobile =#{0}
     <if test="roleName !=null">
-    and #{roleName,jdbcType=VARCHAR}=c.role_name
+    and #{1}=c.role_name
     </if>
   </select> 
   

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

@@ -70,7 +70,7 @@
 								发布需求
 							</div>
 							<div>
-								购买技术
+								承接需求
 							</div>
 							
 						</div>
@@ -97,7 +97,7 @@
 							体系认证
 							</div>
 							<div>
-								发布成果
+								购买技术
 							</div>
 							<div>
 							发布技术