fix(qc):修正SQL查询条件拼接错误- 修复了SyncQcQmsRule类中获取人员名称时的SQL语法错误
This commit is contained in:
parent
017bc22632
commit
0a6c25f799
|
|
@ -156,7 +156,7 @@ public class SyncQcQmsRule implements IRule<ReportVO> {
|
||||||
String name = "";
|
String name = "";
|
||||||
if (pkPupsndoc != null && !pkPupsndoc.isEmpty() && !"~".equals(pkPupsndoc)) {
|
if (pkPupsndoc != null && !pkPupsndoc.isEmpty() && !"~".equals(pkPupsndoc)) {
|
||||||
name = MyHelper.getStrValByCondition(PsndocVO.getDefaultTableName(), PsndocVO.NAME,
|
name = MyHelper.getStrValByCondition(PsndocVO.getDefaultTableName(), PsndocVO.NAME,
|
||||||
PsndocVO.PK_PSNDOC + "'" + pkPupsndoc + "'");
|
PsndocVO.PK_PSNDOC + " = '" + pkPupsndoc + "'");
|
||||||
}
|
}
|
||||||
if (bvo != null && bvo.length > 0) {
|
if (bvo != null && bvo.length > 0) {
|
||||||
StringBuilder cghthBuilder = new StringBuilder();
|
StringBuilder cghthBuilder = new StringBuilder();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue