feat:regionName

This commit is contained in:
苏竹红
2025-12-04 14:53:48 +08:00
parent fb01212593
commit 5f2fcf944e
2 changed files with 7 additions and 0 deletions

View File

@@ -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())){