缓存菜品业务代码开发 + 菜品的起售停售代码修正

This commit is contained in:
zvv
2026-04-02 14:45:43 +08:00
parent 80bc2c6201
commit c86e86e2b3
24 changed files with 1201 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
package com.sky.mapper;
import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface UserMapper {
/**
* 根据openid查询用户
*
* @param openid
* @return
*/
@Select("select * from user where openid = #{openid}")
User getByOpenid(String openid);
/**
* 插入新用户
* @param user
*/
void insert(User user);
}