package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.AdjustmentRecord;
|
import java.util.List;
|
|
/**
|
* 调整入库单 - 明细记录表Service定义
|
* @author 江蹄蹄
|
* @date 2022/08/08 09:38
|
*/
|
public interface AdjustmentRecordService {
|
|
/**
|
* 创建
|
*
|
* @param adjustmentRecord 实体对象
|
* @return Integer
|
*/
|
Integer create(AdjustmentRecord adjustmentRecord);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param adjustmentRecord 实体对象
|
*/
|
void delete(AdjustmentRecord adjustmentRecord);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param adjustmentRecord 实体对象
|
*/
|
void updateById(AdjustmentRecord adjustmentRecord);
|
|
/**
|
* 批量主键更新
|
*
|
* @param adjustmentRecords 实体集
|
*/
|
void updateByIdInBatch(List<AdjustmentRecord> adjustmentRecords);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return AdjustmentRecord
|
*/
|
AdjustmentRecord findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param adjustmentRecord 实体对象
|
* @return AdjustmentRecord
|
*/
|
AdjustmentRecord findOne(AdjustmentRecord adjustmentRecord);
|
|
/**
|
* 条件查询
|
*
|
* @param adjustmentRecord 实体对象
|
* @return List<AdjustmentRecord>
|
*/
|
List<AdjustmentRecord> findList(AdjustmentRecord adjustmentRecord);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<AdjustmentRecord>
|
*/
|
PageData<AdjustmentRecord> findPage(PageWrap<AdjustmentRecord> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param adjustmentRecord 实体对象
|
* @return long
|
*/
|
long count(AdjustmentRecord adjustmentRecord);
|
}
|