禁止修改创建时间
This commit is contained in:
parent
b4cc48f1ed
commit
5cf402181c
|
@ -63,6 +63,7 @@ public class OrganizationService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateOrganization(Organization organization) {
|
public void updateOrganization(Organization organization) {
|
||||||
|
organization.setCreateTime(null);
|
||||||
organization.setUpdateTime(System.currentTimeMillis());
|
organization.setUpdateTime(System.currentTimeMillis());
|
||||||
organizationMapper.updateByPrimaryKeySelective(organization);
|
organizationMapper.updateByPrimaryKeySelective(organization);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue