...
|
...
|
@@ -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{
|
...
|
...
|
|