Commit 702a8304 authored by 李健华's avatar 李健华

修改调用kdsp参数

parent fd0dccdf
......@@ -25,7 +25,7 @@ public interface TransactionReceiptRecordRepo extends JpaRepository<TransactionR
@Query(value = "select * from transaction_receipt_record where order_no = ?1 and user_id =?2 and user_name =?3 and import_status != 2 and export_status = 0 ", nativeQuery = true)
List<TransactionReceiptRecord> selectRecordsByOrderNo(String orderNo,Integer userId,String userName);
@Query(value = "select * from transaction_receipt_record where import_status = ?1 and export_status != 1 limit ?2 ", nativeQuery = true)
@Query(value = "select * from transaction_receipt_record where import_status = ?1 and (export_status = 0 or export_status = 2) limit ?2 ", nativeQuery = true)
List<TransactionReceiptRecord> selectRecordsByImportStatusAndExportStatus(Integer status,Integer limit);
@Query(value = "select count(1) from transaction_receipt_record where import_status =?1 ", nativeQuery = true)
......
......@@ -371,7 +371,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
param.put("orderNo", orderNo);
}
if (StringUtils.isNotBlank(consumeNo)) {
param.put("consumeNo", consumeNo);
param.put("tradeNo", consumeNo);
}
List<Map> paramList =new ArrayList<>();
paramList.add(param);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment