DepartmentMapper.java
595 字节
package com.tianbo.warehouse.dao;
import com.tianbo.warehouse.model.Department;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface DepartmentMapper {
int deleteByPrimaryKey(String departmentId);
int insert(Department record);
int insertSelective(Department record);
Department selectByPrimaryKey(String departmentId);
int updateByPrimaryKeySelective(Department record);
int updateByPrimaryKey(Department record);
List<Department> findAll(@Param("departmentName") String departmentName);
int count(String departmentId);
}