zhangqian
2023-10-13 b90a31431164b4b0756e4ef76f08b08953b8b04d
api/v1/serviceCollectionPlan.go
@@ -38,6 +38,7 @@
         ctx.Fail(ecode.ParamsErr)
         return
      }
      plan.AmountTotal = plan.AmountReceivable
      plan.Status = constvar.CollectionStatusUnCollected
   }
@@ -114,7 +115,7 @@
      return
   }
   serviceCollectionPlan, total, errCode := service.NewServiceCollectionPlanService().GetServiceCollectionPlanList(params.ServiceContractId)
   serviceCollectionPlan, total, errCode := service.NewServiceCollectionPlanService().GetServiceCollectionPlanList(params.SourceType, params.SourceId)
   if errCode != ecode.OK {
      ctx.Fail(errCode)
      return