@@ -114,6 +114,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract> i
roles = roleService.list(new LambdaQueryWrapper<SysRole>().eq(SysRole::getCode, "SCAN_CONTRACT"));// 协议用户角色
}
+ user.setDeptId(1L);//默认部门
user.setMobile(form.getContactPhone());
user.setNickname(form.getContractName());
if (CollectionUtil.isNotEmpty(roles)) {