use of com.qlangtech.tis.offline.DbScope in project tis by qlangtech.
the class OfflineDatasourceAction method doDeleteDatasourceDbById.
/**
* 删除db
*
* @param context
*/
@Func(value = PermissionConstant.PERMISSION_DATASOURCE_EDIT)
public void doDeleteDatasourceDbById(Context context) throws Exception {
Integer id = this.getInt("id");
Objects.requireNonNull(id, "param id can not be null");
DbScope dbModel = DbScope.parse(this.getString("dbModel"));
this.offlineManager.deleteDbById(id, dbModel, this, context);
}