Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BudgetManagementSystem
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
王利雷
BudgetManagementSystem
Commits
43b56536
Commit
43b56536
authored
May 15, 2019
by
shj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库备份
parent
ba1544cc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
14 deletions
+15
-14
budgetmanagementsystem-3-26.sql
database/budgetmanagementsystem-3-26.sql
+4
-4
budgetmanagementsystem-4-7.sql
database/budgetmanagementsystem-4-7.sql
+4
-4
budgetmanagementsystem-5-15.sql
database/budgetmanagementsystem-5-15.sql
+0
-0
budgetmanagementsystem-copy.sql
database/budgetmanagementsystem-copy.sql
+4
-4
ITravelDao.xml
src/main/java/dao/ITravelDao.xml
+3
-2
No files found.
database/budgetmanagementsystem-3-26.sql
View file @
43b56536
...
...
@@ -117,10 +117,10 @@ CREATE TABLE budgetmanagementsystem.travel
accommodation
double
COMMENT
'住宿标准'
,
comment
text
COMMENT
'备注'
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
CREATE
TABLE
budgetmanagementsystem
.
workstation
(
id
int
(
11
)
PRIMARY
KEY
NOT
NULL
AUTO_INCREMENT
,
...
...
database/budgetmanagementsystem-4-7.sql
View file @
43b56536
...
...
@@ -117,10 +117,10 @@ CREATE TABLE budgetmanagementsystem.travel
accommodation
double
COMMENT
'住宿标准'
,
comment
text
COMMENT
'备注'
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
CREATE
TABLE
budgetmanagementsystem
.
workstation
(
id
int
(
11
)
PRIMARY
KEY
NOT
NULL
AUTO_INCREMENT
,
...
...
database/budgetmanagementsystem-5-15.sql
0 → 100644
View file @
43b56536
This diff is collapsed.
Click to expand it.
database/budgetmanagementsystem-copy.sql
View file @
43b56536
...
...
@@ -109,10 +109,10 @@ CREATE TABLE budgetmanagementsystem.travel
accommodation
double
COMMENT
'住宿标准'
,
comment
text
COMMENT
'备注'
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
dest
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
1
,
'上海'
,
2000
,
100
,
80
,
500
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
2
,
'南宁'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
3
,
'桂林'
,
2000
,
100
,
80
,
350
,
null
);
INSERT
INTO
budgetmanagementsystem
.
travel
(
id
,
name
,
price
,
food
,
traffic
,
accommodation
,
comment
)
VALUES
(
4
,
'北海'
,
2000
,
100
,
80
,
350
,
null
);
CREATE
TABLE
budgetmanagementsystem
.
workstation
(
id
int
(
11
)
PRIMARY
KEY
NOT
NULL
AUTO_INCREMENT
,
...
...
src/main/java/dao/ITravelDao.xml
View file @
43b56536
...
...
@@ -9,7 +9,7 @@
select * from travel where id=#{id}
</select>
<insert
id=
"insertTravel"
>
insert into budgetmanagementsystem.travel(
dest
, price, food, traffic, accommodation)
insert into budgetmanagementsystem.travel(
name
, price, food, traffic, accommodation)
values (#{dest},#{price},#{food},#{traffic},#{accommodation})
</insert>
<delete
id=
"deleteTravel"
>
...
...
@@ -17,7 +17,7 @@
</delete>
<update
id=
"updateTravel"
>
update budgetmanagementsystem.travel
set
dest
=#{dest},price=#{price},food=#{food},traffic=#{traffic},accommodation=#{accommodation}
set
name
=#{dest},price=#{price},food=#{food},traffic=#{traffic},accommodation=#{accommodation}
where id=#{id}
</update>
</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