|
@@ -83,7 +83,7 @@ func (PartnerInfoService *PartnerInfoService) CreatePartnerInfo(cmd *command.Cre |
|
@@ -83,7 +83,7 @@ func (PartnerInfoService *PartnerInfoService) CreatePartnerInfo(cmd *command.Cre |
83
|
PartnerCategory: 0,
|
83
|
PartnerCategory: 0,
|
84
|
Password: cmd.Password,
|
84
|
Password: cmd.Password,
|
85
|
Status: cmd.Status,
|
85
|
Status: cmd.Status,
|
86
|
- RegionInfo: cmd.RegionInfo,
|
86
|
+ RegionInfo: *cmd.RegionInfo,
|
87
|
Salesman: cmd.Salesman,
|
87
|
Salesman: cmd.Salesman,
|
88
|
CooperateTime: cmd.CooperateTime,
|
88
|
CooperateTime: cmd.CooperateTime,
|
89
|
CompanyId: cmd.CompanyId,
|
89
|
CompanyId: cmd.CompanyId,
|
|
@@ -210,7 +210,7 @@ func (PartnerInfoService *PartnerInfoService) UpdatePartnerInfo(cmd *command.Upd |
|
@@ -210,7 +210,7 @@ func (PartnerInfoService *PartnerInfoService) UpdatePartnerInfo(cmd *command.Upd |
210
|
}
|
210
|
}
|
211
|
partnerInfo.Salesman = cmd.Salesman
|
211
|
partnerInfo.Salesman = cmd.Salesman
|
212
|
partnerInfo.Status = cmd.Status
|
212
|
partnerInfo.Status = cmd.Status
|
213
|
- partnerInfo.RegionInfo = cmd.RegionInfo
|
213
|
+ partnerInfo.RegionInfo = *cmd.RegionInfo
|
214
|
partnerInfo.CooperateTime = cmd.CooperateTime
|
214
|
partnerInfo.CooperateTime = cmd.CooperateTime
|
215
|
partnerInfo.PartnerCategoryInfos = categorys
|
215
|
partnerInfo.PartnerCategoryInfos = categorys
|
216
|
if err = partnerInfoRepository.Save(partnerInfo); err != nil {
|
216
|
if err = partnerInfoRepository.Save(partnerInfo); err != nil {
|