作者 陈志颖

fix:反馈信息模式名称

... ... @@ -17,6 +17,8 @@ type ContractUndertakerFeedback struct {
CooperationContractNumber string `comment:"共创合约编号"`
// 项目合约名称
CooperationContractName string `comment:"项目合约名称"`
// 模式名称
CooperationModeName string `comment:"模式名称"`
// 共创合约承接人
ContractUndertaker *domain.Undertaker `comment:"共创合约承接人"`
// 数据所属组织机构
... ...
... ... @@ -13,6 +13,7 @@ func TransformToContractUndertakerFeedbackDomainModelFromPgModels(
FeedbackContent: contractUndertakerFeedbackModel.FeedbackContent,
CooperationContractNumber: contractUndertakerFeedbackModel.CooperationContractNumber,
CooperationContractName: contractUndertakerFeedbackModel.CooperationContractName,
CooperationModeName: contractUndertakerFeedbackModel.CooperationModeName,
ContractUndertaker: contractUndertakerFeedbackModel.ContractUndertaker,
Org: contractUndertakerFeedbackModel.Org,
Company: contractUndertakerFeedbackModel.Company,
... ...
... ... @@ -30,6 +30,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
"feedback_content",
"cooperation_contract_number",
"cooperation_contract_name",
"cooperation_mode_name",
"contract_undertaker",
"org",
"company",
... ... @@ -57,6 +58,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
&contractUndertakerFeedback.FeedbackContent,
&contractUndertakerFeedback.CooperationContractNumber,
&contractUndertakerFeedback.CooperationContractName,
&contractUndertakerFeedback.CooperationModeName,
&contractUndertakerFeedback.ContractUndertaker,
&contractUndertakerFeedback.Org,
&contractUndertakerFeedback.Company,
... ... @@ -70,6 +72,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
contractUndertakerFeedback.FeedbackContent,
contractUndertakerFeedback.CooperationContractNumber,
contractUndertakerFeedback.CooperationContractName,
contractUndertakerFeedback.CooperationModeName,
contractUndertakerFeedback.ContractUndertaker,
contractUndertakerFeedback.Org,
contractUndertakerFeedback.Company,
... ... @@ -87,6 +90,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
&contractUndertakerFeedback.FeedbackContent,
&contractUndertakerFeedback.CooperationContractNumber,
&contractUndertakerFeedback.CooperationContractName,
&contractUndertakerFeedback.CooperationModeName,
&contractUndertakerFeedback.ContractUndertaker,
&contractUndertakerFeedback.Org,
&contractUndertakerFeedback.Company,
... ... @@ -100,6 +104,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
contractUndertakerFeedback.FeedbackContent,
contractUndertakerFeedback.CooperationContractNumber,
contractUndertakerFeedback.CooperationContractName,
contractUndertakerFeedback.CooperationModeName,
contractUndertakerFeedback.ContractUndertaker,
contractUndertakerFeedback.Org,
contractUndertakerFeedback.Company,
... ...