using System.Collections.ObjectModel; using ZR.Model.MES.wms; using ZR.Model.MES.wms.POJO.DTO; using ZR.Model.MES.wms.POJO.query; namespace ZR.Service.mes.wms.IService { public interface IAreaService { /** * 查询货区 * * @param id 货区主键 * @return 货区 */ public WmsArea SelectById(long id); /** * 查询货区列表 * * @param query 查询条件 * @param page 分页条件 * @return 货区 */ public List SelectList(AreaQuery query, Pageable page); /** * 新增货区 * * @param area 货区 * @return 结果 */ public int Insert(WmsArea area); /** * 修改货区 * * @param area 货区 * @return 结果 */ public int Update(WmsArea area); /** * 批量删除货区 * * @param ids 需要删除的货区主键 * @return 结果 */ public int DeleteByIds(long[] ids); /** * 删除货区信息 * * @param id 货区主键 * @return 结果 */ public int DeleteById(long id); public List SelectByIdIn(Collection ids); } }