员工重置密码

master
river 4 years ago
parent f10a6c5b2b
commit fe61e570f8
  1. 1
      dq-financial-crms/src/main/java/com/daqing/financial/crms/model/request/CompanyCustomerRequest.java
  2. 2
      dq-financial-hrms/src/main/java/com/daqing/financial/hrms/service/impl/EmployeeServiceImpl.java
  3. 1
      dq-framework-model/src/main/java/com/daqing/framework/domain/crms/ext/CustomerPersonalTOI.java

@ -32,7 +32,6 @@ public class CompanyCustomerRequest implements Serializable {
@ApiModelProperty(value = "客户类型")
private Integer type;
@NotNull(message = "客户经理人不能为空")
@ApiModelProperty(value = "客户经理人ids")
private Long manager;

@ -188,7 +188,7 @@ public class EmployeeServiceImpl extends ServiceImpl<EmployeeDao, EmployeeEntity
ExceptionCast.cast(HrmsCode.EMPLOYEE_IS_NULL);
}
String password = Md5Util.md5(PromptSuccess.RESET_PASSWORD + userId);
return this.getBaseMapper().updatePassword(id, password);
return this.getBaseMapper().updatePassword(userId, password);
}
/**

@ -30,7 +30,6 @@ public class CustomerPersonalTOI implements Serializable {
/**
* 客户的经理人id
*/
@NotNull(message = "客户经理人不能为空")
@ApiModelProperty(value = "客户经理人id")
private Long manager;
/**

Loading…
Cancel
Save