...
|
...
|
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
...
|
...
|
@@ -47,7 +48,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getAppReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getAppReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getAppReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getAppReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -59,7 +60,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getPcWapReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getPcWapReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getPcWapReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getPcWapReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -105,6 +106,19 @@ public class ReportFormController { |
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(null).message("success").build();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping("/setImportedChannelIds")
|
|
|
@ResponseBody
|
|
|
public ApiResponse setImportedChannelIds(@RequestParam String id) {
|
|
|
logger.info("setImportedChannelIds id ={}", id);
|
|
|
reportFormService.setImportedChannelIds(id);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(null).message("success").build();
|
|
|
}
|
|
|
|
|
|
|
|
|
@RequestMapping("/clearImportPcWapReportChannelIds")
|
|
|
@ResponseBody
|
|
|
public ApiResponse clearImportPcWapReportChannelIds() {
|
...
|
...
|
@@ -119,7 +133,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getMessageReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getMessageReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getMessageReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getMessageReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -131,7 +145,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getMessageDetial")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getMessageDetial(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getMessageDetial(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getMessageDetial(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -143,7 +157,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getCouponReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getCouponReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getCouponReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getCouponReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -155,7 +169,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getBdReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getBdReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getBdReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getBdReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -167,7 +181,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getAllReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getAllReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getAllReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getAllReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -179,7 +193,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getSemReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getSemReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getSemReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getSemReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -191,7 +205,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getCpsReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getCpsReportForm(ReportFormReqVO reqVO) {
|
|
|
public ApiResponse getCpsReportForm(@RequestBody ReportFormReqVO reqVO) {
|
|
|
PageVO result = reportFormService.getCpsReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -203,7 +217,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getBigDataReportForm")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getBigDataReportForm(ReportFormReqVO reqVO){
|
|
|
public ApiResponse getBigDataReportForm(@RequestBody ReportFormReqVO reqVO){
|
|
|
PageVO result = reportFormService.getBigDataReportForm(reqVO);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
...
|
...
|
@@ -214,7 +228,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/addChannelPriceInfo.do")
|
|
|
@ResponseBody
|
|
|
public ApiResponse addChannelPriceInfo(MktComboxReqBo urlReqBo){
|
|
|
public ApiResponse addChannelPriceInfo(@RequestBody MktComboxReqBo urlReqBo){
|
|
|
reportFormService.addChannelPriceInfo(urlReqBo);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("新增or更新渠道成功").build();
|
|
|
}
|
...
|
...
|
@@ -225,7 +239,7 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/enterMktPriceInfo.do")
|
|
|
@ResponseBody
|
|
|
public ApiResponse enterMktPriceInfo(MktComboxReqBo urlReqBo){
|
|
|
public ApiResponse enterMktPriceInfo(@RequestBody MktComboxReqBo urlReqBo){
|
|
|
reportFormService.enterMktPriceInfo(urlReqBo);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("新增or更新渠道成功").build();
|
|
|
}
|
...
|
...
|
@@ -247,21 +261,21 @@ public class ReportFormController { |
|
|
*/
|
|
|
@RequestMapping("/getMktPriceListWithPage.do")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getMktPriceListWithPage(UnionUrlReqBo urlReqBo){
|
|
|
public ApiResponse getMktPriceListWithPage(@RequestBody UnionUrlReqBo urlReqBo){
|
|
|
PageResponseVO result = reportFormService.getMktPriceListWithPage(urlReqBo);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(result).message("success").build();
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/updateMktPriceInfo")
|
|
|
@ResponseBody
|
|
|
public ApiResponse updateMktPriceInfo(MktPriceCollection updateReq){
|
|
|
public ApiResponse updateMktPriceInfo(@RequestBody MktPriceCollection updateReq){
|
|
|
reportFormService.updateMktPriceInfo(updateReq);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("success").build();
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/deleteMktPriceInfo")
|
|
|
@ResponseBody
|
|
|
public ApiResponse deleteMktPriceInfo(MktPriceCollection deleteReq){
|
|
|
public ApiResponse deleteMktPriceInfo(@RequestBody MktPriceCollection deleteReq){
|
|
|
reportFormService.deleteMktPriceInfoRecord(deleteReq);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("success").build();
|
|
|
}
|
...
|
...
|
|