Scenario: When the grouping foreground of the material table is different from the background or when the foreground deletes the group and prompts for detailed data;
1. Query the fid corresponding to the group;
select * from T_BD_MATERIALGROUP_L where fname like '%000%'
2. Find the corresponding material fnumber;
select a.fnumber from T_BD_MATERIAL a
left join (select fid,fname From T_BD_MATERIALGROUP_L ) t4 on a.FMATERIALGROUP=t4.fid
where t4.fname like '%000%' and FMATERIALGROUP=16416826
3. Update;
update a set a.FMATERIALGROUP=12258320 from T_BD_MATERIAL a
left join (select fid,fname From T_BD_MATERIALGROUP_L ) t4 on a.FMATERIALGROUP=t4.fid
where t4.fname like '%000%' and FMATERIALGROUP=16416826