Commit bcb36ab3 by zhiwj

修改userId的取值

parent 812a2289
......@@ -219,7 +219,7 @@ public class OfflineStrategy implements PayStrategy {
// gic
approvalDTO.setPlatformType(1);
if (outPayDTO.getInitiatorUser() != null) {
UserDTO userDTO = userApiService.getUserById(outPayDTO.getInitiatorUser()).getResult();
UserDTO userDTO = userApiService.getUserInfoById(outPayDTO.getInitiatorUser()).getResult();
if (userDTO != null) {
approvalDTO.setInitiatorType(userDTO.getLoginType() == 0 ?
BillingInitiatorTypeEnum.ENTERPRISE.getCode() : BillingInitiatorTypeEnum.OPERATION.getCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment