fix initShop
This commit is contained in:
@@ -16,7 +16,7 @@ import javax.validation.constraints.NotNull;
|
||||
*/
|
||||
@Data
|
||||
public class BranchShopDetailRequest {
|
||||
|
||||
@NotNull
|
||||
private Long shopId;
|
||||
@ApiModelProperty("加盟意向区域")
|
||||
private Long wantShopAreaId;
|
||||
|
||||
@@ -104,6 +104,10 @@ public class ShopServiceImpl implements ShopService {
|
||||
shopInfo.setLineId(lineInfo.getId());
|
||||
shopInfo.setPartnerId(lineInfo.getPartnerId());
|
||||
//初始化
|
||||
shopInfo.setWantShopAreaId(lineInfo.getWantShopAreaId());
|
||||
shopInfo.setDevelopmentManager(lineInfo.getDevelopmentManager());
|
||||
shopInfo.setFranchiseBrand(lineInfo.getFranchiseBrand());
|
||||
shopInfo.setJoinMode(lineInfo.getJoinMode());
|
||||
shopInfo.setStoreNum(RandomEightCharCodeUtils.getCode());
|
||||
shopInfo.setSupervisorUserId(lineInfo.getInvestmentManager());
|
||||
shopInfo.setShopName("店铺" + NumberConverter.convertArabicToChinese(i + 1));
|
||||
|
||||
Reference in New Issue
Block a user