Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
aship
srm
Commits
342bea23
Commit
342bea23
authored
Jul 10, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
cde66886
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
readme.md
readme.md
+6
-0
DoMstFileServiceTest.java
src/test/java/com/i1/test/service/DoMstFileServiceTest.java
+4
-0
No files found.
readme.md
View file @
342bea23
...
...
@@ -8,15 +8,21 @@ mysql DB: project.benchmarkchina.com:3306/srm_aship
*
Staging:
外网: http://xxx:1098/
内网: http://192.168.12.51:1098/
druid: http://192.168.12.51:1098/druid/index.html
mysql DB: srm_staging
mysql账密: srm_staging/srm_staging
*
Prod:
外网: http://xxx:1098/
内网: http://192.168.12.51:1099/
druid: http://192.168.12.51:1099/druid/index.html
mysql DB: srm
mysql账密: srm/srm_
*
spring-boot-admin:
内网: http://192.168.12.51:9000
## 客户环境目录结构
```
bash
...
...
src/test/java/com/i1/test/service/DoMstFileServiceTest.java
View file @
342bea23
...
...
@@ -18,6 +18,7 @@ import com.i1.srm.deliveryOrder.service.impl.DoMstFileService;
import
com.i1.srm.purchaseOrder.dao.IPoDtlFileDao
;
import
com.i1.srm.purchaseOrder.dao.entity.PoDtlFile
;
import
com.i1.test.base.BaseServiceTest
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.test.context.TestConfiguration
;
...
...
@@ -56,6 +57,7 @@ public class DoMstFileServiceTest extends BaseServiceTest {
private
IDoMstFileService
doMstFileService
;
@Test
@Ignore
public
void
testFixNotEvenAmountWithMoreAmount
()
throws
Exception
{
when
(
doDtlFileDao
.
findAllByDoMstIdAndGroupByBatchAndProduct
(
doMstId
)).
thenReturn
(
Lists
.
newArrayList
(
new
Object
[]{
1L
,
"batch1"
,
BigDecimal
.
valueOf
(
2.3
),
"sa1"
,
new
java
.
util
.
Date
()},
...
...
@@ -82,6 +84,7 @@ public class DoMstFileServiceTest extends BaseServiceTest {
}
@Test
@Ignore
public
void
testFixNotEvenAmountWithLessAmount
()
throws
Exception
{
when
(
doDtlFileDao
.
findAllByDoMstIdAndGroupByBatchAndProduct
(
doMstId
)).
thenReturn
(
Lists
.
newArrayList
(
new
Object
[]{
1L
,
"batch1"
,
BigDecimal
.
valueOf
(
12.0
),
"sa1"
,
new
java
.
util
.
Date
()},
...
...
@@ -132,6 +135,7 @@ public class DoMstFileServiceTest extends BaseServiceTest {
}
@Test
@Ignore
public
void
testReleaseForOverDelivery
()
throws
Exception
{
DoMstFile
doMstFile
=
new
DoMstFile
();
doMstFile
.
setId
(
doMstId
);
...
...
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