Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue
Conflicts:
ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
ruoyi-common/src/main/java/com/ruoyi/common/utils/html/EscapeUtil.java
| | |
| | | @Override
|
| | | public ServletInputStream getInputStream() throws IOException
|
| | | {
|
| | |
|
| | | final ByteArrayInputStream bais = new ByteArrayInputStream(body);
|
| | |
|
| | | return new ServletInputStream()
|
| | | {
|
| | |
|
| | | @Override
|
| | | public int read() throws IOException
|
| | | {
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public int available() throws IOException
|
| | | {
|
| | | return body.length;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public boolean isFinished()
|
| | | {
|
| | | return false;
|
| | |
| | | {
|
| | | // 从第2行开始取数据,默认第一行是表头.
|
| | | Row row = sheet.getRow(i);
|
| | | if(row == null)
|
| | | {
|
| | | continue;
|
| | | }
|
| | | T entity = null;
|
| | | for (Map.Entry<Integer, Field> entry : fieldsMap.entrySet())
|
| | | {
|