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! !