许鹏程
2023-05-25 213cc37cbf0b2515a4de56cc1e01813211bad183
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
    }
}