//增加旗舰店信息 public int InsertFlagShipStore(SWfsBrandFlagShipStoreSave obj) { if (DapperUtil.Query <int>("ComBeziWfs_SWfsBrandSpecialityStore_IsExistFlagBrandNo", new { BrandNo = obj.BrandNo }).FirstOrDefault() > 0) { return(1); } return(DapperUtil.Insert <SWfsBrandFlagShipStoreSave>(obj, true)); }
//修改旗舰店 public bool UpdateFlagShipStore(SWfsBrandFlagShipStoreSave obj) { return(DapperUtil.Update <SWfsBrandFlagShipStoreSave>(obj)); }