66 lines
1.5 KiB
Java
66 lines
1.5 KiB
Java
package com.ruoyi.custom.mapper;
|
|
|
|
import java.util.List;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.ruoyi.custom.domain.CustomUnitCode;
|
|
import com.ruoyi.custom.domain.CustomUnitCodePlus;
|
|
|
|
/**
|
|
* 计量单位代码Mapper接口
|
|
*
|
|
* @author luqj
|
|
* @date 2021-10-23
|
|
*/
|
|
public interface CustomUnitCodeMapper extends BaseMapper<CustomUnitCodePlus>
|
|
{
|
|
/**
|
|
* 查询计量单位代码
|
|
*
|
|
* @param id 计量单位代码ID
|
|
* @return 计量单位代码
|
|
*/
|
|
public CustomUnitCode selectCustomUnitCodeById(Long id);
|
|
|
|
/**
|
|
* 查询计量单位代码列表
|
|
*
|
|
* @param customUnitCode 计量单位代码
|
|
* @return 计量单位代码集合
|
|
*/
|
|
public List<CustomUnitCode> selectCustomUnitCodeList(CustomUnitCode customUnitCode);
|
|
|
|
/**
|
|
* 新增计量单位代码
|
|
*
|
|
* @param customUnitCode 计量单位代码
|
|
* @return 结果
|
|
*/
|
|
public int insertCustomUnitCode(CustomUnitCode customUnitCode);
|
|
|
|
/**
|
|
* 修改计量单位代码
|
|
*
|
|
* @param customUnitCode 计量单位代码
|
|
* @return 结果
|
|
*/
|
|
public int updateCustomUnitCode(CustomUnitCode customUnitCode);
|
|
|
|
/**
|
|
* 删除计量单位代码
|
|
*
|
|
* @param id 计量单位代码ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteCustomUnitCodeById(Long id);
|
|
|
|
/**
|
|
* 批量删除计量单位代码
|
|
*
|
|
* @param ids 需要删除的数据ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteCustomUnitCodeByIds(Long[] ids);
|
|
}
|