Aslee 4 éve
szülő
commit
e004fb44b7

+ 0 - 20
src/main/java/com/caimei365/user/model/po/ShopPo.java

@@ -38,30 +38,10 @@ public class ShopPo implements Serializable {
      * 手机号
      * 手机号
      */
      */
     private String contractMobile;
     private String contractMobile;
-    /**
-     * 联系人1(默认联系人)
-     */
-    private String linkMan1;
-    /**
-     * 联系人1手机号
-     */
-    private String contractMobile1;
     /**
     /**
      * 联系人1邮箱
      * 联系人1邮箱
      */
      */
     private String contractEmail1;
     private String contractEmail1;
-    /**
-     * 联系人2
-     */
-    private String linkMan2;
-    /**
-     * 联系人2手机号
-     */
-    private String contractMobile2;
-    /**
-     * 联系人2邮箱
-     */
-    private String contractEmail2;
     /**
     /**
      * 省
      * 省
      */
      */

+ 0 - 5
src/main/java/com/caimei365/user/service/impl/RegisterServiceImpl.java

@@ -444,15 +444,10 @@ public class RegisterServiceImpl implements RegisterService {
         shop.setSName(shopRegisterDto.getSName());
         shop.setSName(shopRegisterDto.getSName());
         // 联系人
         // 联系人
         shop.setLinkMan(shopRegisterDto.getLinkMan());
         shop.setLinkMan(shopRegisterDto.getLinkMan());
-//        shop.setLinkMan1(shopRegisterDto.getLinkMan());
-//        shop.setLinkMan2(shopRegisterDto.getLinkMan());
         // 绑定手机号
         // 绑定手机号
         shop.setContractMobile(shopRegisterDto.getBindMobile());
         shop.setContractMobile(shopRegisterDto.getBindMobile());
-//        shop.setContractMobile1(shopRegisterDto.getBindMobile());
-//        shop.setContractMobile2(shopRegisterDto.getBindMobile());
         // 绑定邮箱
         // 绑定邮箱
         shop.setContractEmail1(shopRegisterDto.getEmail());
         shop.setContractEmail1(shopRegisterDto.getEmail());
-//        shop.setContractEmail2(shopRegisterDto.getEmail());
         // 绑定地址
         // 绑定地址
         shop.setProvinceId(shopRegisterDto.getProvinceId());
         shop.setProvinceId(shopRegisterDto.getProvinceId());
         shop.setCityId(shopRegisterDto.getCityId());
         shop.setCityId(shopRegisterDto.getCityId());

+ 2 - 2
src/main/resources/mapper/RegisterMapper.xml

@@ -18,8 +18,8 @@
         values(#{registerTime},#{registerIp},#{source},#{registerUserTypeId},#{name},#{userName},#{bindMobile},#{email},#{userIdentity},#{userPermission},#{manufacturerStatus},#{password},#{agreeFlag},#{validFlag})
         values(#{registerTime},#{registerIp},#{source},#{registerUserTypeId},#{name},#{userName},#{bindMobile},#{email},#{userIdentity},#{userPermission},#{manufacturerStatus},#{password},#{agreeFlag},#{validFlag})
     </insert>
     </insert>
     <insert id="insertShop" parameterType="com.caimei365.user.model.po.ShopPo" keyProperty="shopId" useGeneratedKeys="true">
     <insert id="insertShop" parameterType="com.caimei365.user.model.po.ShopPo" keyProperty="shopId" useGeneratedKeys="true">
-        insert into shop(`userID`, `name`, `sname`, `linkMan`, `linkMan1`, `linkMan2`, `contractMobile`, `contractMobile1`, `contractMobile2`, `contractEmail1`, `contractEmail2`, `provinceID`, `cityID`, `townID`, `address`, `socialCreditCode`, `businessLicenseImage`, `firstShopType`, `secondShopType`, `mainpro`, `addTime`, `validFlag`, `status`)
-        values(#{userId},#{name},#{sName},#{linkMan},#{linkMan1},#{linkMan2},#{contractMobile},#{contractMobile1},#{contractMobile2},#{contractEmail1},#{contractEmail2},#{provinceId},#{cityId},#{townId},#{address},#{socialCreditCode},#{businessLicense},#{firstShopType},#{secondShopType},#{mainProduct},#{addTime},#{validFlag},#{status})
+        insert into shop(`userID`, `name`, `sname`, `linkMan`, `contractMobile`, `contractEmail1`, `provinceID`, `cityID`, `townID`, `address`, `socialCreditCode`, `businessLicenseImage`, `firstShopType`, `secondShopType`, `mainpro`, `addTime`, `validFlag`, `status`)
+        values(#{userId},#{name},#{sName},#{linkMan},#{contractMobile},#{contractEmail1},#{provinceId},#{cityId},#{townId},#{address},#{socialCreditCode},#{businessLicense},#{firstShopType},#{secondShopType},#{mainProduct},#{addTime},#{validFlag},#{status})
     </insert>
     </insert>
     <update id="updateUserClubId">
     <update id="updateUserClubId">
         update user set clubID = #{clubId} where userID = #{userId}
         update user set clubID = #{clubId} where userID = #{userId}