Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
王衍超
cloud-fb
Commits
2abae2bb
Commit
2abae2bb
authored
May 07, 2021
by
杨清松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据合同查询账单接口区分场站和购砂
parent
074060e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
1 deletions
+37
-1
StatementAccountController.java
...om/xyst/dinas/finance/web/StatementAccountController.java
+37
-1
No files found.
backend/xyst.dinas.finance/src/main/java/com/xyst/dinas/finance/web/StatementAccountController.java
View file @
2abae2bb
...
...
@@ -69,7 +69,7 @@ public class StatementAccountController {
}
/**
*
预付款
*
根据合同和类型查询账单
* @param
* @return
*/
...
...
@@ -85,5 +85,41 @@ public class StatementAccountController {
}
}
/**
* 根据合同和类型查询账单(购砂单位)
* @param
* @return
*/
@ResponseBody
@RequestMapping
(
value
=
"/sand/user/finance/statementAccount/queryAccountByContractId"
,
method
=
RequestMethod
.
POST
)
public
Object
queryAdvanceByContractIdSandUser
(
@RequestBody
String
body
)
{
try
{
List
<
StatementAccount
>
advanceAmount
=
statementAccountService
.
queryAccountByContractId
(
new
JSONObject
(
body
));
return
ResponseObj
.
success
(
"查询成功"
,
advanceAmount
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseObj
.
error
();
}
}
/**
* 根据合同和类型查询账单(场站)
* @param
* @return
*/
@ResponseBody
@RequestMapping
(
value
=
"/warehouseuser/finance/statementAccount/queryAccountByContractId"
,
method
=
RequestMethod
.
POST
)
public
Object
queryAdvanceByContractIdWarehouseuser
(
@RequestBody
String
body
)
{
try
{
List
<
StatementAccount
>
advanceAmount
=
statementAccountService
.
queryAccountByContractId
(
new
JSONObject
(
body
));
return
ResponseObj
.
success
(
"查询成功"
,
advanceAmount
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
ResponseObj
.
error
();
}
}
}
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