简历识别BUG修复

This commit is contained in:
dxfeng 2024-03-25 09:08:34 +08:00
parent 1aae9e5bb7
commit 275aa12e2f
1 changed files with 3 additions and 0 deletions

View File

@ -636,6 +636,9 @@ public class ResumeIdentifyServiceImpl extends Service implements ResumeIdentify
* @return
*/
private String getFormatDate(String dateStr) {
if(StringUtils.isBlank(dateStr)){
return null;
}
dateStr = dateStr.replace(".", "-");
if (dateStr.length() == 7) {
return dateStr + "-01";