Commit 63266d2746dfd689ae63f76c054f93d571d8ccdf

Authored by jiangchengyong
1 parent 5d447e95

update

myapp-web/src/main/java/com/b2c/myapp/domain/extend/ShopSellInfo.java
... ... @@ -24,12 +24,7 @@ public class ShopSellInfo extends BaseQuery implements Serializable {
24 24 /**
25 25 * 经营类目id
26 26 */
27   - private Long businessCategoryId;
28   -
29   - /**
30   - * 经营类目名称
31   - */
32   - private String businessCategoryName;
  27 + private String businessCategoryIds;
33 28  
34 29 /**
35 30 * 所属城市
... ... @@ -161,20 +156,12 @@ public class ShopSellInfo extends BaseQuery implements Serializable {
161 156 this.shopName = shopName;
162 157 }
163 158  
164   - public Long getBusinessCategoryId() {
165   - return businessCategoryId;
166   - }
167   -
168   - public void setBusinessCategoryId(Long businessCategoryId) {
169   - this.businessCategoryId = businessCategoryId;
170   - }
171   -
172   - public String getBusinessCategoryName() {
173   - return businessCategoryName;
  159 + public String getBusinessCategoryIds() {
  160 + return businessCategoryIds;
174 161 }
175 162  
176   - public void setBusinessCategoryName(String businessCategoryName) {
177   - this.businessCategoryName = businessCategoryName;
  163 + public void setBusinessCategoryIds(String businessCategoryIds) {
  164 + this.businessCategoryIds = businessCategoryIds;
178 165 }
179 166  
180 167 public Long getAddressId() {
... ... @@ -359,8 +346,7 @@ public class ShopSellInfo extends BaseQuery implements Serializable {
359 346 "shopId=" + shopId +
360 347 ", shopLogo='" + shopLogo + '\'' +
361 348 ", shopName='" + shopName + '\'' +
362   - ", businessCategoryId=" + businessCategoryId +
363   - ", businessCategoryName='" + businessCategoryName + '\'' +
  349 + ", businessCategoryIds=" + businessCategoryIds +
364 350 ", addressId=" + addressId +
365 351 ", addressText=" + addressText +
366 352 ", addressDetail='" + addressDetail + '\'' +
... ...
myapp-web/src/main/resources/mybatis/ShopMapper.xml
... ... @@ -350,7 +350,7 @@
350 350 <select id="listShopSeller" parameterType="com.b2c.myapp.domain.extend.ShopSellInfo" resultType="com.b2c.myapp.domain.extend.ShopSellInfo">
351 351 <![CDATA[
352 352 SELECT t1.id as shopId,t1.shop_logo as shopLogo,t1.shop_name as shopName,t1.business_category_ids as businessCategoryIds,
353   - t1.business_category_name as businessCategoryName,t1.address_id as addressId,t1.address_text as addressText,t1.address_id as addressDetail,t1.service_tel as serviceTel,
  353 + t1.address_id as addressId,t1.address_text as addressText,t1.address_id as addressDetail,t1.service_tel as serviceTel,
354 354 t1.promo_code as promoCode,t1.product_display_way as productDisplayWay,t1.postage as postage,t1.free_shipping_price as freeShippingPrice,
355 355 t1.shop_notices as shopNotices,t1.market_id as marketId,t1.stored_total_price as storedTotalPrice,t1.residue_total_price as residueTotalPrice,
356 356 t1.freeze_total_price as freezeTotalPrice,t1.created as shopCreated,t1.yn as shopYn,t2.id as sellerId,t2.mobile_phone as mobilePhone,t2.account_name as accountName,
... ...