|
@@ -64,7 +64,7 @@ namespace OASystem.API.Controllers
|
|
|
int maxRowIndex = dataList.Max(s => s.row_start);
|
|
|
int maxColIndex = headerList.Max(s => s.col_start) + 1;
|
|
|
Dictionary<int, string> dicHeader = new Dictionary<int, string>();
|
|
|
- List<string> listNameStr = new List<string>() { "姓名", "name" };
|
|
|
+ List<string> listNameStr = new List<string>() { "姓名", "name", "姓 名" };
|
|
|
List<string> listSexStr = new List<string>() { "性别", "gender", "sex" };
|
|
|
List<string> listDOBStr = new List<string>() { "D.O.B", "出生年月", "生日", "出生日期" };
|
|
|
List<string> listIdCard = new List<string>() { "身份证号码", "身份证" };
|
|
@@ -72,6 +72,8 @@ namespace OASystem.API.Controllers
|
|
|
List<string> listJobStr = new List<string>() { "职务", "title", "职位", "所在单位及职务" , "单位及职务" };
|
|
|
List<string> listMobileStr = new List<string>() { "联系电话", "mobile" };
|
|
|
List<string> listAgeStr = new List<string>() { "年龄", "age" };
|
|
|
+ List<string> listBeiZhu = new List<string>() { "备注" };
|
|
|
+
|
|
|
for (int i = 0; i < headerList.Count; i++)
|
|
|
{
|
|
|
string words = headerList[i].words.Trim().ToLower();
|
|
@@ -107,7 +109,10 @@ namespace OASystem.API.Controllers
|
|
|
{
|
|
|
dicHeader.Add(i, "Age");
|
|
|
}
|
|
|
-
|
|
|
+ else if (listBeiZhu.Exists(s => s == words))
|
|
|
+ {
|
|
|
+ dicHeader.Add(i, "BeiZhu");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
List<BaiduClientOCRView> ClientArr = new List<BaiduClientOCRView>();
|