feat:建店调整

This commit is contained in:
suzhuhong
2026-02-09 14:18:44 +08:00
parent 584291d342
commit e4e0d35f8b
2 changed files with 21 additions and 0 deletions

View File

@@ -104,6 +104,8 @@ public class StoreMasterDTO {
private SignerInfo signerInfo;
private Signer2Info signer2Info;
private SettlerInfo settlerInfo;
@ApiModelProperty("是否统管")
private Integer unifiedManagement;
@@ -124,6 +126,18 @@ public class StoreMasterDTO {
private Long partnerRoleId;
}
@Data
public static class Signer2Info {
@ApiModelProperty("签约人1姓名")
private String Signer2Name;
@ApiModelProperty("签约人1姓名")
private String Signer2Mobile;
@ApiModelProperty("签约人1姓名")
private String Signer2IdCard;
@ApiModelProperty("角色")
private Long partnerRoleId;
}
@Data
public static class SettlerInfo{
@ApiModelProperty("结算人姓名")

View File

@@ -104,6 +104,13 @@ public class SyncMainSysServerImpl implements SyncMainSysServer {
storeMasterDTO.setRegionId(shopInfo.getManagerRegionId());
storeMasterDTO.setJoinSupervision(shopInfo.getInvestmentManager());
StoreMasterDTO.Signer2Info signer2Info = new StoreMasterDTO.Signer2Info();
signer2Info.setSigner2Name(signFranchiseDO.getPartnershipSignatorySecond());
signer2Info.setSigner2Mobile(signFranchiseDO.getPartnershipSignatorySecondMobile());
signer2Info.setSigner2IdCard(signFranchiseDO.getPartnershipSignatorySecondIdNumber());
signer2Info.setPartnerRoleId(UserRoleEnum.FRANCHISEES.getCode());
storeMasterDTO.setSigner2Info(signer2Info);
BuildInformationDO buildInformationDO = buildInformationDAO.selectOneByShopId(shopId);
if (buildInformationDO != null){
storeMasterDTO.setMiniProgramOrderStoreName(buildInformationDO.getCShopName());