package com.glxp.api.service.thrsys; import com.glxp.api.entity.thrsys.ThrInvWarehouseEntity; import com.glxp.api.req.thrsys.FilterThrSubInvWarehouseRequest; import com.glxp.api.res.thrsys.ThrInvWarehouseResponse; import java.util.List; public interface ThrInvWarehouseService { ThrInvWarehouseEntity selectById(String id); ThrInvWarehouseEntity selectByThrCode(String thirdSys, String thirdId); List filterThrInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest); List selectByPid(String pid); List selectByThrDeptCode( FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest); boolean insertThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity); boolean insertInvWarehouses(List thrSubInvWarehouseEntities); boolean updateThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity); boolean deleteById(String id); /** * 查询第三方分库数据 * * @param filterThrSubInvWarehouseRequest * @return */ List filterThrInvWarehouseResponse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest); }