package com.wms_admin.server.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.wms_admin.server.entity.ProductName;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-05-24
|
*/
|
public interface ProductNameService extends IService<ProductName> {
|
/**
|
* 添加名称
|
* @param productName 名称
|
* @return 返回添加结果:1成功,0失败,可能重复
|
*/
|
Integer AddProductMessage(String productName);
|
|
List<ProductName> SelectAllProductName();
|
|
Integer UpdateIdProductName(String id, String productName);
|
|
Integer DeleteIdProductName(String id);
|
|
/**
|
* 根据产品名称查询对应的Id
|
* @param productName 产品名称
|
* @return 返回查询的Id
|
*/
|
Integer SelectProductNameId(String productName);
|
}
|