mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 17:35:54 +08:00
zhaothird
This commit is contained in:
@@ -68,4 +68,9 @@ public interface ICategoryService
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCategoryByCategoryId(Long categoryId);
|
||||
|
||||
// 精准查询
|
||||
List<Category> selectCategoryList1(Category category);
|
||||
|
||||
List<IdAndName> selectCategoryShortList1(Category category);
|
||||
}
|
||||
|
||||
@@ -154,4 +154,10 @@ public interface IDeviceService
|
||||
|
||||
// 获取所有简短设备列表
|
||||
List<DeviceAllShortOutput> selectAllDeviceShortList1(String userName);
|
||||
|
||||
// 精准查询
|
||||
List<Device> selectDeviceList1(Device device);
|
||||
|
||||
// 精准查询所有条件设备的简短信息
|
||||
List<DeviceShortOutput> selectDeviceShortList1(Device device);
|
||||
}
|
||||
|
||||
@@ -74,4 +74,6 @@ public interface IGroupService
|
||||
*/
|
||||
public int deleteGroupByGroupId(Long groupId);
|
||||
|
||||
// 精准查询
|
||||
List<Group> selectGroupList1(Group group);
|
||||
}
|
||||
|
||||
@@ -77,4 +77,7 @@ public interface IProductService
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteProductByProductId(Long productId);
|
||||
|
||||
// 精准查询
|
||||
List<Product> selectProductList1(Product product);
|
||||
}
|
||||
|
||||
@@ -58,4 +58,7 @@ public interface IThingsModelTemplateService
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteThingsModelTemplateByTemplateId(Long templateId);
|
||||
|
||||
// 精准查询
|
||||
List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate);
|
||||
}
|
||||
|
||||
@@ -97,6 +97,11 @@ public class CategoryServiceImpl implements ICategoryService
|
||||
return categoryMapper.updateCategory(category);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<IdAndName> selectCategoryShortList1(Category category) {
|
||||
return categoryMapper.selectCategoryShortList1(category);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除产品分类
|
||||
*
|
||||
@@ -127,4 +132,9 @@ public class CategoryServiceImpl implements ICategoryService
|
||||
{
|
||||
return categoryMapper.deleteCategoryByCategoryId(categoryId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Category> selectCategoryList1(Category category) {
|
||||
return categoryMapper.selectCategoryList1(category);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -250,6 +250,12 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
return deviceList;
|
||||
}
|
||||
|
||||
// 精准查询所有条件的设备
|
||||
@Override
|
||||
public List<DeviceShortOutput> selectDeviceShortList1(Device device) {
|
||||
return deviceMapper.selectDeviceShortList1(device);
|
||||
}
|
||||
|
||||
/**
|
||||
* Json物模型集合转换为对象中的分类集合
|
||||
*
|
||||
@@ -538,6 +544,11 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
public List<DeviceAllShortOutput> selectAllDeviceShortList1(String userName) {
|
||||
return deviceMapper.selectAllDeviceShortList1(userName);
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<Device> selectDeviceList1(Device device) {
|
||||
return deviceMapper.selectDeviceList1(device);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -139,4 +139,10 @@ public class GroupServiceImpl implements IGroupService
|
||||
|
||||
return groupMapper.deleteGroupByGroupId(groupId);
|
||||
}
|
||||
|
||||
// 精准查询所有
|
||||
@Override
|
||||
public List<Group> selectGroupList1(Group group) {
|
||||
return groupMapper.selectGroupList1(group);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,6 +180,7 @@ public class ProductServiceImpl implements IProductService
|
||||
return AjaxResult.error("删除失败");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除产品信息
|
||||
*
|
||||
@@ -193,4 +194,9 @@ public class ProductServiceImpl implements IProductService
|
||||
redisCache.deleteObject(tslPreKey+productId);
|
||||
return productMapper.deleteProductByProductId(productId);
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<Product> selectProductList1(Product product) {
|
||||
return productMapper.selectProductList1(product);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,4 +108,9 @@ public class ThingsModelTemplateServiceImpl implements IThingsModelTemplateServi
|
||||
{
|
||||
return thingsModelTemplateMapper.deleteThingsModelTemplateByTemplateId(templateId);
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate) {
|
||||
return thingsModelTemplateMapper.selectThingsModelTemplateList1(thingsModelTemplate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user