Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-sportstest
Commits
039b15c9
Commit
039b15c9
authored
Jan 08, 2026
by
xuyamei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决报错
parent
833e67af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/main/java/com/xiaomai/cases/polar/finance/salary/TestSettleSubmitOrUpdateOrDelete.java
+6
-0
No files found.
src/main/java/com/xiaomai/cases/polar/finance/salary/TestSettleSubmitOrUpdateOrDelete.java
View file @
039b15c9
...
@@ -134,6 +134,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
...
@@ -134,6 +134,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
@Test
(
priority
=
1
,
dataProvider
=
"dataProvider"
)
@Test
(
priority
=
1
,
dataProvider
=
"dataProvider"
)
public
void
testUpdateSettleResult
(
double
num
,
int
type
)
throws
InterruptedException
{
public
void
testUpdateSettleResult
(
double
num
,
int
type
)
throws
InterruptedException
{
if
(
id
.
equals
(
""
))
return
;
if
(
settleDetailId
.
equals
(
""
)){
if
(
settleDetailId
.
equals
(
""
)){
JSONArray
fetchSettleResult
=
salaryTools
.
fetchSettleResult
(
id
);
JSONArray
fetchSettleResult
=
salaryTools
.
fetchSettleResult
(
id
);
for
(
int
i
=
0
;
i
<
fetchSettleResult
.
size
();
i
++){
for
(
int
i
=
0
;
i
<
fetchSettleResult
.
size
();
i
++){
...
@@ -172,6 +174,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
...
@@ -172,6 +174,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
@Test
(
description
=
"确认结算"
,
priority
=
2
)
@Test
(
description
=
"确认结算"
,
priority
=
2
)
public
void
testSettleConfirm
()
throws
InterruptedException
{
public
void
testSettleConfirm
()
throws
InterruptedException
{
if
(
id
.
equals
(
""
))
return
;
// 确认结算前查询发放工资的收支明细有多少条
// 确认结算前查询发放工资的收支明细有多少条
JSONObject
revenue
=
revenueAndExpenditureTools
.
pageNormalIncomeExpense
(
payWay
,
"EXPENSE"
,
"SALARY"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
JSONObject
revenue
=
revenueAndExpenditureTools
.
pageNormalIncomeExpense
(
payWay
,
"EXPENSE"
,
"SALARY"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
int
beforeTotal
=
Integer
.
parseInt
(
revenue
.
getJSONObject
(
"result"
).
getString
(
"total"
));
int
beforeTotal
=
Integer
.
parseInt
(
revenue
.
getJSONObject
(
"result"
).
getString
(
"total"
));
...
@@ -191,6 +195,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
...
@@ -191,6 +195,8 @@ public class TestSettleSubmitOrUpdateOrDelete extends BaseTestImpl {
@Test
(
description
=
"删除结算单"
,
priority
=
3
)
@Test
(
description
=
"删除结算单"
,
priority
=
3
)
public
void
testSettleDelete
()
throws
InterruptedException
{
public
void
testSettleDelete
()
throws
InterruptedException
{
if
(
id
.
equals
(
""
))
return
;
// 确认结算前查询发放工资的收支明细有多少条
// 确认结算前查询发放工资的收支明细有多少条
JSONObject
revenue
=
revenueAndExpenditureTools
.
pageNormalIncomeExpense
(
payWay
,
"EXPENSE"
,
"SALARY"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
JSONObject
revenue
=
revenueAndExpenditureTools
.
pageNormalIncomeExpense
(
payWay
,
"EXPENSE"
,
"SALARY"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
int
beforeTotal
=
Integer
.
parseInt
(
revenue
.
getJSONObject
(
"result"
).
getString
(
"total"
));
int
beforeTotal
=
Integer
.
parseInt
(
revenue
.
getJSONObject
(
"result"
).
getString
(
"total"
));
...
...
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