Skip to content

Commit

Permalink
1.10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Oct 5, 2022
1 parent bb5116c commit c35bc11
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package demo1;

import lombok.Getter;
import lombok.Setter;

/**
* @author noear 2022/10/5 created
*/
@Getter
@Setter
public class User {
long userId;
String nickname;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package demo1;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author noear 2022/10/5 created
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package demo1;

import com.baomidou.mybatisplus.solon.service.IService;

/**
* @author noear 2022/10/5 created
*/
public interface UserService extends IService<User> {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package demo1;

import com.baomidou.mybatisplus.solon.service.impl.ServiceImpl;
import org.noear.solon.aspect.annotation.Service;


/**
* @author noear 2022/10/5 created
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

}

0 comments on commit c35bc11

Please sign in to comment.