|
|
|
@ -154,14 +154,17 @@ public class ZyjhService extends ServiceImpl<DmYdjhMapper,DmYdjh> {
|
|
|
|
|
.forEach(file -> {
|
|
|
|
|
if (file.exists()){
|
|
|
|
|
List<String> strings = ExcelUtil.ReadExcelByLine(file);
|
|
|
|
|
System.out.println(strings);
|
|
|
|
|
for (DmYdjhLj _lj : values){
|
|
|
|
|
for (String _str:strings){
|
|
|
|
|
if (_str.contains(_lj.getTlth())&&_str.contains(_lj.getLjbh())){
|
|
|
|
|
String[] _strArr=_str.split(" ");
|
|
|
|
|
if (_strArr.length>8){
|
|
|
|
|
_lj.setTz(_strArr[7]);
|
|
|
|
|
_lj.setLx(_strArr[8]);
|
|
|
|
|
}
|
|
|
|
|
if (_strArr.length>9){
|
|
|
|
|
_lj.setXj(_strArr[9]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|