Commit 23fbc1ba authored by 吴琼's avatar 吴琼

xiugai

parent 343364b4
......@@ -61,6 +61,7 @@ public class TransactionReceiptRecordRest {
try{
return transactionReceiptRecordService.importTransactionReceiptRecord(file);
}catch(Exception e){
transactionReceiptRecordService.deleteRedis("importTransactionReceiptRecord");
return JsonResult.buildErrorStateResult(e.getMessage());
}
}
......@@ -90,6 +91,7 @@ public class TransactionReceiptRecordRest {
try{
return transactionReceiptRecordService.exportZipFile(request,response);
}catch(Exception e){
transactionReceiptRecordService.deleteRedis("exportZipFile");
return JsonResult.buildErrorStateResult("导出文件出现错误");
}
......
......@@ -24,4 +24,6 @@ public interface ITransactionReceiptRecordService {
void generatePDF(TransactionReceiptVO transactionReceiptVO, String filePath);
void deleteRedis(String str);
}
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