Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
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
bltdc
dc-cost-system
Commits
4271c70a
Commit
4271c70a
authored
Aug 21, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不知道改了什么
parent
15ab7751
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
pom.xml
cost-core/pom.xml
+0
-6
CostDetailController.java
...blt/other/other_cost/controller/CostDetailController.java
+0
-0
deploy-miniapp-prod.sh
cost-core/src/main/shell/deploy-miniapp-prod.sh
+15
-0
CostListSearchServiceTest.java
...t/other/other_cost/service/CostListSearchServiceTest.java
+1
-1
No files found.
cost-core/pom.xml
View file @
4271c70a
...
...
@@ -26,7 +26,6 @@
<mybatis.version>
3.4.1
</mybatis.version>
<mybatis.spring.version>
1.3.2
</mybatis.spring.version>
<mysql.version>
5.1.47
</mysql.version>
<commons.lang3>
3.4
</commons.lang3>
<pagehelper.spring.boot.starter>
1.2.5
</pagehelper.spring.boot.starter>
<druid.spring.boot.starter>
1.1.9
</druid.spring.boot.starter>
<fastjson>
1.2.47
</fastjson>
...
...
@@ -104,11 +103,6 @@
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<version>
${commons.lang3}
</version>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
...
...
cost-core/src/main/java/com/blt/other/other_cost/controller/CostDetailController.java
View file @
4271c70a
This diff is collapsed.
Click to expand it.
cost-core/src/main/shell/deploy-miniapp-prod.sh
0 → 100644
View file @
4271c70a
# shellcheck disable=SC2164
cd
/home/ubuntu/data/other/dc-cost-system/cost-core
git pull
# 拉取开发分支代码
git checkout master
#打包
mvn clean package
-Dmaven
.test.skip
=
true
-Dmaven
.compile.fork
=
true
# kill测试进程
# shellcheck disable=SC2009
ps
-ef
|
grep
cost-core |
grep
-v
grep
|
grep
prod | awk
'{print $2}'
| xargs
kill
-9
# 运行
nohup java
-Xms512m
-Xmx512m
-Xss1M
-jar
-Dspring
.profiles.active
=
prod /home/ubuntu/data/other/dc-cost-system/cost-core/target/cost-core-1.1.13.jar &
\
cost-core/src/test/java/com/blt/other/other_cost/service/CostListSearchServiceTest.java
View file @
4271c70a
...
...
@@ -26,7 +26,7 @@ public class CostListSearchServiceTest {
@Test
public
void
searchByKey
()
{
Map
<
String
,
Object
>
result
=
costListSearchService
.
searchByKey
(
"
F024926,F024927,F024928
"
,
1
,
100
);
Map
<
String
,
Object
>
result
=
costListSearchService
.
searchByKey
(
"
生物
"
,
1
,
100
);
System
.
out
.
println
(
JSON
.
toJSONString
(
result
));
}
...
...
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