
11 changed files with 191 additions and 240 deletions
@ -1,141 +0,0 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmspecialrebate; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import org.springframework.stereotype.Component; |
|||
import org.springframework.web.multipart.MultipartFile; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
import java.io.IOException; |
|||
import java.text.ParseException; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-scm(专项返利管理) <br/> |
|||
* File: ScmSpecialRebateFeignFallback.java <br/> |
|||
* Class: com.yxt.anrui.scm.api.scmspecialrebate.ScmSpecialRebateFeignFallback <br/> |
|||
* Description: 专项返利表. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-09-08 16:11:43 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Component |
|||
public class ScmSpecialRebateFeignFallback implements ScmSpecialRebateFeign { |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<ScmSpecialRebateVo>> listPage(PagerQuery<ScmSpecialRebateQuery> pq){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-scm/scmspecialrebate/listPage无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<List<ScmSpecialRebateVo>> listAll(ScmSpecialRebateQuery query) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean save(ScmSpecialRebateDto dto){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-scm/scmspecialrebate/save无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean adjustment(ScmSpecialRebateSpecialAdjDto dto) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delBySids( String[] sids){ |
|||
return ResultBean.fireFail().setMsg("接口anrui-scm/scmspecialrebate/delBySids无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<ScmSpecialRebateDetailsVo> fetchDetailsBySid(String sid){ |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
return rb.setMsg("接口anrui-scm/scmspecialrebate/fetchDetailsBySid无法访问"); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<ScmSpecialRebateVo>> withApplyGetSpecialRebate(PagerQuery<ScmSpecialRebateQuery> pq) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<ScmSpecialRebateVo>> checkApplyGetSpecialRebate(PagerQuery<ScmSpecialRebateQuery> pq) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<List<ScmSpecialRebateVo>> checkApplyGetSpecialRebateAll(ScmSpecialRebateQuery query) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<ScmSpecialRebateVo>> checkApplyGetAlreadyUploadSpecialRebate(PagerQuery<ScmSpecialRebateQuery> pq) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<PagerVo<ScmStayDisRebateVo>> stayDisRebate(PagerQuery<ScmSpecialRebateQuery> pq) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public void downloadExcel() { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public ResultBean getExcelInfo(MultipartFile file, HttpServletRequest request, String userSid, String orgPath) throws IOException, ParseException { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public void excelListOne(ScmSpecialRebateQuery scmSpecialRebateQuery) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public ResultBean getExcelOneInfo(MultipartFile file, HttpServletRequest request, String userSid, String orgPath) throws IOException, ParseException { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public void excelListTwo(ScmSpecialRebateQuery scmSpecialRebateQuery) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public ResultBean getExcelTwoInfo(MultipartFile file, HttpServletRequest request, String userSid, String orgPath) throws IOException, ParseException { |
|||
return null; |
|||
} |
|||
} |
@ -1,84 +1,91 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
// 查询分页列表
|
|||
listPage: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 查询不分页
|
|||
listAll: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/listAll', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 选择车辆信息--查询分页列表
|
|||
pageList: function(data) { |
|||
return request({ |
|||
url: '/base/v1/basevehicle/vehicleRebateList', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 删除
|
|||
delete: function(params) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/delBySids', |
|||
method: 'DELETE', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 新增保存修改记录
|
|||
save: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 编辑保存修改记录
|
|||
update: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/update', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 通过sid查询一条记录
|
|||
fetchBySid: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/fetchDetailsBySid/' + data, |
|||
method: 'get' |
|||
}) |
|||
}, |
|||
// 导出
|
|||
exportExcel: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/excelList', |
|||
method: 'post', |
|||
data: data, |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 下载模板
|
|||
downloadExcel: function() { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/download', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
// 查询分页列表
|
|||
listPage: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 查询不分页
|
|||
listAll: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/listAll', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 选择车辆信息--查询分页列表
|
|||
pageList: function(data) { |
|||
return request({ |
|||
url: '/base/v1/basevehicle/vehicleRebateList', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 清空
|
|||
clear: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/clear/' + data, |
|||
method: 'get' |
|||
}) |
|||
}, |
|||
// 删除
|
|||
delete: function(params) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/delBySids', |
|||
method: 'DELETE', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 新增保存修改记录
|
|||
save: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 编辑保存修改记录
|
|||
update: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/update', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 通过sid查询一条记录
|
|||
fetchBySid: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/fetchDetailsBySid/' + data, |
|||
method: 'get' |
|||
}) |
|||
}, |
|||
// 导出
|
|||
exportExcel: function(data) { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/excelList', |
|||
method: 'post', |
|||
data: data, |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 下载模板
|
|||
downloadExcel: function() { |
|||
return request({ |
|||
url: '/scm/v1/scmvehrebate/download', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
} |
|||
|
Loading…
Reference in new issue