SpringBoot+mybatis基于注解式增删改查框架源码程序

时间:2021-11-20 10:54:48
【文件属性】:

文件名称:SpringBoot+mybatis基于注解式增删改查框架源码程序

文件大小:282KB

文件格式:RAR

更新时间:2021-11-20 10:54:48

SpringBoot+m

SpringBoot+mybatis基于注解式增删改查框架源码程序, @Insert("INSERT INTO USER(nick_name, user_code) VALUES(#{nickName}, #{userCode})") int insertParam(@Param("nickName") String nickName, @Param("userCode") String userCode); @Insert("INSERT INTO USER(nick_name, user_code) VALUES(#{nickName,jdbcType=VARCHAR}, #{userCode,jdbcType=INTEGER})") int insertByMap(Map map); @Insert("insert into user(nick_name,user_code,user_name,user_pwd,create_date,update_date) values(#{nickName},#{userCode},#{userName},#{userPwd},#{createDate},#{updateDate})") public int insertEntity(UserEntity entity); @Update("UPDATE user SET nick_name=#{nickName} WHERE user_id=#{userId}") int updateEntity(UserEntity user); @Delete("DELETE FROM user WHERE user_id =#{userId}") int delete(Long userId); @Delete("DELETE FROM user WHERE user_id =#{userId}") int deleteEntity(UserEntity entity);


【文件预览】:
.project
logs
----spring-boot-logging.log(900KB)
com.joy.iml
src
----test()
--------java()
----main()
--------webapp()
--------resources()
--------java()
target
----m2e-wtp()
--------web-resources()
----classes()
--------application.properties(594B)
--------com()
----test-classes()
--------test()
.settings
----org.eclipse.wst.jsdt.ui.superType.container(49B)
----org.eclipse.wst.common.project.facet.core.xml(252B)
----org.eclipse.m2e.core.prefs(86B)
----org.eclipse.jdt.core.prefs(723B)
----org.eclipse.wst.validation.prefs(48B)
----org.eclipse.wst.jsdt.ui.superType.name(6B)
----org.eclipse.core.resources.prefs(193B)
----org.eclipse.wst.common.component(695B)
----.jsdtscope(626B)
pom.xml
.classpath

网友评论