fix: 优化逻辑
This commit is contained in:
parent
2b471d58d7
commit
de04f0ec49
@ -173,6 +173,7 @@ public class EnvWqDataServiceImpl implements EnvWqDataService {
|
|||||||
.append(groupColumn).append(" AS ").append(groupField.toUpperCase()).append(", ")
|
.append(groupColumn).append(" AS ").append(groupField.toUpperCase()).append(", ")
|
||||||
.append("COUNT(*) AS COUNT_").append(groupField.toUpperCase()).append(" ")
|
.append("COUNT(*) AS COUNT_").append(groupField.toUpperCase()).append(" ")
|
||||||
.append("FROM SD_WQ_B_H t ")
|
.append("FROM SD_WQ_B_H t ")
|
||||||
|
.append("LEFT JOIN SD_ENGINFO_B_H eng ON eng.STCD = t.RSTCD ")
|
||||||
.append("WHERE NVL(t.IS_DELETED, 0) = 0 ");
|
.append("WHERE NVL(t.IS_DELETED, 0) = 0 ");
|
||||||
|
|
||||||
Map<String, Object> paramMap = new HashMap<>();
|
Map<String, Object> paramMap = new HashMap<>();
|
||||||
@ -1487,6 +1488,7 @@ public class EnvWqDataServiceImpl implements EnvWqDataService {
|
|||||||
case "dtinType" -> "t.DTIN_TYPE";
|
case "dtinType" -> "t.DTIN_TYPE";
|
||||||
case "stcd" -> "t.STCD";
|
case "stcd" -> "t.STCD";
|
||||||
case "stnm" -> "t.STNM";
|
case "stnm" -> "t.STNM";
|
||||||
|
case "baseId" -> "eng.BASE_ID";
|
||||||
case "dtin" -> "t.DTIN";
|
case "dtin" -> "t.DTIN";
|
||||||
default -> null;
|
default -> null;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user