【文章內(nèi)容簡介】
_clsno:檢查類別編碼為空select * from tempitem where item_clsno=39。39。 or item_no is null處理類別編碼為空修改為其它類別‘LB’update tempitem set item_clsno=39。LB39。 where where item_clsno=39。39。 or item_no is null檢查類別編號是否存在select distinct(item_clsno) from tempitem where item_clsno not in(select item_clsno from t_bd_item_cls where item_flag=39。039。)main_supcust檢查供應(yīng)商編號是否為空select * from tempitem where main_supcust=39。39。 or main_supcust is null處理供應(yīng)商編號為空的商品,修改成自行添加的一個(gè)供應(yīng)商tempsuptempsup是我們自行增加的用來處理臨時(shí)的無供應(yīng)商商品update tempitem set main_supcust=39。tempsup39。 where main_supcust=39。39。 or main_supcst is null檢查供應(yīng)商編號是否存在select distinct(main_supcust) from tempitem where main_su