商品模块代码提交
This commit is contained in:
parent
7ebd4d918c
commit
46058450c3
|
|
@ -1,14 +1,33 @@
|
||||||
package com.czg.service.product.service;
|
package com.czg.service.product.service;
|
||||||
|
|
||||||
|
import com.czg.core.service.IBaseService;
|
||||||
|
import com.czg.service.product.dto.ShopProdUnitDTO;
|
||||||
import com.czg.service.product.entity.ShopProdUnit;
|
import com.czg.service.product.entity.ShopProdUnit;
|
||||||
import com.mybatisflex.core.service.IService;
|
import com.mybatisflex.core.paginate.Page;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商品单位
|
* 商品单位Service接口
|
||||||
*
|
*
|
||||||
* @author Tankaikai tankaikai@aliyun.com
|
* @author Tankaikai tankaikai@aliyun.com
|
||||||
* @since 1.0 2025-02-10
|
* @since 1.0 2025-02-10
|
||||||
*/
|
*/
|
||||||
public interface ShopProdUnitService extends IService<ShopProdUnit> {
|
public interface ShopProdUnitService extends IBaseService<ShopProdUnit> {
|
||||||
|
|
||||||
|
Page<ShopProdUnitDTO> page(Map<String, Object> params);
|
||||||
|
|
||||||
|
List<ShopProdUnitDTO> list(Map<String, Object> params);
|
||||||
|
|
||||||
|
ShopProdUnitDTO get(Long id);
|
||||||
|
|
||||||
|
boolean save(ShopProdUnitDTO dto);
|
||||||
|
|
||||||
|
boolean update(ShopProdUnitDTO dto);
|
||||||
|
|
||||||
|
boolean disable(Long id);
|
||||||
|
|
||||||
|
boolean enable(Long id);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue