|
@@ -73,32 +73,10 @@ public class PayPayReceiveContorller {
|
|
|
@GetMapping("/findListInfo")
|
|
|
@ApiOperation(value = "计费系统-查询实收下拉列表点击事件")
|
|
|
public AjaxMessage<List<PayPayReceivedListDto>> findListInfo(
|
|
|
- @ApiParam(value = "账期年", required = true) @RequestParam(required = true)Integer year,
|
|
|
- @ApiParam(value = "账期月", required = true) @RequestParam(required = true) Integer month,
|
|
|
- @ApiParam(value = "客户编码", required = true) @RequestParam(required = true)String accountnumber,
|
|
|
- @ApiParam(value = "客户Id", required = true) @RequestParam(required = true)String accountId,
|
|
|
- @ApiParam(value = "状态", required = false) @RequestParam(required = false) Integer state,
|
|
|
- @ApiParam(value = "支付方式", required = false) @RequestParam(required = false) Integer payway,
|
|
|
- @ApiParam(value = "开始日期,2020-04-08", required = false) @RequestParam(required = false) String beginDate,
|
|
|
- @ApiParam(value = "结束日期,2020-04-08", required = false) @RequestParam(required = false) String endDate
|
|
|
+ @ApiParam(value = "交易流水号", required = true) @RequestParam(required = true)String payseriesno
|
|
|
){
|
|
|
- try{
|
|
|
- DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
|
|
- LocalDateTime startDf = null;
|
|
|
- LocalDateTime endDf = null;
|
|
|
- if(StringUtils.isNotBlank(beginDate)){
|
|
|
- beginDate = beginDate +" 00:00:00";
|
|
|
- startDf = LocalDateTime.parse(beginDate,df);
|
|
|
- }
|
|
|
- if(StringUtils.isNotBlank(endDate)){
|
|
|
- endDate =endDate + " 23:59:59";
|
|
|
- endDf = LocalDateTime.parse(endDate,df);
|
|
|
- }
|
|
|
- List<PayPayReceivedListDto> list = payPayReceivedService.findListByPayseriesno(year,month,accountnumber,state,payway,startDf,endDf);
|
|
|
+ List<PayPayReceivedListDto> list = payPayReceivedService.findListByPayseriesno(payseriesno);
|
|
|
return new AjaxMessage<>(ResultStatus.OK,list);
|
|
|
- }catch (Exception ex){
|
|
|
- return new AjaxMessage<>(ResultStatus.ERROR,new ArrayList<PayPayReceivedListDto>());
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
@PostMapping("/cancelReceived")
|