|
|
@@ -228,28 +228,28 @@ public class HwRequirementServiceImpl extends ServiceImpl<HwRequirementMapper, H
|
|
|
Cell cell7 = row.getCell(6);//获得开户地
|
|
|
if (cell1 != null) {
|
|
|
cell1.setCellType(1);
|
|
|
- String name = cell1.getStringCellValue(); //姓名
|
|
|
+ String name = cell1.getStringCellValue().trim(); //姓名
|
|
|
if (StringUtils.isNotBlank(name)) {
|
|
|
hwEnrollmentExport.setName(name);
|
|
|
}
|
|
|
}
|
|
|
if (cell2 != null) {
|
|
|
cell2.setCellType(1);
|
|
|
- String phone = cell2.getStringCellValue(); //手机号
|
|
|
+ String phone = cell2.getStringCellValue().trim(); //手机号
|
|
|
if (StringUtils.isNotBlank(phone)) {
|
|
|
hwEnrollmentExport.setPhone(phone);
|
|
|
}
|
|
|
}
|
|
|
if (cell3 != null) {
|
|
|
cell3.setCellType(1);
|
|
|
- String idcardNumber = cell3.getStringCellValue(); //身份证号
|
|
|
+ String idcardNumber = cell3.getStringCellValue().trim(); //身份证号
|
|
|
if (StringUtils.isNotBlank(idcardNumber)) {
|
|
|
hwEnrollmentExport.setIdcardNumber(idcardNumber);
|
|
|
}
|
|
|
}
|
|
|
if (cell4 != null) {
|
|
|
cell4.setCellType(1);
|
|
|
- String cardNumber = trimString(cell4.getStringCellValue()); //银行卡号
|
|
|
+ String cardNumber = trimString(cell4.getStringCellValue()).trim(); //银行卡号
|
|
|
hwEnrollmentExport.setCardNumber(cardNumber);
|
|
|
}
|
|
|
if (cell5 != null) {
|