多租户接口调整

This commit is contained in:
kerwincui
2022-06-04 00:51:14 +08:00
parent 4999c2abcb
commit 46aa17f320
12 changed files with 56 additions and 113 deletions

View File

@@ -36,7 +36,7 @@ public interface CategoryMapper
*
* @return 产品分类集合
*/
public List<IdAndName> selectCategoryShortList();
public List<IdAndName> selectCategoryShortList(Category category);
/**
* 新增产品分类
@@ -78,5 +78,4 @@ public interface CategoryMapper
*/
public int productCountInCategorys(Long[] categoryIds);
List<IdAndName> selectCategoryShortListAccurate(Category category);
}

View File

@@ -98,7 +98,7 @@ public interface DeviceMapper
*
* @return 设备集合
*/
public List<DeviceAllShortOutput> selectAllDeviceShortList();
public List<DeviceAllShortOutput> selectAllDeviceShortList(Device device);
/**
* 新增设备
@@ -168,16 +168,4 @@ public interface DeviceMapper
*/
public int resetDeviceStatus(String deviceNum);
/**
* 查询所有简短设备列表
* @return 结果
*/
List<DeviceAllShortOutput> selectAllDeviceShortListAccurate(String userName);
/**
* 精准查询
* @return 结果
*/
List<Device> selectDeviceListAccurate(Device device);
}