Commit 091a26e0 authored by 吴琼's avatar 吴琼

客服系统交易凭证导出更新状态修改

parent 6b44f738
...@@ -36,7 +36,7 @@ public interface TransactionReceiptRecordRepo extends JpaRepository<TransactionR ...@@ -36,7 +36,7 @@ public interface TransactionReceiptRecordRepo extends JpaRepository<TransactionR
@Query(value = "update transaction_receipt_record set import_status = ?1 where import_status = 0 and order_no =?2 ", nativeQuery = true) @Query(value = "update transaction_receipt_record set import_status = ?1 where import_status = 0 and order_no =?2 ", nativeQuery = true)
int updateTransactionStatusByImportStatus(Integer status,String orderNo); int updateTransactionStatusByImportStatus(Integer status,String orderNo);
@Query(value = "select * from transaction_receipt_record where order_no = ?1 and import_status = 1 ", nativeQuery = true) @Query(value = "select * from transaction_receipt_record where order_no = ?1 and import_status = 1 and export_status != 1 order by id desc", nativeQuery = true)
List<TransactionReceiptRecord> selectRecords(String orderNo); List<TransactionReceiptRecord> selectRecords(String orderNo);
......
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