修改了新增子运营商接口,使其能够往数据库xhpc_operator表中的operator_id_evcs字段中添加值
This commit is contained in:
parent
961b14176f
commit
a1964fed4b
@ -60,6 +60,7 @@ public class XhpcOperatorController extends BaseController {
|
|||||||
return AjaxResult.error("新增用户'" + sysUser.getUserName() + "'失败,登录账号已存在");
|
return AjaxResult.error("新增用户'" + sysUser.getUserName() + "'失败,登录账号已存在");
|
||||||
}
|
}
|
||||||
iXhpcOperatorService.insert(xhpcOperator);
|
iXhpcOperatorService.insert(xhpcOperator);
|
||||||
|
|
||||||
sysUser.setOperatorId(xhpcOperator.getOperatorId());
|
sysUser.setOperatorId(xhpcOperator.getOperatorId());
|
||||||
sysUser = iXhpcUserService.insertUser(sysUser);
|
sysUser = iXhpcUserService.insertUser(sysUser);
|
||||||
return AjaxResult.success();
|
return AjaxResult.success();
|
||||||
|
|||||||
@ -160,6 +160,20 @@ public class XhpcOperator extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private Integer delFlag;
|
private Integer delFlag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 对接第三方平台及监管平台的operatorId
|
||||||
|
*/
|
||||||
|
private String operatorIdEvcs;
|
||||||
|
|
||||||
|
public String getOperatorIdEvcs() {
|
||||||
|
|
||||||
|
return operatorIdEvcs;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOperatorIdEvcs(String operatorIdEvcs) {
|
||||||
|
|
||||||
|
this.operatorIdEvcs = operatorIdEvcs;
|
||||||
|
}
|
||||||
|
|
||||||
public Long getOperatorId() {
|
public Long getOperatorId() {
|
||||||
return operatorId;
|
return operatorId;
|
||||||
|
|||||||
@ -130,7 +130,10 @@
|
|||||||
update_by,
|
update_by,
|
||||||
</if>
|
</if>
|
||||||
<if test="null != remark and '' != remark">
|
<if test="null != remark and '' != remark">
|
||||||
remark
|
remark,
|
||||||
|
</if>
|
||||||
|
<if test="null != operatorIdEvcs and '' != operatorIdEvcs">
|
||||||
|
operator_id_evcs
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
@ -213,7 +216,10 @@
|
|||||||
#{updateBy},
|
#{updateBy},
|
||||||
</if>
|
</if>
|
||||||
<if test="null != remark and '' != remark">
|
<if test="null != remark and '' != remark">
|
||||||
#{remark}
|
#{remark},
|
||||||
|
</if>
|
||||||
|
<if test="null != operatorIdEvcs and '' != operatorIdEvcs">
|
||||||
|
#{operatorIdEvcs}
|
||||||
</if>
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user