自动生成MyBatis-generator见:
https://blog.csdn.net/tonghuawanli/article/details/76999282
在Mapper类中,如果是有两个参数的方法,一定要在参数上加上@Param,例:
VerifyOrderDO selectLatestVerifyOrder(@Param("userId") Long userId, @Param("propose") String propose);
自动生成MyBatis-generator见:
https://blog.csdn.net/tonghuawanli/article/details/76999282
在Mapper类中,如果是有两个参数的方法,一定要在参数上加上@Param,例:
VerifyOrderDO selectLatestVerifyOrder(@Param("userId") Long userId, @Param("propose") String propose);