How to use Springboot to mark a method out of date
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!