Commit 7f2165ae authored by yff's avatar yff

计数

parent 967fe382
......@@ -1847,7 +1847,7 @@ public class GpfkDaoImpl extends BaseDaoImpl implements GpfkDao {
sqlMap.append(" select sum(gpfkjg_fksl) as GPFK_FKSL, sum(GPFKJG_BHGSL) as GPFK_BHGSL, sum(GPFKJG_HGSL) as GPFK_HGSL from gpfkjg ");
sqlMap.append(" left join bzgx on bzgx_id = gpfkjg_bzgxid ");
sqlMap.append(" where 1 = 1");
sqlMap.append(" and bzgx_gxlx ='ZP' ");
sqlMap.append(" and (bzgx_gxlx ='ZP' or bzgx_gxlx ='JG') ");
if (StringUtils.isNotEmpty(condition.getBxid())){
sqlMap.append(" and GPFKJG_FKBX = :pBXID ");
sqlMap.setParamValue("pBXID",condition.getBxid());
......
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