修改
This commit is contained in:
@@ -571,8 +571,15 @@ public class UserServiceImpl implements UserService {
|
|||||||
} else {
|
} else {
|
||||||
userDao.update(userWechat);
|
userDao.update(userWechat);
|
||||||
}
|
}
|
||||||
|
if (userPhone != null) {
|
||||||
|
//用户资产信息
|
||||||
|
UserAssetDto userAssetDtoWechat = getUserAssetInfo(userWechat.getUserId());
|
||||||
|
UserAssetDto userAssetDtoPhone = getUserAssetInfo(userPhone.getUserId());
|
||||||
|
UserAsset userAsset = new UserAsset(userPhone.getUserId(),new BigDecimal(userAssetDtoWechat.getGoldValue().intValue() + userAssetDtoPhone.getGoldValue().intValue()));
|
||||||
|
userAssetDao.update(userAsset);
|
||||||
|
|
||||||
return wechatValidate(unionId);
|
}
|
||||||
|
return new JsonResult<JSONObject>(ResultEnum.success.getKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateData(String sql){
|
public void updateData(String sql){
|
||||||
|
|||||||
Reference in New Issue
Block a user