Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Springboot to mark a method out of date

Shulou Source: shulou.com Published: 2022-06-03 10:59:44 11月15日 Update

This article is about how to use Springboot to mark the outdated content of a method. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Add comment: (although marked as obsolete, it can still be used)

@ Deprecated

Deprecated public List selectTestDataListById (String id) {Map params = Maps.newHashMap (); params.put ("id", id); return sqlSession.selectList ("selectTestDataMapById", params);}

When the method is called:

SelectTestDataListById

List testDataList=testDataDao.selectTestDataListById ("30041204")

Thank you for reading! This is the end of this article on "how to use Springboot to mark a method out of date". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Methods tags outdated content more articles good practical over articles notes see knowledge reference help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Xiaomi Docker Microsoft Huawei