正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -652,9 +652,9 @@ func (cooperationContractService *CooperationContractService) OperateCooperation | @@ -652,9 +652,9 @@ func (cooperationContractService *CooperationContractService) OperateCooperation | ||
652 | } else { | 652 | } else { |
653 | // 新增共创合约变更记录 | 653 | // 新增共创合约变更记录 |
654 | var operationType int32 | 654 | var operationType int32 |
655 | - if operateCooperationContractCommand.Action == 1 { | 655 | + if operateCooperationContractCommand.Action == 2 { |
656 | operationType = domain.PAUSE | 656 | operationType = domain.PAUSE |
657 | - } else if operateCooperationContractCommand.Action == 2 { | 657 | + } else if operateCooperationContractCommand.Action == 1 { |
658 | operationType = domain.RECOVER | 658 | operationType = domain.RECOVER |
659 | } | 659 | } |
660 | newCooperationContractChangeLog := &domain.CooperationContractChangeLog{ | 660 | newCooperationContractChangeLog := &domain.CooperationContractChangeLog{ |
@@ -753,9 +753,9 @@ func (cooperationContractService *CooperationContractService) BatchOperateCooper | @@ -753,9 +753,9 @@ func (cooperationContractService *CooperationContractService) BatchOperateCooper | ||
753 | for _, cooperationContractOperated := range cooperationContracts { | 753 | for _, cooperationContractOperated := range cooperationContracts { |
754 | // 新增共创合约变更记录 | 754 | // 新增共创合约变更记录 |
755 | var operationType int32 | 755 | var operationType int32 |
756 | - if batchOperateCooperationContractCommand.Action == 1 { | 756 | + if batchOperateCooperationContractCommand.Action == 2 { |
757 | operationType = domain.PAUSE | 757 | operationType = domain.PAUSE |
758 | - } else if batchOperateCooperationContractCommand.Action == 2 { | 758 | + } else if batchOperateCooperationContractCommand.Action == 1 { |
759 | operationType = domain.RECOVER | 759 | operationType = domain.RECOVER |
760 | } | 760 | } |
761 | newCooperationContractChangeLog := &domain.CooperationContractChangeLog{ | 761 | newCooperationContractChangeLog := &domain.CooperationContractChangeLog{ |
-
请 注册 或 登录 后发表评论