
4 changed files with 403 additions and 0 deletions
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.finance; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-buscenter(销售相关) <br/> |
||||
|
* File: BusCollectionConfirmationFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationFeign <br/> |
||||
|
* Description: 收款确认表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-04-12 17:57:01 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "收款确认表") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-buscenter-BusCollectionConfirmation", |
||||
|
name = "anrui-buscenter", |
||||
|
path = "v1/collectionConfirm", |
||||
|
fallback = AppBusCollectionConfirmationFeignFallback.class) |
||||
|
public interface AppBusCollectionConfirmationFeign { |
||||
|
|
||||
|
@ApiOperation("手机端—获取款项确认列表") |
||||
|
@PostMapping("/getCollectionConfirmList") |
||||
|
public ResultBean<PagerVo<AppBusCollectionConfirmationPageVo>> getCollectionConfirmList(@RequestBody PagerQuery<AppBusCollectionConfirmationQuery> pagerQuery); |
||||
|
|
||||
|
@ApiOperation("手机端—新增款项确认申请单") |
||||
|
@PostMapping("/addCollectionConfirm") |
||||
|
public ResultBean addCollectionConfirm(@RequestBody AppBusCollectionConfirmationDto dto); |
||||
|
|
||||
|
@ApiOperation("手机端—初始化收款确认申请") |
||||
|
@GetMapping("/initCollectionConfirm/{collectionBillSid}/{userSid}") |
||||
|
public ResultBean<AppBusCollectionConfirmationInitVo> initCollectionConfirm(@PathVariable("collectionBillSid") String collectionBillSid, @PathVariable("userSid") String userSid); |
||||
|
|
||||
|
@ApiOperation("手机端—提交款项确认申请") |
||||
|
@PostMapping("/submitCollectionConfirm") |
||||
|
public ResultBean submitCollectionConfirm(@RequestBody AppBusCollectionConfirmationDto dto); |
||||
|
|
||||
|
@ApiOperation("手机端—删除收款确认单") |
||||
|
@DeleteMapping("/deleteCollectionConfirm/{collectionBillSid}") |
||||
|
public ResultBean deleteCollectionConfirm(@PathVariable("collectionBillSid") String collectionBillSid); |
||||
|
|
||||
|
@ApiOperation("手机端—查询可使用款项明细列表") |
||||
|
@PostMapping("/getPaymentDetailsList") |
||||
|
public ResultBean<PagerVo<AppBusSelectedReceivablesPaymentDetailsVo>> getPaymentDetailsList(@RequestBody PagerQuery<AppBusSelectedReceivablesPaymentDetailsQuery> pagerQuery); |
||||
|
} |
@ -0,0 +1,80 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.finance; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*; |
||||
|
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; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-buscenter(销售相关) <br/> |
||||
|
* File: BusCollectionConfirmationFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationFeignFallback <br/> |
||||
|
* Description: 收款确认表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-04-12 17:57:01 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class AppBusCollectionConfirmationFeignFallback implements AppBusCollectionConfirmationFeign { |
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppBusCollectionConfirmationPageVo>> getCollectionConfirmList(PagerQuery<AppBusCollectionConfirmationQuery> pagerQuery) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean addCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBusCollectionConfirmationInitVo> initCollectionConfirm(String collectionBillSid, String userSid) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean submitCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean deleteCollectionConfirm(String collectionBillSid) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppBusSelectedReceivablesPaymentDetailsVo>> getPaymentDetailsList(PagerQuery<AppBusSelectedReceivablesPaymentDetailsQuery> pagerQuery) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,125 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.finance; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*; |
||||
|
import com.yxt.anrui.terminal.api.finance.AppBusCollectionConfirmationFeign; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-buscenter(销售相关) <br/> |
||||
|
* File: BusCollectionConfirmationFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationRest <br/> |
||||
|
* Description: 收款确认表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-04-12 17:57:01 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "收款确认表") |
||||
|
@RestController("com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationRest") |
||||
|
@RequestMapping("/buscollectionconfirmation") |
||||
|
public class AppBusCollectionConfirmationRest implements AppBusCollectionConfirmationFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private AppBusCollectionConfirmationService appbusCollectionConfirmationService; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 手机端—获取款项确认列表 |
||||
|
* |
||||
|
* @param pagerQuery |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppBusCollectionConfirmationPageVo>> getCollectionConfirmList(PagerQuery<AppBusCollectionConfirmationQuery> pagerQuery) { |
||||
|
return appbusCollectionConfirmationService.getCollectionConfirmList(pagerQuery); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—新增款项确认申请单 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean addCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return appbusCollectionConfirmationService.addCollectionConfirm(dto); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—初始化收款确认申请 |
||||
|
* |
||||
|
* @param collectionBillSid |
||||
|
* @param userSid |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean<AppBusCollectionConfirmationInitVo> initCollectionConfirm(String collectionBillSid, String userSid) { |
||||
|
return appbusCollectionConfirmationService.initCollectionConfirm(collectionBillSid,userSid); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—提交款项确认申请 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean submitCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return appbusCollectionConfirmationService.submitCollectionConfirm(dto); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—删除收款确认单 |
||||
|
* |
||||
|
* @param collectionBillSid |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean deleteCollectionConfirm(String collectionBillSid) { |
||||
|
return appbusCollectionConfirmationService.deleteCollectionConfirm(collectionBillSid); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—查询可使用款项明细列表 |
||||
|
* |
||||
|
* @param pagerQuery |
||||
|
* @return |
||||
|
*/ |
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppBusSelectedReceivablesPaymentDetailsVo>> getPaymentDetailsList(PagerQuery<AppBusSelectedReceivablesPaymentDetailsQuery> pagerQuery) { |
||||
|
return appbusCollectionConfirmationService.getPaymentDetailsList(pagerQuery); |
||||
|
} |
||||
|
} |
@ -0,0 +1,117 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.biz.finance; |
||||
|
|
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.buscollectionconfirmation.*; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
|
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui-buscenter(销售相关) <br/> |
||||
|
* File: BusCollectionConfirmationService.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.buscollectionconfirmation.BusCollectionConfirmationService <br/> |
||||
|
* Description: 收款确认表 业务逻辑. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-04-12 17:57:01 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class AppBusCollectionConfirmationService { |
||||
|
@Autowired |
||||
|
BusCollectionConfirmationFeign busCollectionConfirmationFeign; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 手机端—获取款项确认列表 |
||||
|
* |
||||
|
* @param pagerQuery |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean<PagerVo<AppBusCollectionConfirmationPageVo>> getCollectionConfirmList(PagerQuery<AppBusCollectionConfirmationQuery> pagerQuery) { |
||||
|
return busCollectionConfirmationFeign.getCollectionConfirmList(pagerQuery); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—新增款项确认申请单 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean addCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return busCollectionConfirmationFeign.addCollectionConfirm(dto); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—初始化收款确认申请 |
||||
|
* |
||||
|
* @param collectionBillSid |
||||
|
* @param userSid |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean<AppBusCollectionConfirmationInitVo> initCollectionConfirm(String collectionBillSid, String userSid) { |
||||
|
return busCollectionConfirmationFeign.initCollectionConfirm(collectionBillSid, userSid); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—提交款项确认申请 |
||||
|
* |
||||
|
* @param dto |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean submitCollectionConfirm(AppBusCollectionConfirmationDto dto) { |
||||
|
return busCollectionConfirmationFeign.submitCollectionConfirm(dto); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—删除收款确认单 |
||||
|
* |
||||
|
* |
||||
|
* @param collectionBillSid |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean deleteCollectionConfirm(String collectionBillSid) { |
||||
|
return busCollectionConfirmationFeign.deleteCollectionConfirm(collectionBillSid); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 手机端—查询可使用款项明细列表 |
||||
|
* |
||||
|
* @param pagerQuery |
||||
|
* @return |
||||
|
*/ |
||||
|
public ResultBean<PagerVo<AppBusSelectedReceivablesPaymentDetailsVo>> getPaymentDetailsList(PagerQuery<AppBusSelectedReceivablesPaymentDetailsQuery> pagerQuery) { |
||||
|
return busCollectionConfirmationFeign.getPaymentDetailsList(pagerQuery); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue