作者 陈志颖

fix:反馈信息模式名称

@@ -17,6 +17,8 @@ type ContractUndertakerFeedback struct { @@ -17,6 +17,8 @@ type ContractUndertakerFeedback struct {
17 CooperationContractNumber string `comment:"共创合约编号"` 17 CooperationContractNumber string `comment:"共创合约编号"`
18 // 项目合约名称 18 // 项目合约名称
19 CooperationContractName string `comment:"项目合约名称"` 19 CooperationContractName string `comment:"项目合约名称"`
  20 + // 模式名称
  21 + CooperationModeName string `comment:"模式名称"`
20 // 共创合约承接人 22 // 共创合约承接人
21 ContractUndertaker *domain.Undertaker `comment:"共创合约承接人"` 23 ContractUndertaker *domain.Undertaker `comment:"共创合约承接人"`
22 // 数据所属组织机构 24 // 数据所属组织机构
@@ -13,6 +13,7 @@ func TransformToContractUndertakerFeedbackDomainModelFromPgModels( @@ -13,6 +13,7 @@ func TransformToContractUndertakerFeedbackDomainModelFromPgModels(
13 FeedbackContent: contractUndertakerFeedbackModel.FeedbackContent, 13 FeedbackContent: contractUndertakerFeedbackModel.FeedbackContent,
14 CooperationContractNumber: contractUndertakerFeedbackModel.CooperationContractNumber, 14 CooperationContractNumber: contractUndertakerFeedbackModel.CooperationContractNumber,
15 CooperationContractName: contractUndertakerFeedbackModel.CooperationContractName, 15 CooperationContractName: contractUndertakerFeedbackModel.CooperationContractName,
  16 + CooperationModeName: contractUndertakerFeedbackModel.CooperationModeName,
16 ContractUndertaker: contractUndertakerFeedbackModel.ContractUndertaker, 17 ContractUndertaker: contractUndertakerFeedbackModel.ContractUndertaker,
17 Org: contractUndertakerFeedbackModel.Org, 18 Org: contractUndertakerFeedbackModel.Org,
18 Company: contractUndertakerFeedbackModel.Company, 19 Company: contractUndertakerFeedbackModel.Company,
@@ -30,6 +30,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF @@ -30,6 +30,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
30 "feedback_content", 30 "feedback_content",
31 "cooperation_contract_number", 31 "cooperation_contract_number",
32 "cooperation_contract_name", 32 "cooperation_contract_name",
  33 + "cooperation_mode_name",
33 "contract_undertaker", 34 "contract_undertaker",
34 "org", 35 "org",
35 "company", 36 "company",
@@ -57,6 +58,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF @@ -57,6 +58,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
57 &contractUndertakerFeedback.FeedbackContent, 58 &contractUndertakerFeedback.FeedbackContent,
58 &contractUndertakerFeedback.CooperationContractNumber, 59 &contractUndertakerFeedback.CooperationContractNumber,
59 &contractUndertakerFeedback.CooperationContractName, 60 &contractUndertakerFeedback.CooperationContractName,
  61 + &contractUndertakerFeedback.CooperationModeName,
60 &contractUndertakerFeedback.ContractUndertaker, 62 &contractUndertakerFeedback.ContractUndertaker,
61 &contractUndertakerFeedback.Org, 63 &contractUndertakerFeedback.Org,
62 &contractUndertakerFeedback.Company, 64 &contractUndertakerFeedback.Company,
@@ -70,6 +72,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF @@ -70,6 +72,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
70 contractUndertakerFeedback.FeedbackContent, 72 contractUndertakerFeedback.FeedbackContent,
71 contractUndertakerFeedback.CooperationContractNumber, 73 contractUndertakerFeedback.CooperationContractNumber,
72 contractUndertakerFeedback.CooperationContractName, 74 contractUndertakerFeedback.CooperationContractName,
  75 + contractUndertakerFeedback.CooperationModeName,
73 contractUndertakerFeedback.ContractUndertaker, 76 contractUndertakerFeedback.ContractUndertaker,
74 contractUndertakerFeedback.Org, 77 contractUndertakerFeedback.Org,
75 contractUndertakerFeedback.Company, 78 contractUndertakerFeedback.Company,
@@ -87,6 +90,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF @@ -87,6 +90,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
87 &contractUndertakerFeedback.FeedbackContent, 90 &contractUndertakerFeedback.FeedbackContent,
88 &contractUndertakerFeedback.CooperationContractNumber, 91 &contractUndertakerFeedback.CooperationContractNumber,
89 &contractUndertakerFeedback.CooperationContractName, 92 &contractUndertakerFeedback.CooperationContractName,
  93 + &contractUndertakerFeedback.CooperationModeName,
90 &contractUndertakerFeedback.ContractUndertaker, 94 &contractUndertakerFeedback.ContractUndertaker,
91 &contractUndertakerFeedback.Org, 95 &contractUndertakerFeedback.Org,
92 &contractUndertakerFeedback.Company, 96 &contractUndertakerFeedback.Company,
@@ -100,6 +104,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF @@ -100,6 +104,7 @@ func (repository *ContractUndertakerFeedbackRepository) Save(contractUndertakerF
100 contractUndertakerFeedback.FeedbackContent, 104 contractUndertakerFeedback.FeedbackContent,
101 contractUndertakerFeedback.CooperationContractNumber, 105 contractUndertakerFeedback.CooperationContractNumber,
102 contractUndertakerFeedback.CooperationContractName, 106 contractUndertakerFeedback.CooperationContractName,
  107 + contractUndertakerFeedback.CooperationModeName,
103 contractUndertakerFeedback.ContractUndertaker, 108 contractUndertakerFeedback.ContractUndertaker,
104 contractUndertakerFeedback.Org, 109 contractUndertakerFeedback.Org,
105 contractUndertakerFeedback.Company, 110 contractUndertakerFeedback.Company,