mysql 函数 select SUBSTRING_INDEX(vPART_ID, '/', 1)
select * from lackgoodsapplybillbase a inner join lackgoodsapplybillinfo b on a.`vLACKGOODSAPPLY_ID`=b.`vLACKGOODSAPPLY_ID` where b.`vPART_ID` not in (select SUBSTRING_INDEX(vPART_ID, '/', 1) from materbaseinfo) order by a.dOPERATE_DATE DESC