Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
0282940a
Commit
0282940a
authored
Aug 01, 2019
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加修改公司消息
parent
60ce941b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
7 deletions
+87
-7
PangdingManagementController.java
...eb/authority/controller/PangdingManagementController.java
+1
-1
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+5
-4
GetCompanyMsgResVo.java
...m/pangding/web/authority/vo/resvo/GetCompanyMsgResVo.java
+81
-2
No files found.
src/main/java/com/pangding/web/authority/controller/PangdingManagementController.java
View file @
0282940a
...
...
@@ -311,7 +311,7 @@ public class PangdingManagementController {
}
@RequestMapping
(
value
=
"updateCompanyMoney"
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
public
ResponseResult
<
String
>
updateCompanyMoney
(
UpdateCompanyMoneyReqVo
req
){
public
ResponseResult
<
String
>
updateCompanyMoney
(
@RequestBody
UpdateCompanyMoneyReqVo
req
){
CheckerHelper
.
newInstance
()
.
notBlankCheck
(
"companyId"
,
req
.
getCompanyId
())
.
notBlankCheck
(
"money"
,
req
.
getMoney
())
...
...
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
0282940a
...
...
@@ -956,8 +956,8 @@ public class CompanyServiceImpl implements CompanyService {
try
{
// 可提现余额
double
companyMoney
=
companyExtendVo
.
getWithdrawTotalCash
();
req
=
new
UpdateCompanyMoneyReqVo
();
req
.
setCompanyId
(
companyVo
.
getId
());
//
req = new UpdateCompanyMoneyReqVo();
//
req.setCompanyId(companyVo.getId());
if
(
CompanyConstant
.
MONEY_TYPE_FZ
==
req
.
getMoneyType
()
||
CompanyConstant
.
MONEY_TYPE_ZZ
==
req
.
getMoneyType
()
...
...
@@ -965,8 +965,9 @@ public class CompanyServiceImpl implements CompanyService {
// 分账 转账 充值
companyMoney
+=
req
.
getMoney
();
}
if
(
CompanyConstant
.
MONEY_TYPE_REFUND
==
req
.
getMoneyType
()){
// 退款
if
(
CompanyConstant
.
MONEY_TYPE_REFUND
==
req
.
getMoneyType
()
||
CompanyConstant
.
MONEY_TYPE_TX
==
req
.
getMoneyType
()){
// 退款 提现
companyMoney
-=
req
.
getMoney
();
}
// int orderMoneyType = 0;
...
...
src/main/java/com/pangding/web/authority/vo/resvo/GetCompanyMsgResVo.java
View file @
0282940a
package
com
.
pangding
.
web
.
authority
.
vo
.
resvo
;
import
com.pangding.web.authority.vo.MsgVo
;
public
class
GetCompanyMsgResVo
extends
MsgVo
{
public
class
GetCompanyMsgResVo
{
private
String
companyId
;
private
String
companyName
;
private
String
msgId
;
private
String
msgTitle
;
private
String
msgContent
;
private
String
msgUrl
;
private
String
msgPicUrl
;
private
int
msgType
;
private
int
msgStatus
;
private
int
msgSort
;
public
String
getCompanyId
()
{
return
companyId
;
}
...
...
@@ -23,4 +38,68 @@ public class GetCompanyMsgResVo extends MsgVo{
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getMsgId
()
{
return
msgId
;
}
public
void
setMsgId
(
String
msgId
)
{
this
.
msgId
=
msgId
;
}
public
String
getMsgTitle
()
{
return
msgTitle
;
}
public
void
setMsgTitle
(
String
msgTitle
)
{
this
.
msgTitle
=
msgTitle
;
}
public
String
getMsgContent
()
{
return
msgContent
;
}
public
void
setMsgContent
(
String
msgContent
)
{
this
.
msgContent
=
msgContent
;
}
public
String
getMsgUrl
()
{
return
msgUrl
;
}
public
void
setMsgUrl
(
String
msgUrl
)
{
this
.
msgUrl
=
msgUrl
;
}
public
String
getMsgPicUrl
()
{
return
msgPicUrl
;
}
public
void
setMsgPicUrl
(
String
msgPicUrl
)
{
this
.
msgPicUrl
=
msgPicUrl
;
}
public
int
getMsgType
()
{
return
msgType
;
}
public
void
setMsgType
(
int
msgType
)
{
this
.
msgType
=
msgType
;
}
public
int
getMsgStatus
()
{
return
msgStatus
;
}
public
void
setMsgStatus
(
int
msgStatus
)
{
this
.
msgStatus
=
msgStatus
;
}
public
int
getMsgSort
()
{
return
msgSort
;
}
public
void
setMsgSort
(
int
msgSort
)
{
this
.
msgSort
=
msgSort
;
}
}
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