Parameter ‘verifyerId‘ not found. Available parameters are [verify, projectId, param1, param2]

My Mapper layer

 At the beginning is the first way of writing

Let’s look at the code of my initial Mapper.xml

    <update id="updateVerify">
      UPDATE projects
	  SET verifyer_id=#{verifyerId}, verifyer_name=#{verifyerName},
	  varify_at=#{varifyAt}, varify_result=#{varifyResult},reason=#{reason}
	  WHERE id = #{projectId}
    </update>

 

The error when running is as follows:

Modify as follows:

 My Mapper layer and my Mapper.xml code are modified as follows, add verify.

 It works again! !

Guess you like

Origin blog.csdn.net/m0_47010003/article/details/133092085