|
|
@@ -4,6 +4,7 @@ package com.poteviohealth.cgp.integration.controller.feign;
|
|
|
import com.poteviohealth.cgp.common.facade.log.OperateType;
|
|
|
import com.poteviohealth.cgp.common.facade.log.OperationLog;
|
|
|
import com.poteviohealth.cgp.common.integrated.EntityIdParams;
|
|
|
+import com.poteviohealth.cgp.common.integrated.customer.model.CustomerIntegration;
|
|
|
import com.poteviohealth.cgp.common.model.VaultsResponse;
|
|
|
import com.poteviohealth.cgp.integration.database.DataSourceDocument;
|
|
|
import com.poteviohealth.cgp.integration.service.IIntegralDetailService;
|
|
|
@@ -19,6 +20,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import java.sql.Connection;
|
|
|
import java.sql.SQLException;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
|
@@ -53,4 +55,13 @@ public class IntegrationFeignController {
|
|
|
return VaultsResponse.exception();
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "新增积分详情")
|
|
|
+ @RequestMapping(value = "/saveDetail", method = RequestMethod.POST)
|
|
|
+ @ApiImplicitParam(name = "customerIntegration", value = "运营商ID", required = true)
|
|
|
+ @ResponseBody
|
|
|
+ @OperationLog(type = OperateType.FEIGN,description = "新增积分详情数据")
|
|
|
+ public VaultsResponse saveDetail(List<CustomerIntegration> customerIntegration){
|
|
|
+ return iIntegralDetailService.saveDetail(customerIntegration);
|
|
|
+ }
|
|
|
}
|