IBZEmployeeorder=iibzEmployeeService.getOne(Wrappers.query(newIBZEmployee()).select("max(showorder) as showorder").eq("mdeptid",emp.getMdeptid()).eq("orgid",emp.getOrgid()),false);
if(order!=null)
lastOrder=order.getShoworder();
}
if(lastOrder!=null)
lastOrder+=10;
else
lastOrder=10;
emp.setShoworder(lastOrder);
}
Stringpassword=emp.getPassword();
Stringpassword=emp.getPassword();
if(StringUtils.isEmpty(password))
if(StringUtils.isEmpty(password))
{
{
...
@@ -207,7 +260,7 @@ public class IBZEmp2UserAspect
...
@@ -207,7 +260,7 @@ public class IBZEmp2UserAspect
IBZDepartmentorder=iibzDepartmentService.getOne(Wrappers.query(newIBZDepartment()).select("max(showorder) as showorder").eq("orgid",dept.getOrgid()),false);