mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 17:35:54 +08:00
代码规范化
This commit is contained in:
@@ -70,7 +70,7 @@ public interface ICategoryService
|
||||
public int deleteCategoryByCategoryId(Long categoryId);
|
||||
|
||||
// 精准查询
|
||||
List<Category> selectCategoryList1(Category category);
|
||||
List<Category> selectCategoryListAccurate(Category category);
|
||||
|
||||
List<IdAndName> selectCategoryShortList1(Category category);
|
||||
List<IdAndName> selectCategoryShortListAccurate(Category category);
|
||||
}
|
||||
|
||||
@@ -153,11 +153,11 @@ public interface IDeviceService
|
||||
public String generationDeviceNum();
|
||||
|
||||
// 获取所有简短设备列表
|
||||
List<DeviceAllShortOutput> selectAllDeviceShortList1(String userName);
|
||||
List<DeviceAllShortOutput> selectAllDeviceShortListAccurate(String userName);
|
||||
|
||||
// 精准查询
|
||||
List<Device> selectDeviceList1(Device device);
|
||||
List<Device> selectDeviceListAccurate(Device device);
|
||||
|
||||
// 精准查询所有条件设备的简短信息
|
||||
List<DeviceShortOutput> selectDeviceShortList1(Device device);
|
||||
List<DeviceShortOutput> selectDeviceShortListAccurate(Device device);
|
||||
}
|
||||
|
||||
@@ -75,5 +75,5 @@ public interface IGroupService
|
||||
public int deleteGroupByGroupId(Long groupId);
|
||||
|
||||
// 精准查询
|
||||
List<Group> selectGroupList1(Group group);
|
||||
List<Group> selectGroupListAccurate(Group group);
|
||||
}
|
||||
|
||||
@@ -79,5 +79,5 @@ public interface IProductService
|
||||
public int deleteProductByProductId(Long productId);
|
||||
|
||||
// 精准查询
|
||||
List<Product> selectProductList1(Product product);
|
||||
List<Product> selectProductListAccurate(Product product);
|
||||
}
|
||||
|
||||
@@ -60,5 +60,5 @@ public interface IThingsModelTemplateService
|
||||
public int deleteThingsModelTemplateByTemplateId(Long templateId);
|
||||
|
||||
// 精准查询
|
||||
List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate);
|
||||
List<ThingsModelTemplate> selectThingsModelTemplateListAccurate(ThingsModelTemplate thingsModelTemplate);
|
||||
}
|
||||
|
||||
@@ -98,8 +98,8 @@ public class CategoryServiceImpl implements ICategoryService
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<IdAndName> selectCategoryShortList1(Category category) {
|
||||
return categoryMapper.selectCategoryShortList1(category);
|
||||
public List<IdAndName> selectCategoryShortListAccurate(Category category) {
|
||||
return categoryMapper.selectCategoryShortListAccurate(category);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -134,7 +134,7 @@ public class CategoryServiceImpl implements ICategoryService
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Category> selectCategoryList1(Category category) {
|
||||
return categoryMapper.selectCategoryList1(category);
|
||||
public List<Category> selectCategoryListAccurate(Category category) {
|
||||
return categoryMapper.selectCategoryListAccurate(category);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -252,8 +252,8 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
|
||||
// 精准查询所有条件的设备
|
||||
@Override
|
||||
public List<DeviceShortOutput> selectDeviceShortList1(Device device) {
|
||||
return deviceMapper.selectDeviceShortList1(device);
|
||||
public List<DeviceShortOutput> selectDeviceShortListAccurate(Device device) {
|
||||
return deviceMapper.selectDeviceShortListAccurate(device);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -541,13 +541,13 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DeviceAllShortOutput> selectAllDeviceShortList1(String userName) {
|
||||
return deviceMapper.selectAllDeviceShortList1(userName);
|
||||
public List<DeviceAllShortOutput> selectAllDeviceShortListAccurate(String userName) {
|
||||
return deviceMapper.selectAllDeviceShortListAccurate(userName);
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<Device> selectDeviceList1(Device device) {
|
||||
return deviceMapper.selectDeviceList1(device);
|
||||
public List<Device> selectDeviceListAccurate(Device device) {
|
||||
return deviceMapper.selectDeviceListAccurate(device);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ public class GroupServiceImpl implements IGroupService
|
||||
|
||||
// 精准查询所有
|
||||
@Override
|
||||
public List<Group> selectGroupList1(Group group) {
|
||||
return groupMapper.selectGroupList1(group);
|
||||
public List<Group> selectGroupListAccurate(Group group) {
|
||||
return groupMapper.selectGroupListAccurate(group);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ public class ProductServiceImpl implements IProductService
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<Product> selectProductList1(Product product) {
|
||||
return productMapper.selectProductList1(product);
|
||||
public List<Product> selectProductListAccurate(Product product) {
|
||||
return productMapper.selectProductListAccurate(product);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ public class ThingsModelTemplateServiceImpl implements IThingsModelTemplateServi
|
||||
}
|
||||
// 精准查询
|
||||
@Override
|
||||
public List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate) {
|
||||
return thingsModelTemplateMapper.selectThingsModelTemplateList1(thingsModelTemplate);
|
||||
public List<ThingsModelTemplate> selectThingsModelTemplateListAccurate(ThingsModelTemplate thingsModelTemplate) {
|
||||
return thingsModelTemplateMapper.selectThingsModelTemplateListAccurate(thingsModelTemplate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user