解决方法:以项目基本档案和项目管理档案的自定义项19(def19)为例:
select pk_billtemplet from pub_billtemplet where bill_templetcaption like '项目基本档案';
select pk_billtemplet from pub_billtemplet where bill_templetcaption like '项目管理档案';
select resid,resid_tabname,defaultshowname from pub_billtemplet_b where pk_billtemplet = '0001ZZ10000000033O33' and itemkey = 'def19' for update ;
select resid,resid_tabname,defaultshowname from pub_billtemplet_b where pk_billtemplet = '0001ZZ1000000003C7QO' and itemkey = 'def19' for update ;
把第三,四句查询出的resid,resid_tabname这两个字段值清空,把defaultshowname 这个字段修改为你想要的名字就好