feat:regionName
This commit is contained in:
@@ -583,6 +583,8 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
||||
|
||||
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(shopInfoDO.getLineId());
|
||||
|
||||
RegionDO region = regionDao.getRegionById(shopInfoDO.getRegionId());
|
||||
|
||||
|
||||
log.info("加盟合同审批时签约类型:{}", SignTypeEnum.getDescByCode(signFranchiseDO.getSignType()));
|
||||
|
||||
@@ -626,6 +628,9 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
|
||||
|
||||
contractInformationDTO.setStoreAddress(shopInfoDO.getDetailAddress());
|
||||
contractInformationDTO.setDiscountReason(franchiseFeeDO.getDiscountReason());
|
||||
if (region != null){
|
||||
contractInformationDTO.setRegionName(region.getName());
|
||||
}
|
||||
|
||||
//老店转加盟(也叫直营转加盟)
|
||||
if (SignTypeEnum.DIRECT_SALES_TO_JOINING.getCode().equals(signFranchiseDO.getSignType())){
|
||||
|
||||
Reference in New Issue
Block a user