| | |
| | | |
| | | select kkk.*,rw.teams_groups_name as teams_groups_name2 from(select o.order_id, |
| | | o.customer_name, |
| | | o.customer_id, |
| | | o.project, |
| | | o.batch, |
| | | fol.remarks, |
| | |
| | | |
| | | |
| | | where |
| | | o.customer_name=#{customerName} and fol.remarks=#{remarks} and o.project=#{project} |
| | | o.customer_id=#{customerId} and fol.remarks=#{remarks} and o.project=#{project} |
| | | and (fol.remarks is not null and fol.remarks !="") and (fol.process_id !="" and fol.process_id is not null) |
| | | |
| | | group by fol.remarks,o.customer_name,o.project |
| | | ) as kkk |
| | | left join pp.reporting_work rw on rw.process_id=kkk.process_id and rw.this_process=kkk.previous_process |
| | | group by kkk.remarks,kkk.customer_name,kkk.project |
| | | group by kkk.remarks,kkk.customer_id,kkk.project |
| | | |
| | | </select> |
| | | |