作者 陈志颖

合并分支 'dev' 到 'test'

fix:修改批量操作共创合约



查看合并请求 !86
... ... @@ -652,9 +652,9 @@ func (cooperationContractService *CooperationContractService) OperateCooperation
} else {
// 新增共创合约变更记录
var operationType int32
if operateCooperationContractCommand.Action == 1 {
if operateCooperationContractCommand.Action == 2 {
operationType = domain.PAUSE
} else if operateCooperationContractCommand.Action == 2 {
} else if operateCooperationContractCommand.Action == 1 {
operationType = domain.RECOVER
}
newCooperationContractChangeLog := &domain.CooperationContractChangeLog{
... ... @@ -753,9 +753,9 @@ func (cooperationContractService *CooperationContractService) BatchOperateCooper
for _, cooperationContractOperated := range cooperationContracts {
// 新增共创合约变更记录
var operationType int32
if batchOperateCooperationContractCommand.Action == 1 {
if batchOperateCooperationContractCommand.Action == 2 {
operationType = domain.PAUSE
} else if batchOperateCooperationContractCommand.Action == 2 {
} else if batchOperateCooperationContractCommand.Action == 1 {
operationType = domain.RECOVER
}
newCooperationContractChangeLog := &domain.CooperationContractChangeLog{
... ...