代码规范化

This commit is contained in:
redamancy-qian
2022-04-16 13:57:26 +08:00
parent 00d9340825
commit 36afa809c4
28 changed files with 60 additions and 56 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -75,5 +75,5 @@ public interface IGroupService
public int deleteGroupByGroupId(Long groupId);
// 精准查询
List<Group> selectGroupList1(Group group);
List<Group> selectGroupListAccurate(Group group);
}

View File

@@ -79,5 +79,5 @@ public interface IProductService
public int deleteProductByProductId(Long productId);
// 精准查询
List<Product> selectProductList1(Product product);
List<Product> selectProductListAccurate(Product product);
}

View File

@@ -60,5 +60,5 @@ public interface IThingsModelTemplateService
public int deleteThingsModelTemplateByTemplateId(Long templateId);
// 精准查询
List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate);
List<ThingsModelTemplate> selectThingsModelTemplateListAccurate(ThingsModelTemplate thingsModelTemplate);
}

View File

@@ -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);
}
}

View File

@@ -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);
}

View File

@@ -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);
}
}

View File

@@ -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);
}
}

View File

@@ -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);
}
}