feat:建店调整
This commit is contained in:
@@ -104,6 +104,8 @@ public class StoreMasterDTO {
|
|||||||
|
|
||||||
private SignerInfo signerInfo;
|
private SignerInfo signerInfo;
|
||||||
|
|
||||||
|
private Signer2Info signer2Info;
|
||||||
|
|
||||||
private SettlerInfo settlerInfo;
|
private SettlerInfo settlerInfo;
|
||||||
@ApiModelProperty("是否统管")
|
@ApiModelProperty("是否统管")
|
||||||
private Integer unifiedManagement;
|
private Integer unifiedManagement;
|
||||||
@@ -124,6 +126,18 @@ public class StoreMasterDTO {
|
|||||||
private Long partnerRoleId;
|
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
|
@Data
|
||||||
public static class SettlerInfo{
|
public static class SettlerInfo{
|
||||||
@ApiModelProperty("结算人姓名")
|
@ApiModelProperty("结算人姓名")
|
||||||
|
|||||||
@@ -104,6 +104,13 @@ public class SyncMainSysServerImpl implements SyncMainSysServer {
|
|||||||
storeMasterDTO.setRegionId(shopInfo.getManagerRegionId());
|
storeMasterDTO.setRegionId(shopInfo.getManagerRegionId());
|
||||||
storeMasterDTO.setJoinSupervision(shopInfo.getInvestmentManager());
|
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);
|
BuildInformationDO buildInformationDO = buildInformationDAO.selectOneByShopId(shopId);
|
||||||
if (buildInformationDO != null){
|
if (buildInformationDO != null){
|
||||||
storeMasterDTO.setMiniProgramOrderStoreName(buildInformationDO.getCShopName());
|
storeMasterDTO.setMiniProgramOrderStoreName(buildInformationDO.getCShopName());
|
||||||
|
|||||||
Reference in New Issue
Block a user