1.修改导出文件格式为UDI

master
x_z 2 years ago
parent fdb9944c3e
commit b07a87f4cc

@ -113,7 +113,7 @@ public class BasicCorpExportLogController {
@PostMapping("/udiwms/corps/importLog/export")
@Log(title = "单据管理", businessType = BusinessType.INSERT)
public BaseResponse excelDownload(@RequestBody BasicCorpsExportRequest basicCorpsExportRequest) {
String fileName = "D:\\udiwms\\exportFile\\" + "往来单位信息导出" + System.currentTimeMillis() + ".UpperIn";
String fileName = "D:\\udiwms\\exportFile\\" + "往来单位信息导出" + System.currentTimeMillis() + ".udi";
BasicCorpsExportLogEntity corpExportLogEntity = new BasicCorpsExportLogEntity();
List<Integer> ids=basicCorpsExportRequest.getIds();
corpExportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_PROCESS);

@ -126,7 +126,7 @@ public class BasicProductsExportLogController {
BasicProductsExportLogEntity basicProductsExportLogEntity = new BasicProductsExportLogEntity();
basicProductsExportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_PROCESS);
String genKey = CustomUtil.getId();
String fileName = "D:\\udiwms\\exportFile\\" + "医疗器械信息导出" + genKey + ".UpperIn";
String fileName = "D:\\udiwms\\exportFile\\" + "医疗器械信息导出" + genKey + ".udi";
basicProductsExportLogEntity.setGenKey(genKey);
basicProductsExportLogEntity.setFilePath(fileName);
basicProductsExportLogEntity.setUpdateTime(new Date());

@ -131,7 +131,7 @@ public class ThrCorpExportLogController {
public BaseResponse excelDownload(@RequestBody ThrCorpExportRequest thrCorpExportRequest) {
//String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".xls";
String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".UpperIn";
String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".udi";
File file = new File(fileName);
if (!file.exists()) {
try {
@ -166,7 +166,7 @@ public class ThrCorpExportLogController {
public BaseResponse uploadSmp(@RequestBody ThrCorpExportRequest thrCorpExportRequest) {
//String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".xls";
String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".UpperIn";
String fileName = "D:\\udiwms\\exportFile\\" + "第三方往来单位信息导出" + System.currentTimeMillis() + ".udi";
File file = new File(fileName);
if (!file.exists()) {
try {

@ -123,7 +123,7 @@ public class ThrProductsExportLogController {
ThrProductsExportLogEntity thrProductsExportLogEntity = new ThrProductsExportLogEntity();
thrProductsExportLogEntity.setStatus(BasicProcessStatus.UDIINFO_IMPORT_PROCESS);
String genKey = CustomUtil.getId();
String fileName = "D:\\udiwms\\exportFile\\" + "第三方产品信息" + genKey + ".UpperIn";
String fileName = "D:\\udiwms\\exportFile\\" + "第三方产品信息" + genKey + ".udi";
File file = new File(fileName);
if (!file.exists()) {
try {

Loading…
Cancel
Save