updateBranchShopDetail / 增加字段
This commit is contained in:
@@ -30,4 +30,8 @@ public class BranchShopDetailRequest {
|
|||||||
@NotBlank
|
@NotBlank
|
||||||
@ApiModelProperty("加盟品牌")
|
@ApiModelProperty("加盟品牌")
|
||||||
private String franchiseBrand;
|
private String franchiseBrand;
|
||||||
|
@ApiModelProperty("门店代码")
|
||||||
|
private String shopCode;
|
||||||
|
@ApiModelProperty("门店名称")
|
||||||
|
private String shopName;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -314,6 +314,8 @@ public class ShopServiceImpl implements ShopService {
|
|||||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
||||||
shopInfo.setUpdateUserId(userId);
|
shopInfo.setUpdateUserId(userId);
|
||||||
shopInfo.setUpdateTime(new Date());
|
shopInfo.setUpdateTime(new Date());
|
||||||
|
shopInfo.setShopCode(request.getShopCode());
|
||||||
|
shopInfo.setShopName(request.getShopName());
|
||||||
shopInfo.setWantShopAreaId(request.getWantShopAreaId());
|
shopInfo.setWantShopAreaId(request.getWantShopAreaId());
|
||||||
shopInfo.setRegionId(request.getRegionId());
|
shopInfo.setRegionId(request.getRegionId());
|
||||||
shopInfo.setJoinMode(request.getJoinMode());
|
shopInfo.setJoinMode(request.getJoinMode());
|
||||||
|
|||||||
Reference in New Issue
Block a user