示例#1
0
        //我的地址 新增
        public int GetCollectInfosAdd(Shouhuowhj m)
        {
            string sql = $"insert into Shouhuo values('{m.SName}','{m.SDiqu}','{m.SXiangxin}','{m.SEmile}','{m.SPhone}','{m.SGDPhone}')";

            return(bll.Command(sql, null));
        }
示例#2
0
        public int GetCollectInfosAdd(Shouhuowhj m)
        {
            var row = bll.GetCollectInfosAdd(m);

            return(row);
        }
示例#3
0
        //我的地址 修改
        public int GetCollectInfosUpdate(Shouhuowhj m)
        {
            string sql = $"update Shouhuo set SName='{m.SName}',SDiqu='{m.SDiqu}' , SXiangxin='{m.SXiangxin}' , SEmile='{m.SEmile}' , SPhone='{m.SPhone}',SGDPhone='{m.SGDPhone}'  where SId='{m.SId}'";

            return(bll.Command(sql, null));
        }