|
@@ -38,8 +38,8 @@ public class PayInvoiceController {
|
|
|
@GetMapping("/getPrintInfoListPage")
|
|
|
@ApiOperation("查询收据")
|
|
|
public AjaxMessage<Pagination<PayInvoiceDto>> getPrintInfoListPage(
|
|
|
- @ApiParam(value = "查询条件", required = false) @RequestParam(required = false) String condition,
|
|
|
- @ApiParam(value = "收据状态", required = false) @RequestParam(required = false) Integer state,
|
|
|
+ @ApiParam(value = "查询条件,户编、户名、流水号", required = false) @RequestParam(required = false) String condition,
|
|
|
+ @ApiParam(value = "收据状态,2已使用 3作废", required = false) @RequestParam(required = false) Integer state,
|
|
|
@ApiParam(value = "开票时间开始 yyyyMMddHHmmss", required = false) @RequestParam(required = false) String startTime,
|
|
|
@ApiParam(value = "开票时间结束 yyyyMMddHHmmss", required = false) @RequestParam(required = false) String endTime,
|
|
|
@ApiParam(value = "页数,非必传,默认第一页", required = false, defaultValue = "1") @RequestParam(required = false, defaultValue = "1") int pageNum,
|
|
@@ -65,7 +65,7 @@ public class PayInvoiceController {
|
|
|
public AjaxMessage< PrintInvoiceData> getPrintData(
|
|
|
@ApiParam(value = "缴费批次号", required = true) @RequestParam(required = true) String payseriesno,
|
|
|
@ApiParam(value = "交易类型,实收打印时为空", required = false) @RequestParam(required = false) Integer transType,
|
|
|
- @ApiParam(value = "支付方式", required = true) @RequestParam(required = true) Integer payway ) {
|
|
|
+ @ApiParam(value = "支付方式,查询返回信息的payway", required = true) @RequestParam(required = true) Integer payway ) {
|
|
|
if(transType !=null && transType==1 && payway == 4){ //单纯充值
|
|
|
return new AjaxMessage<>(ResultStatus.OK,payinvoiceService.getPrintDataOfTrans(payseriesno));
|
|
|
|
|
@@ -108,8 +108,4 @@ public class PayInvoiceController {
|
|
|
payinvoiceService.cancelPrintInfo(id);
|
|
|
return new AjaxMessage<>(ResultStatus.OK);
|
|
|
}
|
|
|
-
|
|
|
- public static void main(String[] args) {
|
|
|
- System.out.println(DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS").format(LocalDateTime.now())+""+(int)(Math.random()*1000));
|
|
|
- }
|
|
|
}
|