fix(qc):修正SQL查询条件拼接错误- 修复了SyncQcQmsRule类中获取人员名称时的SQL语法错误

This commit is contained in:
mzr 2025-10-08 11:45:22 +08:00
parent 017bc22632
commit 0a6c25f799
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public class SyncQcQmsRule implements IRule<ReportVO> {
String name = "";
if (pkPupsndoc != null && !pkPupsndoc.isEmpty() && !"~".equals(pkPupsndoc)) {
name = MyHelper.getStrValByCondition(PsndocVO.getDefaultTableName(), PsndocVO.NAME,
PsndocVO.PK_PSNDOC + "'" + pkPupsndoc + "'");
PsndocVO.PK_PSNDOC + " = '" + pkPupsndoc + "'");
}
if (bvo != null && bvo.length > 0) {
StringBuilder cghthBuilder = new StringBuilder();