|
@@ -80,7 +80,7 @@ WHERE c.is_delete = 0 `
|
|
|
sql += ` group by contract_id `
|
|
|
|
|
|
sql = `select count(*) count from (` + sql + `) g`
|
|
|
- err = o.Raw(sql, pars).QueryRow(&count)
|
|
|
+ err = o.Raw(sql, childPars, pars).QueryRow(&count)
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -94,7 +94,7 @@ type ContractApprovalList struct {
|
|
|
ContractStatus string `json:"-";description:"合同状态,枚举值:待审批','已审批','已驳回','已撤回',默认待审批"`
|
|
|
ApplyContent string `description:"待审内容"`
|
|
|
ContractDetail string `json:"-";description:"提交审批时的合同信息;合同快照"`
|
|
|
- ContractInfo contract.ContractDetail `description:"提交审批时的合同信息;合同快照"`
|
|
|
+ ContractInfo contract.ContractDetail `json:"-";description:"提交审批时的合同信息;合同快照"`
|
|
|
ApproveRemark string `description:"审核备注"`
|
|
|
ContractType string `description:"合同类型"`
|
|
|
Price float64 `description:"合同金额"`
|