How to pass parameters in mybatis (#{insertTime})

step:

When a parameter is passed to the database from the action, the database,

:#{insertTime,jdbcType=VARCHAR} //represents the things passed from the front desk,

:insert_time //represents something in the database



 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326274070&siteId=291194637