diff --git a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcChargingPileController.java b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcChargingPileController.java index b703a357..3882decb 100644 --- a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcChargingPileController.java +++ b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/controller/XhpcChargingPileController.java @@ -97,7 +97,7 @@ public class XhpcChargingPileController extends BaseController { */ @PostMapping(value = "/downloadsTerminalImgs") public AjaxResult downloadsTerminalImgs(@RequestBody List terminalIds){ - List> xhpcImgs = xhpcChargingPileService.downloadsTerminalImgs(terminalIds); + List> xhpcImgs = xhpcChargingPileService.downloadsTerminalImgs(terminalIds); return AjaxResult.success(xhpcImgs); } diff --git a/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/controller/XhpcInternetUserController.java b/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/controller/XhpcInternetUserController.java index fc20946f..85ccac9f 100644 --- a/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/controller/XhpcInternetUserController.java +++ b/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/controller/XhpcInternetUserController.java @@ -58,6 +58,8 @@ public class XhpcInternetUserController extends BaseController { if (iXhpcUserService.checkUserNameUnique(sysUser.getUserName()) > 0) { return AjaxResult.error("新增用户'" + sysUser.getUserName() + "'失败,登录账号已存在"); } + + iXhpcInternetUserService.insert(xhpcInternetUser); sysUser.setInternetUserId(xhpcInternetUser.getInternetUserId()); iXhpcUserService.insertUser(sysUser); diff --git a/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/domain/XhpcInternetUser.java b/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/domain/XhpcInternetUser.java index 72abe323..9ade960e 100644 --- a/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/domain/XhpcInternetUser.java +++ b/xhpc-modules/xhpc-user/src/main/java/com/xhpc/user/domain/XhpcInternetUser.java @@ -132,6 +132,21 @@ public class XhpcInternetUser extends BaseEntity { */ private String delFlag; + /** + * 对接第三方平台及监管平台的operatorId + */ + private String operatorIdEvcs; + + public String getOperatorIdEvcs() { + + return operatorIdEvcs; + } + + public void setOperatorIdEvcs(String operatorIdEvcs) { + + this.operatorIdEvcs = operatorIdEvcs; + } + public Long getInternetUserId() { return internetUserId; } diff --git a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcInternetUserMapper.xml b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcInternetUserMapper.xml index 6a1369b5..5770723f 100644 --- a/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcInternetUserMapper.xml +++ b/xhpc-modules/xhpc-user/src/main/resources/mapper/XhpcInternetUserMapper.xml @@ -29,6 +29,7 @@ + @@ -104,7 +105,10 @@ update_time, - remark + remark, + + + operator_id_evcs @@ -175,7 +179,10 @@ #{updateTime}, - #{remark} + #{remark}, + + + #{operatorIdEvcs}