You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.glxp.api.dao.thrsys;
|
|
|
|
|
|
|
|
|
|
import com.glxp.api.entity.thrsys.ThrInvWarehouseEntity;
|
|
|
|
|
import com.glxp.api.req.thrsys.FilterThrSubInvWarehouseRequest;
|
|
|
|
|
import com.glxp.api.res.thrsys.ThrInvWarehouseResponse;
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface ThrInvWarehouseDao {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<ThrInvWarehouseEntity> filterThrInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
|
|
|
|
|
|
|
|
|
|
List<ThrInvWarehouseEntity> selectByPid(String pid);
|
|
|
|
|
|
|
|
|
|
boolean insertThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
|
|
|
|
|
|
|
|
|
|
boolean insertThrInvWarehouses(@Param("thrInvWarehouseEntitys") List<ThrInvWarehouseEntity> thrInvWarehouseEntitys);
|
|
|
|
|
|
|
|
|
|
boolean updateThrInvWarehouse(ThrInvWarehouseEntity thrInvWarehouseEntity);
|
|
|
|
|
|
|
|
|
|
boolean deleteById(@Param("id") String id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据父级仓库,统计子仓库数量
|
|
|
|
|
*/
|
|
|
|
|
int countSubInvByParentInvId(String parentInvId);
|
|
|
|
|
|
|
|
|
|
List<ThrInvWarehouseResponse> filterThrInvWarehouseResponse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
|
|
|
|
|
|
|
|
|
|
}
|