// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package com.luozhihui.project.mapper; import com.luozhihui.project.entity.User; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; public interface UserInfoMapper { @Select({"SELECT * FROM `user` WHERE UserId = #{user_id}"}) User findById(Integer id); @Update({"UPDATE user SET UserName = #{UserName},Phone = #{Phone}, PassWord = #{PassWord}, IdCard = #{IdCard},DriverLicense=#{DriverLicense},avatar=#{avatar} where UserId = #{UserId}"}) void update(User user); @Update({"UPDATE user SET UserName = #{UserName},Phone = #{Phone}, IdCard = #{IdCard},DriverLicense=#{DriverLicense} where UserId = #{UserId}"}) void shiming(User user); }