Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
8e4b704c
Commit
8e4b704c
authored
Feb 24, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
71600b14
80b63616
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
156 deletions
+0
-156
TestMapper.java
.../com/gic/haoban/manage/service/dao/mapper/TestMapper.java
+0
-41
Test.java
.../main/java/com/gic/haoban/manage/service/entity/Test.java
+0
-62
TestService.java
...va/com/gic/haoban/manage/service/service/TestService.java
+0
-10
TestApiServiceImpl.java
...aoban/manage/service/service/impl/TestApiServiceImpl.java
+0
-22
TestMapper.xml
...-manage3-service/src/main/resources/mapper/TestMapper.xml
+0
-21
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TestMapper.java
deleted
100644 → 0
View file @
71600b14
package
com
.
gic
.
haoban
.
manage
.
service
.
dao
.
mapper
;
import
com.gic.haoban.manage.service.entity.Test
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
@Mapper
public
interface
TestMapper
{
/**
*/
int
deleteByPrimaryKey
(
String
id
);
/**
*/
int
insert
(
Test
record
);
/**
*/
int
insertSelective
(
Test
record
);
/**
*/
Test
selectByPrimaryKey
(
String
id
);
/**
*/
int
updateByPrimaryKeySelective
(
Test
record
);
/**
*/
int
updateByPrimaryKey
(
Test
record
);
/**
* 查询
*
* @return
*/
List
<
Test
>
queryList
();
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/Test.java
deleted
100644 → 0
View file @
71600b14
package
com
.
gic
.
haoban
.
manage
.
service
.
entity
;
import
java.io.Serializable
;
/**
* Created By MBG-GUI-EXTENSION https://github.com/spawpaw/mybatis-generator-gui-extension
* Description:
*
* @author fdh
*/
public
class
Test
implements
Serializable
{
/**
*
*/
private
String
id
;
/**
*
*/
private
String
name
;
/**
*/
private
static
final
long
serialVersionUID
=
1L
;
/**
* This method returns the value of the database column test.id
*
* @return the value of test.id
*/
public
String
getId
()
{
return
id
;
}
/**
* This method sets the value of the database column test.id
*
* @param id the value for test.id
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* This method returns the value of the database column test.name
*
* @return the value of test.name
*/
public
String
getName
()
{
return
name
;
}
/**
* This method sets the value of the database column test.name
*
* @param name the value for test.name
*/
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/TestService.java
deleted
100644 → 0
View file @
71600b14
package
com
.
gic
.
haoban
.
manage
.
service
.
service
;
import
com.gic.haoban.manage.service.entity.Test
;
/**
* Created by tgs on 2020/2/9.
*/
public
interface
TestService
{
public
void
save
(
Test
test
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/TestApiServiceImpl.java
deleted
100644 → 0
View file @
71600b14
package
com
.
gic
.
haoban
.
manage
.
service
.
service
.
impl
;
import
com.gic.haoban.manage.service.dao.mapper.TestMapper
;
import
com.gic.haoban.manage.service.entity.Test
;
import
com.gic.haoban.manage.service.service.TestService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* Created by tgs on 2020/2/9.
*/
@Service
public
class
TestApiServiceImpl
implements
TestService
{
@Autowired
private
TestMapper
testMapper
;
@Override
public
void
save
(
Test
test
)
{
testMapper
.
insert
(
test
);
}
}
haoban-manage3-service/src/main/resources/mapper/TestMapper.xml
deleted
100644 → 0
View file @
71600b14
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.gic.haoban.manage.service.dao.mapper.TestMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gic.haoban.manage.service.entity.Test"
>
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, name
</sql>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.Test"
>
insert into test (id,name)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR})
</insert>
<select
id=
"queryList"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from test
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment