Commit 77ab7b5c by wangjf

fix

parent 1f2c4a10
......@@ -15,7 +15,7 @@ import org.apache.ibatis.annotations.Update;
*/
public interface UserDao {
@Insert("REPLACE INTO user(user_id,user_name,password,state,role,update_time) VALUES(#{userId},#{userName},#{password},#{state},#{role},#{updateTime})")
@Insert("REPLACE INTO user(user_id,user_name,password,state,role,update_time,count) VALUES(#{userId},#{userName},#{password},#{state},#{role},#{updateTime},${count})")
boolean save(User user);
@Update("UPDATE user SET role = #{role}, update_time = #{updateTime}, count = #{count} WHERE user_id = #{userId}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment