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/auth/DeptDao.java

64 lines
1.8 KiB
Java

3 years ago
package com.glxp.api.dao.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 DeptDao {
List<DeptEntity> filterInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
List<DeptEntity> filterAllByUser(FilterInvWarehouseRequest filterInvWarehouseRequest);
DeptEntity selectMaxCode(FilterInvWarehouseRequest filterInvWarehouseRequest);
List<DeptEntity> filterGroupInvWarehouse(FilterInvWarehouseRequest filterInvWarehouseRequest);
boolean insertInvWarehouse(DeptEntity DeptEntity);
boolean updateInvWarehouse(DeptEntity DeptEntity);
DeptEntity selectById(@Param("id") String id);
boolean deleteById(@Param("id") String id);
String getNameByCode(@Param("fromCorpId") String fromCorpId);
/**
*
*
* @param invWarehouseEntities
*/
void importInvWarehouse(@Param("invWarehouseEntities") List<DeptEntity> invWarehouseEntities);
/**
* ID
*
* @param id
* @param thridWarehouseId
* @param sysId
* @return
*/
boolean updateThridId(@Param("id") String id, @Param("thridWarehouseId") String thridWarehouseId, @Param("sysId") String sysId);
boolean updateTime(@Param("code") String code, @Param("updateTime") Date updateTime);
DeptEntity selectByThirdSys(@Param("thirdIdSys") String thirdIdSys, @Param("thirdId") String thirdId);
/**
* code*
*/
3 years ago
DeptEntity selectByCodeAll(@Param("code") String code);
/**
*
*
* @param code
* @return
*/
String selectNameByCode(@Param("code") String code);
3 years ago
}