Commit 252bba8b by huangjinxin

fix:实验代码

1 parent 9f5553e6
......@@ -140,7 +140,7 @@ public class RoleService {
RoleEntity roleEntity = new RoleEntity();
roleEntity.setName(name);
roleEntity.setCreatedBy(createdBy);
roleEntity.setCreatedTime(new Date());
roleEntity.setCreatedTime(LocalDateTime.now());
roleEntity.setNotes(notes);
// RoleEntity roleEntity = assembleRole(roleInfo);
log.info("新增角色入参:" + JSONObject.toJSONString(roleEntity));
......@@ -291,7 +291,7 @@ public class RoleService {
RoleEntity roleEntity = new RoleEntity();
roleEntity.setName(roleInfo.getName());
roleEntity.setCreatedBy(roleInfo.getCreatedBy());
roleEntity.setCreatedTime(new Date());
roleEntity.setCreatedTime(LocalDateTime.now());
roleEntity.setNotes(roleInfo.getNotes());
return roleEntity;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!