Commit 8f8a95a1 authored by yff's avatar yff

修改BUG

parent ab90be4a
...@@ -1163,10 +1163,11 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao { ...@@ -1163,10 +1163,11 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" GYLX_GXBZ,GYLX_ATTACHCOUNT "); sqlMap.append(" GYLX_GXBZ,GYLX_ATTACHCOUNT ");
sqlMap.append("from GYLX "); sqlMap.append("from GYLX ");
sqlMap.append(" left join WOGYLX on GYLX_ID = WOGYLX_GYLXID "); sqlMap.append(" left join WOGYLX on GYLX_ID = WOGYLX_GYLXID ");
sqlMap.append(" left join WO on WO_ID = WOGYLX_WOID ");
sqlMap.append("where 1=1"); sqlMap.append("where 1=1");
if (StringUtils.isNotEmpty(woid)){ if (StringUtils.isNotEmpty(woid)){
sqlMap.append(" and " + SqlUtil.getWhereSql("WOGYLX_WOID", woid)); sqlMap.append(" and " + SqlUtil.getWhereSql("WO_DJID", woid));
sqlMap.setParamValue("WOGYLX_WOID", woid); sqlMap.setParamValue("WO_DJID", woid);
} }
if (StringUtils.isNotEmpty(bzlx)){ if (StringUtils.isNotEmpty(bzlx)){
sqlMap.append(" and " + SqlUtil.getWhereSql("WOGYLX_BZGXID", bzlx)); sqlMap.append(" and " + SqlUtil.getWhereSql("WOGYLX_BZGXID", bzlx));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment