select * from dpt where sys in (select id from sys_int where typ=1 and flg=@id) and del=0 and typ=2
由于在注册的时候,存入的sys有下拉选中的物料决定,本来只有一种物料的时候,会默认为之前页面传入的flg
现在就是要匹配到sys_int表里面
select * from dpt where sys in (select id from sys_int where typ=1 and flg=@id) and del=0 and typ=2
由于在注册的时候,存入的sys有下拉选中的物料决定,本来只有一种物料的时候,会默认为之前页面传入的flg
现在就是要匹配到sys_int表里面