io.vertx.tp.optic.business.ExCompanyEpic Maven / Gradle / Ivy
package io.vertx.tp.optic.business;
import cn.vertxup.erp.domain.tables.daos.ECompanyDao;
import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
import io.vertx.up.unity.Ux;
/*
* Get user information from database
* Company Information
*/
public class ExCompanyEpic implements ExCompany {
@Override
public Future fetchAsync(final String id) {
return Ux.Jooq.on(ECompanyDao.class)
.fetchByIdAsync(id)
.compose(Ux::futureJ);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy