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