Commit 50f22ff0 authored by 吴琼's avatar 吴琼

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

parent 1797dd7d
......@@ -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)
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);
......
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