package com.product.admin.service; import com.product.core.dao.BaseDao; import com.product.core.entity.DataTableEntity; import com.product.core.entity.FieldSetEntity; import com.product.core.exception.BaseException; import com.product.core.service.support.AbstractBaseService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * @Author cheng * @Description * @Date 2021/3/25 19:45 * @Version 1.0 */ @Service public class SystemInInterfaceService extends AbstractBaseService { @Autowired BaseDao baseDao; /** * * @param fse * @return */ public DataTableEntity getList(FieldSetEntity fse) throws BaseException{ DataTableEntity dt = baseDao.listTable(fse.getTableName(), null, null, null, fse.getString("orderby"), fse.getInteger(com.product.admin.config.CmnConst.PAGESIZE), fse.getInteger(com.product.admin.config.CmnConst.CPAGE)); baseDao.loadPromptData(dt); return dt; } }