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/service/thrsys/ThrDeptService.java

58 lines
1.4 KiB
Java

package com.glxp.api.service.thrsys;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.entity.thrsys.ThrDeptEntity;
import com.glxp.api.req.thrsys.FilterThrDeptRequest;
import java.util.Date;
import java.util.List;
public interface ThrDeptService {
ThrDeptEntity findDefault(Boolean advaceType, Boolean isDefault);
List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
List<ThrDeptEntity> filterGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
boolean insertInvWarehouse(ThrDeptEntity thrDeptEntity);
boolean insertInvWarehouses(List<ThrDeptEntity> thrDeptEntities);
boolean updateInvWarehouse(ThrDeptEntity thrDeptEntity);
ThrDeptEntity selectById(String id);
ThrDeptEntity selectByCode(String code, String thirdSysFk);
boolean deleteById(String id);
ThrDeptEntity selectMaxCode(FilterThrDeptRequest filterThrDeptRequest);
/**
*
*
* @param thirdSysFk
* @return
*/
BaseResponse downloadThirdWarehouse(String thirdSysFk);
/**
*
*
* @param id
* @return
*/
BaseResponse deleteInvById(String id);
/**
*
*
* @param lastUpdateTime
* @return
*/
List<ThrDeptEntity> findByLastTime(Date lastUpdateTime);
}