1
This commit is contained in:
@@ -598,9 +598,16 @@ public class TencentDocServiceImpl implements ITencentDocService {
|
||||
continue;
|
||||
}
|
||||
String sid = props.getString("sheetId");
|
||||
if (sheetId.equals(sid) && props.containsKey("rowTotal")) {
|
||||
if (!sheetId.equals(sid)) {
|
||||
continue;
|
||||
}
|
||||
// rowTotal 可能为 rowTotal 或 row_total
|
||||
if (props.containsKey("rowTotal")) {
|
||||
return Math.max(0, props.getIntValue("rowTotal"));
|
||||
}
|
||||
if (props.containsKey("row_total")) {
|
||||
return Math.max(0, props.getIntValue("row_total"));
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user