保存进度!

This commit is contained in:
Kane Wang 2022-12-16 15:20:52 +08:00
parent ef4874962e
commit 0c48486913
2 changed files with 92 additions and 3 deletions

View File

@ -2,19 +2,83 @@
* @Author: Kane * @Author: Kane
* @Date: 2022-12-15 14:08:28 * @Date: 2022-12-15 14:08:28
* @LastEditors: Kane * @LastEditors: Kane
* @LastEditTime: 2022-12-15 15:27:53 * @LastEditTime: 2022-12-16 15:20:32
* @FilePath: \AdminSys\src\main\java\com\cpicxim\myutils\account\CpicXIMStaffInfo.java * @FilePath: \AdminSys\src\main\java\com\cpic\xim\myutils\account\CpicXIMStaffInfo.java
* @Description: 产险厦门分公司员工信息对象 * @Description: 产险厦门分公司员工信息对象
* *
* Copyright (c) ${2022} by Kane, All Rights Reserved. * Copyright (c) ${2022} by Kane, All Rights Reserved.
*/ */
package com.cpic.xim.myutils.account; package com.cpic.xim.myutils.account;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CpicXIMStaffInfo public class CpicXIMStaffInfo
{ {
CpicXIMStaffInfo()
{}
public String getName()
{
return name;
}
public void setName( String name )
{
this.name = name;
}
public String getCode()
{
return code;
}
public void setCode( String code )
{
this.code = code;
}
public String getP13UID()
{
return p13UID;
}
public void setP13UID( String p13uid )
{
p13UID = p13uid;
}
public String getDepartmentCode()
{
return departmentCode;
}
public void setDepartmentCode( String departmentCode )
{
this.departmentCode = departmentCode;
}
public String getDepartmentName()
{
return departmentName;
}
public void setDepartmentName( String departmentName )
{
this.departmentName = departmentName;
}
@JsonProperty( "name")
private String name; private String name;
@JsonProperty( "name")
private String code; private String code;
private String p13Code;
@JsonProperty( "name")
private String p13UID;
@JsonProperty( "name")
private String departmentCode; private String departmentCode;
@JsonProperty( "name")
private String departmentName; private String departmentName;
} }

View File

@ -0,0 +1,25 @@
/*
* @Author: Kane
* @Date: 2022-12-16 11:26:35
* @LastEditors: Kane
* @LastEditTime: 2022-12-16 11:29:07
* @FilePath: \AdminSys\src\test\java\com\cpic\xim\myutils\account\LdapAccountCheckTest.java
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
package com.cpic.xim.myutils.account;
import org.junit.Test;
public class LdapAccountCheckTest
{
@Test
public void testLdapLogin()
{
String userName = "wangwei-202";
String password = "Kane@1983";
boolean result = LdapAccountCheck.ldapLogin( userName, password );
}
}