bengbengbalabalabeng opened a new pull request, #1007:
URL: https://github.com/apache/fesod/pull/1007

   ## Purpose of the pull request
   
   Similar to #427
   
   Fix the issue where a subclass attribute with the same name (field 
shadowing) in a class inheritance chain mistakenly inherits the parent class 
annotation (such as `@DateTimeFormat`), causing abnormal sheet export 
formatting.
   
   *Special thanks to @nkuprins for identifying this issue in Discussion #919 !*
   
   ## What's changed?
   
   Refactored the field collection logic in 
`ClassUtils#doDeclaredFieldContentMap` and extracted it into a reusable 
`FieldUtils#resolveFields` utility method.
   
   Scope of affected annotations:
   - `@ContentStyle`
   - `@ContentFontStyle`
   - `@ExcelProperty` (converter attribute)
   - `@DateTimeFormat`
   - `@NumberFormat`
   
   ## Checklist
   
   - [x] I have read the [Contributor 
Guide](https://fesod.apache.org/community/contribution/).
   - [x] I have written the necessary doc or comment.
   - [x] I have added the necessary unit tests and all cases have passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to