...
|
...
|
@@ -18,6 +18,10 @@ type CooperationContractByUndertakerDto struct { |
|
|
CooperationContractNumber string `json:"cooperationContractNumber"`
|
|
|
// 项目合约名称
|
|
|
CooperationContractName string `json:"cooperationContractName"`
|
|
|
// 项目合约状态
|
|
|
CooperationContractStatus int32 `json:"cooperationContractStatus"`
|
|
|
// 共创描述
|
|
|
CooperationContractDescription string `json:"cooperationContractDescription"`
|
|
|
// 合同附件
|
|
|
Attachment []*domain.Attachment `json:"attachment"`
|
|
|
// 发起人姓名
|
...
|
...
|
@@ -37,6 +41,8 @@ func (dto *CooperationContractByUndertakerDto) LoadDto(contractByUndertaker *mod |
|
|
dto.UndertakerPhone = contractByUndertaker.UndertakerPhone
|
|
|
dto.CooperationContractNumber = contractByUndertaker.CooperationContractNumber
|
|
|
dto.CooperationContractName = contractByUndertaker.CooperationContractName
|
|
|
dto.CooperationContractStatus = contractByUndertaker.ContractStatus
|
|
|
dto.CooperationContractDescription = contractByUndertaker.CooperationContractDescription
|
|
|
dto.Attachment = contractByUndertaker.ContractAttachment
|
|
|
dto.SponsorName = contractByUndertaker.CooperationContractSponsor.UserName
|
|
|
if contractByUndertaker.Department != nil {
|
...
|
...
|
|