Concatenate the order by statement during mybatis Query

Source: Internet
Author: User

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/ AE /wKiom1QY_xWzpoOUAABKLvDZBOE284.jpg "Title =" qq20140917112358.jpg "alt =" wkiom1qy_xwzpoouaabklvdzboe284.jpg "/> should be used

Instead of using the # symbol

The difference between the two is that

$650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/ AE /wKiom1QY_2LxAzPoAABM0fnAatA149.jpg "Title =" qq20140917112524.jpg "alt =" wkiom1qy_2lxazpoaabm0fnaata149.jpg "/> is directly put into the SQL to take,

# Symbols are concatenated as conditions. This method is not feasible.

This article from the "IT cainiao" blog, please be sure to keep this source http://mazongfei.blog.51cto.com/3174958/1553657

Concatenate the order by statement during mybatis Query

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.