车间sql:
select id,name from m_l_location where category1='Workshop'
产线sql:
select id,name from m_l_location where category1='Line'
${if(len(车间)==0,""," and parent_id in ('"+车间+"')")}
点位sql:
select id,name from m_l_location where category1='TP'
${if(len(产线)==0,""," and parent_id in ('"+产线+"')")}