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.
75 lines
1.7 KiB
Java
75 lines
1.7 KiB
Java
package com.glxp.api.service.auth;
|
|
|
|
|
|
import com.glxp.api.entity.auth.DeptEntity;
|
|
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
public interface DeptService {
|
|
|
|
|
|
DeptEntity findDefault(Boolean advaceType, Boolean isDefault);
|
|
|
|
DeptEntity selectMaxCode(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
|
|
|
List<DeptEntity> filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
|
|
|
List<DeptEntity> filterAllByUser(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
|
|
|
List<DeptEntity> filterGroupInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
|
|
|
|
boolean insertInvWarehouse(DeptEntity deptEntity);
|
|
|
|
boolean updateInvWarehouse(DeptEntity deptEntity);
|
|
|
|
DeptEntity selectById(String id);
|
|
|
|
DeptEntity selectByCode(String code);
|
|
|
|
DeptEntity selectByName(String name);
|
|
|
|
boolean deleteById(String id);
|
|
|
|
List<DeptEntity> selectByNameList(String name);
|
|
|
|
/**
|
|
* 批量导入仓库信息
|
|
*
|
|
* @param invWarehouseEntities
|
|
*/
|
|
void importInvWarehouse(List<DeptEntity> invWarehouseEntities);
|
|
|
|
/**
|
|
* 绑定第三方仓库
|
|
*
|
|
* @param id
|
|
* @param thridWarehouseId
|
|
*/
|
|
boolean bindThrWarehouse(String id, String thridWarehouseId, String sysId);
|
|
|
|
/**
|
|
* 解绑第三方仓库
|
|
*/
|
|
boolean unbindThrWarehouse(String id, String sysId);
|
|
|
|
|
|
/**
|
|
* 通过仓库编码,查询仓库名称
|
|
*
|
|
* @param code
|
|
* @return
|
|
*/
|
|
String getInvName(String code);
|
|
|
|
/**
|
|
* 根据code查询*
|
|
*/
|
|
DeptEntity selectByCodeAll(String code);
|
|
|
|
boolean updateTime(String code, Date updateTime);
|
|
|
|
}
|