2025-05-24 11:03:26 +08:00

22 lines
808 B
Java

//
// 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);
}