|
|
@@ -30,15 +30,15 @@ public class Tenant extends BaseEntity implements Serializable { |
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
public Tenant(int type){ |
|
|
|
if(type== UpdateOrCreateEnum.CREATE.getCode()){ |
|
|
|
setCreateUser(ShiroUtils.getUserId()); |
|
|
|
setCreateTime(new Date()); |
|
|
|
setMark(MarkTypeEnum.VALID.getCode()); |
|
|
|
} |
|
|
|
setUpdateUser(ShiroUtils.getUserId()); |
|
|
|
setUpdateTime(new Date()); |
|
|
|
} |
|
|
|
// public Tenant(int type){ |
|
|
|
// if(type== UpdateOrCreateEnum.CREATE.getCode()){ |
|
|
|
// setCreateUser(ShiroUtils.getUserId()); |
|
|
|
// setCreateTime(new Date()); |
|
|
|
// setMark(MarkTypeEnum.VALID.getCode()); |
|
|
|
// } |
|
|
|
// setUpdateUser(ShiroUtils.getUserId()); |
|
|
|
// setUpdateTime(new Date()); |
|
|
|
// } |
|
|
|
|
|
|
|
/** |
|
|
|
* 租户名称 |