
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' |
import request from '@/utils/request' |
||||
|
|
||||
export default { |
export default { |
||||
// 查询分页列表
|
// 查询分页列表
|
||||
listPage: function(data) { |
listPage: function(data) { |
||||
return request({ |
return request({ |
||||
url: '/scm/v1/scmvehrebate/listPage', |
url: '/scm/v1/scmvehrebate/listPage', |
||||
method: 'post', |
method: 'post', |
||||
data: data, |
data: data, |
||||
headers: { 'Content-Type': 'application/json' } |
headers: { 'Content-Type': 'application/json' } |
||||
}) |
}) |
||||
}, |
}, |
||||
// 查询不分页
|
// 查询不分页
|
||||
listAll: function(data) { |
listAll: function(data) { |
||||
return request({ |
return request({ |
||||
url: '/scm/v1/scmvehrebate/listAll', |
url: '/scm/v1/scmvehrebate/listAll', |
||||
method: 'post', |
method: 'post', |
||||
data: data, |
data: data, |
||||
headers: { 'Content-Type': 'application/json' } |
headers: { 'Content-Type': 'application/json' } |
||||
}) |
}) |
||||
}, |
}, |
||||
// 选择车辆信息--查询分页列表
|
// 选择车辆信息--查询分页列表
|
||||
pageList: function(data) { |
pageList: function(data) { |
||||
return request({ |
return request({ |
||||
url: '/base/v1/basevehicle/vehicleRebateList', |
url: '/base/v1/basevehicle/vehicleRebateList', |
||||
method: 'post', |
method: 'post', |
||||
data: data, |
data: data, |
||||
headers: { 'Content-Type': 'application/json' } |
headers: { 'Content-Type': 'application/json' } |
||||
}) |
}) |
||||
}, |
}, |
||||
// 删除
|
// 清空
|
||||
delete: function(params) { |
clear: function(data) { |
||||
return request({ |
return request({ |
||||
url: '/scm/v1/scmvehrebate/delBySids', |
url: '/scm/v1/scmvehrebate/clear/' + data, |
||||
method: 'DELETE', |
method: 'get' |
||||
data: params, |
}) |
||||
headers: { 'Content-Type': 'application/json' } |
}, |
||||
}) |
// 删除
|
||||
}, |
delete: function(params) { |
||||
// 新增保存修改记录
|
return request({ |
||||
save: function(data) { |
url: '/scm/v1/scmvehrebate/delBySids', |
||||
return request({ |
method: 'DELETE', |
||||
url: '/scm/v1/scmvehrebate/save', |
data: params, |
||||
method: 'post', |
headers: { 'Content-Type': 'application/json' } |
||||
data: data, |
}) |
||||
headers: { 'Content-Type': 'application/json' } |
}, |
||||
}) |
// 新增保存修改记录
|
||||
}, |
save: function(data) { |
||||
// 编辑保存修改记录
|
return request({ |
||||
update: function(data) { |
url: '/scm/v1/scmvehrebate/save', |
||||
return request({ |
method: 'post', |
||||
url: '/scm/v1/scmvehrebate/update', |
data: data, |
||||
method: 'post', |
headers: { 'Content-Type': 'application/json' } |
||||
data: data, |
}) |
||||
headers: { 'Content-Type': 'application/json' } |
}, |
||||
}) |
// 编辑保存修改记录
|
||||
}, |
update: function(data) { |
||||
// 通过sid查询一条记录
|
return request({ |
||||
fetchBySid: function(data) { |
url: '/scm/v1/scmvehrebate/update', |
||||
return request({ |
method: 'post', |
||||
url: '/scm/v1/scmvehrebate/fetchDetailsBySid/' + data, |
data: data, |
||||
method: 'get' |
headers: { 'Content-Type': 'application/json' } |
||||
}) |
}) |
||||
}, |
}, |
||||
// 导出
|
// 通过sid查询一条记录
|
||||
exportExcel: function(data) { |
fetchBySid: function(data) { |
||||
return request({ |
return request({ |
||||
url: '/scm/v1/scmvehrebate/excelList', |
url: '/scm/v1/scmvehrebate/fetchDetailsBySid/' + data, |
||||
method: 'post', |
method: 'get' |
||||
data: data, |
}) |
||||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
}, |
||||
headers: { 'Content-Type': 'application/json' } |
// 导出
|
||||
}) |
exportExcel: function(data) { |
||||
}, |
return request({ |
||||
// 下载模板
|
url: '/scm/v1/scmvehrebate/excelList', |
||||
downloadExcel: function() { |
method: 'post', |
||||
return request({ |
data: data, |
||||
url: '/scm/v1/scmvehrebate/download', |
responseType: 'blob', // 表明返回服务器返回的数据类型
|
||||
method: 'post', |
headers: { 'Content-Type': 'application/json' } |
||||
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