|
|
@@ -348,8 +348,8 @@ public class SysUserJzgInfo extends BaseModel implements Serializable {
|
|
|
* @author lipf
|
|
|
* @date 2026/4/22 11:16
|
|
|
*/
|
|
|
- public boolean canLogin(){
|
|
|
- return (this.isEnable != null && this.isEnable == 0) && ( this.status != 0 && this.status != 8);
|
|
|
+ public boolean cannotLogin(){
|
|
|
+ return this.isEnable == 1 || this.status == 8;
|
|
|
}
|
|
|
|
|
|
public SysUserJzgInfo(String userName, SysUser user, String systemCode, String deptId){
|