Commit a308a84674f265e28cf105fdc1552e48a83b9689

Authored by 潘钊
1 parent c8dba8b9

班次执行率不统计进出场

src/main/java/com/bsth/service/realcontrol/impl/RealChartsServiceImpl.java
... ... @@ -259,7 +259,7 @@ public class RealChartsServiceImpl implements RealChartsService {
259 259 }
260 260 inStr = " (" + inStr.substring(1) + ")";
261 261  
262   - String sql = "SELECT ID,DFSJ,FCSJ_ACTUAL,ZDSJ,ZDSJ_ACTUAL,`STATUS`,XL_BM FROM bsth_c_s_sp_info_real WHERE schedule_date_str=:date AND concat_ws('', real_exec_date, dfsj)<:cdate and xl_bm in "+inStr+" ORDER BY dfsj";
  262 + String sql = "SELECT ID,DFSJ,FCSJ_ACTUAL,ZDSJ,ZDSJ_ACTUAL,`STATUS`,XL_BM FROM bsth_c_s_sp_info_real WHERE bc_type!='in' and bc_type!='out' and schedule_date_str=:date AND concat_ws('', real_exec_date, dfsj)<:cdate and xl_bm in "+inStr+" ORDER BY dfsj";
263 263  
264 264 MapSqlParameterSource parameters = new MapSqlParameterSource();
265 265 parameters.addValue("date", date);
... ...