Commit b83c66fd by 翁国栋 Committed by 284718418@qq.com

禅道id--

982、注册流程调整注册流程调整
parent 4159f3a9
......@@ -540,7 +540,8 @@ public class LoginController {
Integer count = new LambdaQueryChainWrapper<QyzxEmpEntAsso>(qyzxEmpEntAssoMapper)
.eq(QyzxEmpEntAsso::getEmpNum, login.getId())
.eq(QyzxEmpEntAsso::getUserType, SysRoleType.U_TYPE_ADMIN.getType()).count();
//将密码改为注册企业输入的密码 2021//11/11 wgd
login.setPw(Md5.md5(pw));
if (count > max) {
return ResultUtil.error("已注册过企业");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment