111
This commit is contained in:
1 parent
68a2b4f68c
commit
7cd697187c
308 files changed
+30454
-75
No files matched your search
@@ -0,0 +1,89 @@
|
||||
package com.luqj.ec.service;
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import com.luqj.ec.domain.EcDevice;
|
||||
import com.luqj.ec.domain.EcDevicePlus;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
|
||||
import com.ruoyi.common.select.SelectItem;
|
||||
/**
|
||||
* 设备(手机设备)Service接口
|
||||
*
|
||||
* @author luqj
|
||||
* @date 2026-02-27
|
||||
*/
|
||||
public interface IEcDeviceService extends IService<EcDevicePlus>
|
||||
{
|
||||
|
||||
List<SelectItem> select(String keyword);
|
||||
/**
|
||||
* 查询设备(手机设备)
|
||||
*
|
||||
* @param id 设备(手机设备)ID
|
||||
* @return 设备(手机设备)
|
||||
*/
|
||||
public EcDevice selectEcDeviceById(Long id);
|
||||
|
||||
/**
|
||||
* 查询设备(手机设备)列表
|
||||
*
|
||||
* @param ecDevice 设备(手机设备)
|
||||
* @return 设备(手机设备)集合
|
||||
*/
|
||||
public List<EcDevice> selectEcDeviceList(EcDevice ecDevice);
|
||||
|
||||
/**
|
||||
* 新增设备(手机设备)
|
||||
*
|
||||
* @param ecDevice 设备(手机设备)
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertEcDevice(EcDevice ecDevice);
|
||||
|
||||
/**
|
||||
* 修改设备(手机设备)
|
||||
*
|
||||
* @param ecDevice 设备(手机设备)
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateEcDevice(EcDevice ecDevice);
|
||||
|
||||
/**
|
||||
* 批量删除设备(手机设备)
|
||||
*
|
||||
* @param ids 需要删除的设备(手机设备)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteEcDeviceByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除设备(手机设备)信息
|
||||
*
|
||||
* @param id 设备(手机设备)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteEcDeviceById(Long id);
|
||||
|
||||
List<EcDevicePlus> getByIds(List<Long> ids, SFunction<EcDevicePlus, ?>... columns);
|
||||
|
||||
EcDevicePlus getById(Long id, SFunction<EcDevicePlus, ?>... columns);
|
||||
|
||||
Map<Long, EcDevicePlus> getMapByIds(List<Long> ids, SFunction<EcDevicePlus, ?>... columns);
|
||||
|
||||
List<EcDevicePlus> getByIds(List<Long> ids);
|
||||
|
||||
Map<Long, EcDevicePlus> getMapByIds(List<Long> ids);
|
||||
|
||||
/**
|
||||
* @param field sum 字段
|
||||
* @param where 条件
|
||||
* @param tClass 返回类型
|
||||
* @param <T>
|
||||
* @return
|
||||
*/
|
||||
<T> T sum(String field, String where, Class<T> tClass);
|
||||
|
||||
Long count(String where);
|
||||
|
||||
<T> List<T> countByGroupBy(String select, String where, String groupby, Class<T> tClass);
|
||||
}
|
||||
Reference in new issue
Block a user