jzdsh 4 anni fa
parent
commit
f37f7b24b3

+ 1 - 1
src/main/java/com/yc/education/controller/admin/SupplierAdminController.java

@@ -148,7 +148,7 @@ public class SupplierAdminController extends BaseController {
         if (StringUtils.isBlank(paramTypeStr)){
             paramType = null;
         }else {
-             paramType = paramTypeStr.split(",");
+             paramType = paramTypeStr. split(",");
         }
 
         mav.addObject("province1", province);

+ 30 - 1
src/main/java/com/yc/education/model/Uda.java

@@ -34,6 +34,11 @@ public class Uda implements Serializable {
      */
     private String district;
 
+    /**
+     * 具体地址
+     */
+    private String street;
+
     /**
      * 获取id
      *
@@ -124,8 +129,32 @@ public class Uda implements Serializable {
         this.district = district;
     }
 
+    /**
+     * 获取地址
+     * @return
+     */
+    public String getStreet(){
+        return street;
+    }
+
+    /**
+     * 设置地址
+     * @return
+     */
+    public  void setStreet(String street){
+        this.street = street;
+    }
+
+
     @Override
     public String toString() {
-        return "Uda{" + "id=" + id + ", userId=" + userId + ", province='" + province + '\'' + ", city='" + city + '\'' + ", district='" + district + '\'' + '}';
+        return "Uda{" +
+                "id=" + id +
+                ", userId=" + userId +
+                ", province='" + province + '\'' +
+                ", city='" + city + '\'' +
+                ", district='" + district + '\'' +
+                ", street='" + street + '\'' +
+                '}';
     }
 }

+ 1 - 0
src/main/resources/mapper/UdaMapper.xml

@@ -7,6 +7,7 @@
     <result column="province" property="province" jdbcType="VARCHAR" />
     <result column="city" property="city" jdbcType="VARCHAR" />
     <result column="district" property="district" jdbcType="VARCHAR" />
+    <result column="street" property="street" jdbcType="VARCHAR"/>
   </resultMap>
 
   <select id="getOneByUserId" resultMap="BaseResultMap">

+ 1 - 0
src/main/webapp/WEB-INF/jsp/admin/index.jsp

@@ -269,6 +269,7 @@
                     <%-- <li><a data-href="privilegeList.html" data-title="权限设置" href="javascript:void(0)">权限设置</a></li>--%>
                     <%--<li><a data-href="adminRoleTemplateList.html" data-title="角色权限" href="javascript:void(0)">角色权限</a></li>--%>
                     <%--<li><a data-href="1.html" data-title="管理员信息" href="javascript:void(0)">管理员信息</a></li>--%>
+                    <li><a data-href="wzqTest.html" data-title="吴志强" href="javascript:void(0)">吴志强</a></li>
                 </ul>
             </dd>
         </dl>