Commit fc2ceb7d04c6ea5cfa019d1eabb9389408962297
1 parent
99f21966
mcy123
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/forms/impl/FormsServiceImpl.java
| @@ -49,7 +49,7 @@ public class FormsServiceImpl implements FormsService { | @@ -49,7 +49,7 @@ public class FormsServiceImpl implements FormsService { | ||
| 49 | public List<Waybillday> waybillday(Map<String, Object> map) { | 49 | public List<Waybillday> waybillday(Map<String, Object> map) { |
| 50 | List list1 = new ArrayList<>();// | 50 | List list1 = new ArrayList<>();// |
| 51 | String sql ="select x.schedule_date,x.j_gh,x.cl_zbh,z.JZL,z.YH,z.personnel_name " | 51 | String sql ="select x.schedule_date,x.j_gh,x.cl_zbh,z.JZL,z.YH,z.personnel_name " |
| 52 | - + "from bsth_c_s_sp_info_real x join " | 52 | + + "from bsth_c_s_sp_info_real x INNER join " |
| 53 | + "( select y.RQ,y.XLBM,y.NBBM,y.JSY,y.JZL,y.YH,c.personnel_name from" | 53 | + "( select y.RQ,y.XLBM,y.NBBM,y.JSY,y.JZL,y.YH,c.personnel_name from" |
| 54 | + " bsth_c_ylb y LEFT JOIN bsth_c_personnel c ON c.job_code=y.JSY " | 54 | + " bsth_c_ylb y LEFT JOIN bsth_c_personnel c ON c.job_code=y.JSY " |
| 55 | + "where to_days(y.RQ)=to_days('"+map.get("date").toString() + "') and y.XLBM= '"+ map.get("line").toString()+"' GROUP BY y.NBBM) " | 55 | + "where to_days(y.RQ)=to_days('"+map.get("date").toString() + "') and y.XLBM= '"+ map.get("line").toString()+"' GROUP BY y.NBBM) " |