| | |
| | | |
| | | if (dispatcherUnitExcel.getName()!=null && dispatcherUnitExcel.getName()!=""){ |
| | | //仅中文 |
| | | String chinese = "^[\\u4E00-\\u9FA5\\uF900-\\uFA2D]+$"; |
| | | Pattern compile = Pattern.compile(chinese); |
| | | String name = compile.matcher(dispatcherUnitExcel.getName()).replaceAll(""); |
| | | dispatcherUnit.setName(name); |
| | | // String chinese = "^[\\u4E00-\\u9FA5\\uF900-\\uFA2D]+$"; |
| | | // Pattern compile = Pattern.compile(chinese); |
| | | // String name = compile.matcher(dispatcherUnitExcel.getName()).replaceAll(""); |
| | | dispatcherUnit.setName(dispatcherUnitExcel.getName()); |
| | | } |
| | | |
| | | if (dispatcherUnitExcel.getLinkman()!=null && dispatcherUnitExcel.getLinkman()!=""){ |