|
@@ -173,6 +173,7 @@ public class DataController extends BaseController {
|
|
file.transferTo(Paths.get(destZip));
|
|
file.transferTo(Paths.get(destZip));
|
|
String dest = zipOrRarTemp.getParent();
|
|
String dest = zipOrRarTemp.getParent();
|
|
|
|
|
|
|
|
+ // todo Eureka 改成使用sequence获取id,使用id作为图片的名称和data的id,此处的逻辑在并发场景会获取相同的idMax会出现异常
|
|
//取出最大值
|
|
//取出最大值
|
|
Integer idMax = dataService.getIdMax();
|
|
Integer idMax = dataService.getIdMax();
|
|
if (idMax == null) {
|
|
if (idMax == null) {
|