|
@@ -3681,7 +3681,7 @@ public class TaskController extends BladeController {
|
|
|
rawDataMap.put("D",rs.getData());
|
|
|
rawListMap.put(rs.getInitTableName(),rawDataMap);
|
|
|
/*动态隐藏行*/
|
|
|
- if (rs.getInitTableName().equals("m_20240325154016_1772166597482381312")||rs.getInitTableName().equals("m_20240710170847_1810964374177710080")) {
|
|
|
+ if ("m_20240325154016_1772166597482381312".equals(rs.getInitTableName())|| "m_20240710170847_1810964374177710080".equals(rs.getInitTableName())) {
|
|
|
List<Map.Entry<String,Object>> entries=rs.getData().get(0).entrySet().stream().filter(e->Integer.parseInt(e.getKey().split("_")[1])==1).sorted(Comparator.comparingInt(e->Integer.parseInt(e.getKey().split("_")[0]))).collect(Collectors.toList());
|
|
|
List<String> list =entries.stream().map(e->e.getValue().toString()).collect(Collectors.toList());
|
|
|
int index= list.indexOf("小计");
|