|
@@ -450,8 +450,9 @@ public class PrescriptionServices {
|
|
|
|
|
|
}
|
|
|
int size = prescriptionInfoList.size();
|
|
|
+ int bill = 0;
|
|
|
List<ExcelCollectPojo> itemList = getStatisticsData(size, payTotal, refundTotal, statisticalDataMap);
|
|
|
- downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size);
|
|
|
+ downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size, bill);
|
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
@@ -856,7 +857,8 @@ public class PrescriptionServices {
|
|
|
}
|
|
|
int size = list.size();
|
|
|
List<ExcelCollectPojo> itemList = new ArrayList<>();
|
|
|
- downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size);
|
|
|
+ int bill = 0;
|
|
|
+ downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size, bill);
|
|
|
} catch (Exception e) {
|
|
|
logger.error("/prescription/downloadPrescriptionDrugList(): {}", e.getMessage(), e);
|
|
|
e.printStackTrace();
|
|
@@ -981,7 +983,8 @@ public class PrescriptionServices {
|
|
|
}
|
|
|
int size = prescriptionInfoList.size();
|
|
|
List<ExcelCollectPojo> itemList = getStatisticsData(rowSize, payTotal, refundTotal, statisticalDataMap);
|
|
|
- downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size);
|
|
|
+ int bill = 1;
|
|
|
+ downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size, bill);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -1094,7 +1097,8 @@ public class PrescriptionServices {
|
|
|
}
|
|
|
int size = prescriptionInfoList.size();
|
|
|
List<ExcelCollectPojo> itemList = getStatisticsData(size, payTotal, refundTotal, statisticalDataMap);
|
|
|
- downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size);
|
|
|
+ int bill = 0;
|
|
|
+ downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size, bill);
|
|
|
|
|
|
|
|
|
} catch (Exception e) {
|
|
@@ -1452,7 +1456,8 @@ public class PrescriptionServices {
|
|
|
}
|
|
|
int size = list.size();
|
|
|
List<ExcelCollectPojo> itemList = new ArrayList<>();
|
|
|
- downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size);
|
|
|
+ int bill = 0;
|
|
|
+ downloadRecordService.createFileAndUploadOssAndSaveToDataBase(fileName, downloadRecordId, map, itemList, size, bill);
|
|
|
} catch (Exception e) {
|
|
|
logger.error("/prescription/downloadPrescriptionDrugList(): {}", e.getMessage(), e);
|
|
|
e.printStackTrace();
|