|
@@ -156,14 +156,14 @@ public class ReceiptApi {
|
|
|
@ApiImplicitParam(required = false, name = "pageSize", value = "每页数量")
|
|
|
})
|
|
|
@GetMapping("/list")
|
|
|
- public ResponseJson<PageInfo<ReceiptVo>> getReceiptList(Integer receiptType, Integer receiptStatus, String smsContent, String startDate, String endDate,
|
|
|
+ public ResponseJson<PageInfo<ReceiptVo>> getReceiptList(Integer newReceiptType,Integer receiptType, Integer receiptStatus, String smsContent, String startDate, String endDate,
|
|
|
@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "10") int pageSize,
|
|
|
@RequestHeader HttpHeaders headers) {
|
|
|
if (null == receiptType || receiptType <= 0) {
|
|
|
return ResponseJson.error("款项类型不能为空", null);
|
|
|
}
|
|
|
- return receiptService.getReceiptList(receiptType, receiptStatus, smsContent, startDate, endDate, pageNum, pageSize, headers);
|
|
|
+ return receiptService.getReceiptList(newReceiptType,receiptType, receiptStatus, smsContent, startDate, endDate, pageNum, pageSize, headers);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -420,7 +420,8 @@ public class ReceiptApi {
|
|
|
public ResponseJson<PageInfo<ShopOrderVo>> ReceiptDetailVo(String keyWord,Integer newReceiptType,@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
|
|
|
@RequestParam(value = "pageSize", defaultValue = "10") int pageSize) {
|
|
|
|
|
|
- if(newReceiptType ==2){
|
|
|
+ if(newReceiptType !=1){
|
|
|
+ //1采美已上线供应商 3,4:认证通供应商
|
|
|
return receiptService.ReceiptDetails(keyWord,pageNum,pageSize);
|
|
|
}else {return receiptService.ReceiptDetailVo(keyWord,pageNum,pageSize);}
|
|
|
}
|