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

61 lines
1.5 KiB
Java

package com.glxp.api.service.thrsys;
import com.baomidou.mybatisplus.extension.service.IService;
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 extends IService<ThrDeptEntity> {
ThrDeptEntity findDefault(Boolean advaceType, Boolean isDefault);
boolean editExit(String code, String thirdSysFk, Long id);
List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
List<ThrDeptEntity> filterGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
boolean insertThrDept(ThrDeptEntity thrDeptEntity);
boolean insertThrDeptList(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);
}