/* 采购收货单据类型默认升级为标准采购收货单 */
UPDATE t_pur_receipt SET fbilltypeid = 1231155833275019264 WHERE fbilltypeid = 0;

/* 收货退货单据类型默认升级为标准收货退货单 */
UPDATE t_pur_receipt SET fbilltypeid = 1322517106889211904 WHERE (fbilltypeid = 1231155833275019264 AND fid IN (SELECT fid FROM t_pur_receipt_a WHERE fisreturn = '1'));



