diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/DeptIdentifyServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/DeptIdentifyServiceImpl.java index 4792ed9..3dd1b23 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/DeptIdentifyServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/DeptIdentifyServiceImpl.java @@ -304,8 +304,8 @@ public class DeptIdentifyServiceImpl implements IDeptIdentifyService { return AjaxResult.error("信息重复"); } deptIdentify.setIdentifyStatus(0); //设置认证状态默认为未认证 - deptIdentify.setIsUse(0); //设置认证状态默认为未认证 - int i = deptIdentifyMapper.insertDeptIdentify(deptIdentify);//设置机构默认为未启用 + deptIdentify.setIsUse(0); //设置机构默认为未启用 + int i = deptIdentifyMapper.insertDeptIdentify(deptIdentify); if (i > 0) { return AjaxResult.success("新增成功"); } diff --git a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml index 0b9f183..6df2531 100644 --- a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml @@ -13,6 +13,7 @@ + @@ -47,21 +48,25 @@ insert into dept_identify( - dept_id, - user_id, + identify_name, identify_status, identify_date, is_use, org_id, - auth_flow_id + oper_name, + oper_phone, + auth_flow_id, + identify_type )values( - #{deptId}, - #{userId}, + #{identifyName}, #{identifyStatus}, #{identifyDate}, #{isUse}, #{orgId}, - #{authFlowId} + #{operName}, + #{operPhone}, + #{authFlowId}, + #{identifyType} )