修改代码生成器重复保存
This commit is contained in:
@ -59,7 +59,7 @@ public class GenConfigServiceImpl extends BaseServiceImpl<GenConfigMapper, GenCo
|
||||
}
|
||||
genConfig.setApiPath(api.toString());
|
||||
}
|
||||
this.save(genConfig);
|
||||
this.saveOrUpdate(genConfig);
|
||||
return genConfig;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user