修改机构用户充值

This commit is contained in:
yuyang 2022-01-26 09:49:52 +08:00
parent 4d866f87b2
commit b6b2dc6058
2 changed files with 3 additions and 3 deletions

View File

@ -400,7 +400,7 @@ public class WxPaymentController {
//充电中 //充电中
postRefreshBalance(money, serialMumber); postRefreshBalance(money, serialMumber);
} }
if(UserTypeUtil.USER_TYPE.equals(xhpcRechargeOrder.getSource())){ if(UserTypeUtil.USER_TYPE.equals(source)){
//增加用户余额 //增加用户余额
XhpcAppUser xhpcAppUser = new XhpcAppUser(); XhpcAppUser xhpcAppUser = new XhpcAppUser();
xhpcAppUser.setAppUserId(xhpcRechargeOrder.getUserId()); xhpcAppUser.setAppUserId(xhpcRechargeOrder.getUserId());

View File

@ -53,7 +53,7 @@ public class XhpcCommonServiceImpl implements IXhpcCommonService {
if(communityUser!=null){ if(communityUser!=null){
if(UserTypeUtil.INSERT_BALANCE.equals(status)){ if(UserTypeUtil.INSERT_BALANCE.equals(status)){
XhpcCommunityPersonnel xhpcCommunityPersonnel=new XhpcCommunityPersonnel(); XhpcCommunityPersonnel xhpcCommunityPersonnel=new XhpcCommunityPersonnel();
xhpcCommunityPersonnel.setCommunityPersonnelId(Long.valueOf(communityUser.get("communityUser").toString())); xhpcCommunityPersonnel.setCommunityPersonnelId(Long.valueOf(communityUser.get("appUserId").toString()));
xhpcCommunityPersonnel.setRechargeMoney(money); xhpcCommunityPersonnel.setRechargeMoney(money);
xhpcCommunityPersonnel.setRemark(remark); xhpcCommunityPersonnel.setRemark(remark);
xhpcCommunityPersonnel.setRechargeType(type); xhpcCommunityPersonnel.setRechargeType(type);
@ -67,7 +67,7 @@ public class XhpcCommonServiceImpl implements IXhpcCommonService {
if(customersUser!=null){ if(customersUser!=null){
if(UserTypeUtil.INSERT_BALANCE.equals(status)){ if(UserTypeUtil.INSERT_BALANCE.equals(status)){
XhpcCustomersPersonnel xhpcCustomersPersonnel =new XhpcCustomersPersonnel(); XhpcCustomersPersonnel xhpcCustomersPersonnel =new XhpcCustomersPersonnel();
xhpcCustomersPersonnel.setCustomersPersonnelId(Long.valueOf(customersUser.get("communityUser").toString())); xhpcCustomersPersonnel.setCustomersPersonnelId(Long.valueOf(customersUser.get("appUserId").toString()));
xhpcCustomersPersonnel.setRechargeMoney(money); xhpcCustomersPersonnel.setRechargeMoney(money);
xhpcCustomersPersonnel.setRemark(remark); xhpcCustomersPersonnel.setRemark(remark);
xhpcCustomersPersonnel.setRechargeType(type); xhpcCustomersPersonnel.setRechargeType(type);