111
This commit is contained in:
1 parent
81eca8933a
commit
345f906c35
540 files changed
+494222
-90
No files matched your search
@@ -0,0 +1,86 @@
|
||||
package com.ruoyi.custom.service;
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import com.ruoyi.custom.domain.CustomOrder;
|
||||
import com.ruoyi.custom.domain.CustomOrderPlus;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
|
||||
/**
|
||||
* 备案订单Service接口
|
||||
*
|
||||
* @author luqj
|
||||
* @date 2021-10-23
|
||||
*/
|
||||
public interface ICustomOrderService extends IService<CustomOrderPlus>
|
||||
{
|
||||
/**
|
||||
* 查询备案订单
|
||||
*
|
||||
* @param id 备案订单ID
|
||||
* @return 备案订单
|
||||
*/
|
||||
public CustomOrder selectCustomOrderById(Long id);
|
||||
|
||||
/**
|
||||
* 查询备案订单列表
|
||||
*
|
||||
* @param customOrder 备案订单
|
||||
* @return 备案订单集合
|
||||
*/
|
||||
public List<CustomOrder> selectCustomOrderList(CustomOrder customOrder);
|
||||
|
||||
/**
|
||||
* 新增备案订单
|
||||
*
|
||||
* @param customOrder 备案订单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertCustomOrder(CustomOrder customOrder);
|
||||
|
||||
/**
|
||||
* 修改备案订单
|
||||
*
|
||||
* @param customOrder 备案订单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateCustomOrder(CustomOrder customOrder);
|
||||
|
||||
/**
|
||||
* 批量删除备案订单
|
||||
*
|
||||
* @param ids 需要删除的备案订单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCustomOrderByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除备案订单信息
|
||||
*
|
||||
* @param id 备案订单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCustomOrderById(Long id);
|
||||
|
||||
List<CustomOrderPlus> getByIds(List<Long> ids, SFunction<CustomOrderPlus, ?>... columns);
|
||||
|
||||
CustomOrderPlus getById(Long id, SFunction<CustomOrderPlus, ?>... columns);
|
||||
|
||||
Map<Long, CustomOrderPlus> getMapByIds(List<Long> ids, SFunction<CustomOrderPlus, ?>... columns);
|
||||
|
||||
List<CustomOrderPlus> getByIds(List<Long> ids);
|
||||
|
||||
Map<Long, CustomOrderPlus> 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