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.
udi-wms-java/src/main/java/com/glxp/api/dao/thrsys/ThrInvWarehouseDao.java

48 lines
1.6 KiB
Java

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.Date;
import java.util.List;
@Mapper
public interface ThrInvWarehouseDao {
List<ThrInvWarehouseEntity> filterThrInvWarehouse(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
2 years ago
List<ThrInvWarehouseEntity> selectByPid(String pid);
2 years ago
List<ThrInvWarehouseEntity> selectByThrDeptCode(FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest);
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);
List<ThrInvWarehouseEntity> selectByLastTime(@Param("lastUpdateTime") Date lastUpdateTime);
/**
*
*
* @param code
* @param thirdId
* @return
*/
ThrInvWarehouseEntity selectByCodeAndThirdId(@Param("code") String code, @Param("thirdId") String thirdId);
}