@@ -126,6 +126,9 @@ public class ProjectLibManage { | |||||
ProjectLibListItemVO item = new ProjectLibListItemVO(); | ProjectLibListItemVO item = new ProjectLibListItemVO(); | ||||
item.setId(w.getId()); | item.setId(w.getId()); | ||||
item.setProjectName(w.getProjectName()); | item.setProjectName(w.getProjectName()); | ||||
item.setProjectCode(w.getProjectCode()); | |||||
item.setArea(w.getArea()); | |||||
item.setAreaCode(w.getAreaCode()); | |||||
item.setCreateOn(w.getCreateOn()); | item.setCreateOn(w.getCreateOn()); | ||||
item.setDeclaredAmount(w.getDeclareAmount()); | item.setDeclaredAmount(w.getDeclareAmount()); | ||||
item.setStage(w.getStage()); | item.setStage(w.getStage()); | ||||
@@ -157,6 +160,9 @@ public class ProjectLibManage { | |||||
ProjectLibListItemVO item = new ProjectLibListItemVO(); | ProjectLibListItemVO item = new ProjectLibListItemVO(); | ||||
item.setId(w.getId()); | item.setId(w.getId()); | ||||
item.setProjectName(w.getProjectName()); | item.setProjectName(w.getProjectName()); | ||||
item.setProjectCode(w.getProjectCode()); | |||||
item.setArea(w.getArea()); | |||||
item.setAreaCode(w.getAreaCode()); | |||||
item.setCreateOn(w.getCreateOn()); | item.setCreateOn(w.getCreateOn()); | ||||
item.setDeclaredAmount(w.getDeclareAmount()); | item.setDeclaredAmount(w.getDeclareAmount()); | ||||
item.setStage(w.getStage()); | item.setStage(w.getStage()); | ||||
@@ -39,6 +39,15 @@ public class ProjectLibListItemVO { | |||||
@ApiModelProperty("项目ID") | @ApiModelProperty("项目ID") | ||||
private Long id; | private Long id; | ||||
@ApiModelProperty("项目编号") | |||||
private String projectCode; | |||||
@ApiModelProperty("区域") | |||||
private String area; | |||||
@ApiModelProperty("区域Code") | |||||
private String areaCode; | |||||
@ApiModelProperty("项目名称") | @ApiModelProperty("项目名称") | ||||
private String projectName; | private String projectName; | ||||
@@ -127,9 +136,6 @@ public class ProjectLibListItemVO { | |||||
@ApiModelProperty("能否被预审申报") | @ApiModelProperty("能否被预审申报") | ||||
private Boolean canPreDeclared = Boolean.FALSE; | private Boolean canPreDeclared = Boolean.FALSE; | ||||
@ApiModelProperty("21位项目编号") | |||||
private String projectCode; | |||||
@ApiModelProperty("是否有上级条线主管部门 0没有 1有") | @ApiModelProperty("是否有上级条线主管部门 0没有 1有") | ||||
private Integer isHigherSuperOrg; | private Integer isHigherSuperOrg; | ||||
@@ -0,0 +1,26 @@ | |||||
package com.ningdatech.pmapi.password; | |||||
import org.junit.Test; | |||||
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; | |||||
import org.springframework.security.crypto.password.PasswordEncoder; | |||||
/** | |||||
* @Classname PasswordTest | |||||
* @Description | |||||
* @Date 2023/8/2 17:39 | |||||
* @Author PoffyZhang | |||||
*/ | |||||
public class PasswordTest { | |||||
@Test | |||||
public void password(){ | |||||
String mingwen = "ELgaCeHteZA8VJK8"; | |||||
String miwen = "$2a$10$MT82RbInrIkRVL/GRS01Vew8AO6ICngOpbAGbdkWgSnYFhog5n8.q"; | |||||
String encode = new BCryptPasswordEncoder().encode(mingwen); | |||||
boolean matches = new BCryptPasswordEncoder().matches(mingwen, encode); | |||||
System.out.println(encode); | |||||
System.out.println(matches); | |||||
} | |||||
} |