Commit 8c3c0a17 authored by zhoumaotao's avatar zhoumaotao

代码调整

parent 016777c2
......@@ -138,9 +138,9 @@ public class GpfkcxDaoImpl extends BaseDaoImpl implements GpfkcxDao {
sqlMap.append(" GPFK_LFSL,WOGYLX_GXBZ ");
sqlMap.append("from GPFK ");
sqlMap.append(" left join WOGYLX on WOGYLX_ID = GPFK_WOGYLX ");
sqlMap.append("where (GPFK_FKSJ >= :pStart and GPFK_FKSJ < :pEnd) and WOGYLX_GXBZ = :pGxbz ");//[a,b)
sqlMap.setParamValue("ksrq", DateUtils.beginOfDay(date));
sqlMap.setParamValue("jsrq", DateUtils.endOfDay(date));
sqlMap.append("where (GPFK_FKSJ >= :pKsrq and GPFK_FKSJ < :pJsrq) and WOGYLX_GXBZ = :pGxbz ");//[a,b)
sqlMap.setParamValue("pKsrq", DateUtils.beginOfDay(date));
sqlMap.setParamValue("pJsrq", DateUtils.endOfDay(date));
sqlMap.setParamValue("pGxbz", GxlxGxbzEnum.FIRST.getId());
return sqlMap.query(Gpfk.class);
}
......
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