禁止修改创建时间

This commit is contained in:
Captain.B 2020-04-10 12:32:25 +08:00
parent b4cc48f1ed
commit 5cf402181c
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ public class OrganizationService {
}
public void updateOrganization(Organization organization) {
organization.setCreateTime(null);
organization.setUpdateTime(System.currentTimeMillis());
organizationMapper.updateByPrimaryKeySelective(organization);
}