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