--更新引入模板和api的字段必录性，取消必录
IF EXISTS (SELECT 1 FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FID = 726733988437198848 AND FFIELDKEY='producttype')
UPDATE T_BAS_IMPORTTEMPLATEENTRY SET FMUSTINPUT='0' WHERE  FID = 726733988437198848 AND FFIELDKEY='producttype';

IF EXISTS (SELECT 1 FROM T_BAS_IMPORTTEMPLATEENTRY WHERE FID = 957181094879300608 AND FFIELDKEY='producttype')
UPDATE T_BAS_IMPORTTEMPLATEENTRY SET FMUSTINPUT='0' WHERE  FID = 957181094879300608 AND FFIELDKEY='producttype';

IF EXISTS (SELECT 1 FROM T_OPEN_APIBODYENTRY WHERE FID = 1499299649779939328 AND FOBJPROPNAME='billentry.producttype')
UPDATE T_OPEN_APIBODYENTRY SET FMUST='0' WHERE FID = 1499299649779939328 AND FOBJPROPNAME='billentry.producttype';





