代码规范化

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

@@ -78,7 +78,7 @@ public interface CategoryMapper
*/
public int productCountInCategorys(Long[] categoryIds);
// 精准查询
List<Category> selectCategoryList1(Category category);
List<Category> selectCategoryListAccurate(Category category);
List<IdAndName> selectCategoryShortList1(Category category);
List<IdAndName> selectCategoryShortListAccurate(Category category);
}

View File

@@ -162,9 +162,9 @@ public interface DeviceMapper
*/
public int deleteDeviceGroupByDeviceIds(Long[] deviceIds);
// 查询所有简短设备列表
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

@@ -85,5 +85,5 @@ public interface GroupMapper
public int deleteDeviceGroupByGroupIds(Long[] groupIds);
// 精准查询所有
List<Group> selectGroupList1(Group group);
List<Group> selectGroupListAccurate(Group group);
}

View File

@@ -117,5 +117,5 @@ public interface ProductMapper
*/
public int thingsCountInProduct(Long productId);
// 精准查询
List<Product> selectProductList1(Product product);
List<Product> selectProductListAccurate(Product product);
}

View File

@@ -69,5 +69,5 @@ public interface ThingsModelTemplateMapper
*/
public int deleteThingsModelTemplateByTemplateIds(Long[] templateIds);
// 精准查询
List<ThingsModelTemplate> selectThingsModelTemplateList1(ThingsModelTemplate thingsModelTemplate);
List<ThingsModelTemplate> selectThingsModelTemplateListAccurate(ThingsModelTemplate thingsModelTemplate);
}