1.
com.e-iceblue
http://repo.e-iceblue.cn/repository/maven-public/
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ErecordApplication.class)
public class Test1 {
@Autowired
ErecordMapper erecordMapper;
@Test
public void gotop() {
/ModifyPasswordVo m = new ModifyPasswordVo();//“123456”,“Nctlj@123456”,“Nctlj@123456”,“optional”
m.setOldPassword(“123456”);
m.setNewPassword(“Nctlj@123456”);
m.setConfirmPassword(“Nctlj@123456”);
m.setMode(“optional”);/
SysUser user = new SysUser();
user.setId(2629L);
user.setPassword(SecurityUtils.encryptPassword(“Nctlj@123456”));
erecordMapper.updateUser(2629L,“huweiqun”,“虎卫群”,SecurityUtils.encryptPassword(“Nctlj@123456”));
}