导入修改
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ public class WgdAssocInfoController extends BaseController<WgdAssocInfo> {
|
||||
res.forEach(wgdAssocInfo -> {
|
||||
wgdAssocInfo.setId(String.valueOf(UUID.randomUUID()));
|
||||
});
|
||||
if (iWgdAssocInfoService.saveOrUpdateBatch(res)) {
|
||||
if (res.size()>0 && iWgdAssocInfoService.saveOrUpdateBatch(res)) {
|
||||
return Result.success();
|
||||
}else {
|
||||
return Result.error();
|
||||
|
||||
Reference in New Issue
Block a user