后端TDengine统计分类数量

This commit is contained in:
kerwincui
2022-06-07 14:23:42 +08:00
parent 653eee4e76
commit d8e35ebfc3
11 changed files with 56 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ package com.ruoyi.iot.mapper;
import java.util.List;
import com.ruoyi.iot.domain.ProductAuthorize;
import org.springframework.stereotype.Repository;
/**
* 产品授权码Mapper接口
@@ -9,6 +10,7 @@ import com.ruoyi.iot.domain.ProductAuthorize;
* @author kami
* @date 2022-04-11
*/
@Repository
public interface ProductAuthorizeMapper
{
/**
@@ -59,6 +61,14 @@ public interface ProductAuthorizeMapper
*/
public int deleteProductAuthorizeByAuthorizeIds(Long[] authorizeIds);
/**
* 通过产品ID批量删除产品授权码
*
* @param productIds 产品ID数组
* @return 结果
*/
public int deleteProductAuthorizeByProductIds(Long[] productIds);
/**
* 批量新增产品授权码
* @param list