Commit 9823ea7f authored by yff's avatar yff

修改BUG

parent cfdfe6ec
...@@ -354,7 +354,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao { ...@@ -354,7 +354,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" WO_GBYY, WO_BOMID, WO_GYLXID, WO_PCYXJ, WO_LYDJID, "); sqlMap.append(" WO_GBYY, WO_BOMID, WO_GYLXID, WO_PCYXJ, WO_LYDJID, ");
sqlMap.append(" WO_WGSL, WO_SJKGRQ, WO_SJWGRQ, WO_SNNUM, WO_SJSL, "); sqlMap.append(" WO_WGSL, WO_SJKGRQ, WO_SJWGRQ, WO_SNNUM, WO_SJSL, ");
sqlMap.append(" WO_HGSL, WO_BZ, BM_CODE, BM_NAME, GC_CODE, GC_NAME,"); sqlMap.append(" WO_HGSL, WO_BZ, BM_CODE, BM_NAME, GC_CODE, GC_NAME,");
sqlMap.append(" WLXX_CODE, WLXX_NAME, WOSN_CODE,BZGX_NAME, GPFK_FKR, "); sqlMap.append(" WLXX_CODE, WLXX_NAME, WLXX_GG,WOSN_CODE,BZGX_NAME, GPFK_FKR, ");
sqlMap.append(" GPFK_CZSJ,GZZX_ID,GZZX_NAME, BX_ID, BX_NAME "); sqlMap.append(" GPFK_CZSJ,GZZX_ID,GZZX_NAME, BX_ID, BX_NAME ");
sqlMap.append(" from ( "); sqlMap.append(" from ( ");
sqlMap.append(" select WO_ID, WO_DJID, WO_GCID, WO_YWRQ, WO_WLID, WO_XQSL, "); sqlMap.append(" select WO_ID, WO_DJID, WO_GCID, WO_YWRQ, WO_WLID, WO_XQSL, ");
...@@ -362,7 +362,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao { ...@@ -362,7 +362,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" WO_ZT, WO_QRR, WO_QRSJ, WO_GBR, WO_GBSJ, WO_GBYY, "); sqlMap.append(" WO_ZT, WO_QRR, WO_QRSJ, WO_GBR, WO_GBSJ, WO_GBYY, ");
sqlMap.append(" WO_BOMID, WO_GYLXID, WO_PCYXJ, WO_LYDJID,WO_WGSL, "); sqlMap.append(" WO_BOMID, WO_GYLXID, WO_PCYXJ, WO_LYDJID,WO_WGSL, ");
sqlMap.append(" WO_SJKGRQ, WO_SJWGRQ, WO_SNNUM, WO_SJSL, WO_HGSL, "); sqlMap.append(" WO_SJKGRQ, WO_SJWGRQ, WO_SNNUM, WO_SJSL, WO_HGSL, ");
sqlMap.append(" WO_BZ,BM_CODE,BM_NAME, GC_CODE, GC_NAME, WLXX_CODE, WLXX_NAME,"); sqlMap.append(" WO_BZ,BM_CODE,BM_NAME, GC_CODE, GC_NAME, WLXX_CODE,WLXX_GG, WLXX_NAME,");
sqlMap.append(" WOSN_CODE,GX.GZZX_ID as GZZX_ID, GX.GZZX_NAME as GZZX_NAME, "); sqlMap.append(" WOSN_CODE,GX.GZZX_ID as GZZX_ID, GX.GZZX_NAME as GZZX_NAME, ");
sqlMap.append(" GX.BZGX_NAME as BZGX_NAME,GX.GPFK_FKR as GPFK_FKR, "); sqlMap.append(" GX.BZGX_NAME as BZGX_NAME,GX.GPFK_FKR as GPFK_FKR, ");
sqlMap.append(" GX.GPFK_FKSJ as GPFK_CZSJ, GX.BX_ID as BX_ID, GX.BX_NAME as BX_NAME "); sqlMap.append(" GX.GPFK_FKSJ as GPFK_CZSJ, GX.BX_ID as BX_ID, GX.BX_NAME as BX_NAME ");
...@@ -431,6 +431,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao { ...@@ -431,6 +431,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
} }
sqlMap.append(" order by GPFK_CZSJ desc "); sqlMap.append(" order by GPFK_CZSJ desc ");
sqlMap.setTranslate(false); sqlMap.setTranslate(false);
System.out.println(sqlMap.getSqlText());
sqlMap.query(WosngzVO.class); sqlMap.query(WosngzVO.class);
return sqlMap.getRecordSet(); return sqlMap.getRecordSet();
} }
......
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