Commit acaa03bc authored by 吴春's avatar 吴春

提交基础信息

parent d08a17c1
using Mall.Common.AOP;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mall.Model.Entity.BaseSetUp
{
/// <summary>
/// 小程序基础设置
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_MallBase
{
/// <summary>
/// 编号
/// </summary>
public int ID { get; set; }
/// <summary>
/// 商城名称
/// </summary>
public string MallName { get; set; }
/// <summary>
/// 联系号码
/// </summary>
public string ContactNumber { get; set; }
/// <summary>
/// 外链客服链接
/// </summary>
public string OuterServiceLink { get; set; }
/// <summary>
/// 详细地址
/// </summary>
public string Address { get; set; }
/// <summary>
///经纬度
/// </summary>
public string LongAndLat { get; set; }
/// <summary>
/// 跳转小程序-小程序appId
/// </summary>
public string MinAppId { get; set; }
/// <summary>
/// 跳转小程序-小程序路径
/// </summary>
public string MinUrl { get; set; }
/// <summary>
/// 未支付订单超时时间 (分钟)
/// </summary>
public int CancelTime { get; set; }
/// <summary>
/// 自动确认收货时间(天)
/// </summary>
public int AutoReceiving { get; set; }
/// <summary>
/// 售后时间(天)
/// </summary>
public int AfterTime { get; set; }
/// <summary>
/// 支付方式
/// </summary>
public string PayWay { get; set; }
/// <summary>
/// 发货方式
/// </summary>
public string DeliverWay { get; set; }
/// <summary>
/// 余额功能
/// </summary>
public int BalanceFun { get; set; }
/// <summary>
/// 商品面议联系方式
/// </summary>
public string ConsultWay { get; set; }
/// <summary>
/// 小程序开关
/// </summary>
public int MinSwitch { get; set; }
/// <summary>
/// 小程序背影颜色
/// </summary>
public string MinBackColor { get; set; }
/// <summary>
/// 小程序背影透明度
/// </summary>
public int MinBackClarity { get; set; }
/// <summary>
/// 小程序背景框圆角
/// </summary>
public int MinBackCircularBead { get; set; }
/// <summary>
/// 小程序提示文本内容
/// </summary>
public string MinTips { get; set; }
/// <summary>
/// 小程序文本颜色
/// </summary>
public string MinTipsColor { get; set; }
/// <summary>
/// 小程序图标颜色
/// </summary>
public int MinIcoColor { get; set; }
/// <summary>
/// 转发标题
/// </summary>
public string MinShareTitle { get; set; }
/// <summary>
///转发图标
/// </summary>
public string MinShareIco { get; set; }
/// <summary>
/// 首页购买记录框-开关
/// </summary>
public int BuySwitch { get; set; }
/// <summary>
/// 轮播订单数
/// </summary>
public int CarouselOrder { get; set; }
/// <summary>
/// 购物车
/// </summary>
public int ListShopCar { get; set; }
/// <summary>
/// 已售量
/// </summary>
public int ListBuyCount { get; set; }
/// <summary>
/// 商品名称
/// </summary>
public int ListName { get; set; }
/// <summary>
///商城评论
/// </summary>
public int DetailsComment { get; set; }
/// <summary>
///划线价
/// </summary>
public int DetailsLineationPrice { get; set; }
/// <summary>
/// 普通用户会员价
/// </summary>
public int DetailsMemberPrice { get; set; }
/// <summary>
/// 会员用户会员价
/// </summary>
public int DetailsVipMemberPrice { get; set; }
/// <summary>
/// 快递
/// </summary>
public int DeatilsExpress { get; set; }
/// <summary>
/// 已售量
/// </summary>
public int DetailsBuyNum { get; set; }
/// <summary>
/// 分销价
/// </summary>
public int DetailsSharePrice { get; set; }
/// <summary>
/// 商品视频特色样式开关
/// </summary>
public int DetailsVideo { get; set; }
/// <summary>
/// 非分销商分销中心显示
/// </summary>
public int OtherNoShare { get; set; }
/// <summary>
/// 首页授权手机号
/// </summary>
public int OtherIndexMoblie { get; set; }
/// <summary>
/// 手动授权手机号
/// </summary>
public int OtherManualMobile { get; set; }
/// <summary>
/// 关联公众号组件
/// </summary>
public int OtherTencent { get; set; }
/// <summary>
/// 定位地址是否必填
/// </summary>
public int OtherMemerLevel { get; set; }
/// <summary>
/// 定位地址是否必填
/// </summary>
public int OtherMustAddress { get; set; }
/// <summary>
/// 申请分销商提示弹窗
/// </summary>
public int OtherApplyShare { get; set; }
/// <summary>
/// 启用悬浮按钮
/// </summary>
public int SuspendBtn { get; set; }
/// <summary>
/// 启用回到顶部悬浮按钮
/// </summary>
public int BackTopBtn { get; set; }
/// <summary>
/// 启用购物车悬浮按钮
/// </summary>
public int CarSuspendBtn { get; set; }
/// <summary>
/// 售罄图标显示开关
/// </summary>
public int SellOutIcoSwitch { get; set; }
/// <summary>
/// 是否使用默认图标
/// </summary>
public int SellOutDefaultIco { get; set; }
/// <summary>
/// 商品图正常尺寸
/// </summary>
public string GoodsNormalPic { get; set; }
/// <summary>
/// 商品图4:3尺寸
/// </summary>
public string GoodsZoomPic { get; set; }
/// <summary>
/// 商户号
/// </summary>
public int TenantId { get; set; }
/// <summary>
/// 有效期
/// </summary>
public DateTime? Indate { get; set; }
}
}
using Mall.Common.AOP;
using Mall.Model.Entity.BaseSetUp;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mall.Model.Extend.BaseSetUp
{
/// <summary>
/// 小程序基础设置扩展表
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_MallBase_Extend : RB_MallBase
{
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>
using Mall.Model.Entity.BaseSetUp;
using Mall.Model.Extend.BaseSetUp;
using Mall.Repository.BaseSetUp;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mall.Module.BaseSetUp
{
public class MallBaseModule
{
private RB_MallBaseRepository mallBaseRepository = new RB_MallBaseRepository();
/// <summary>
/// 获取小程序列表
/// </summary>
/// <param name="pageIndex">页码</param>
/// <param name="pageSize">每页显示条数</param>
/// <param name="rowCount">总条数</param>
/// <param name="query">查询条件</param>
/// <returns></returns>
public List<RB_MallBase_Extend> GetPageListRepository(int pageIndex, int pageSize, out long rowCount, RB_MallBase_Extend query)
{
return mallBaseRepository.GetPageListRepository(pageIndex, pageSize, out rowCount, query);
}
/// <summary>
/// 根据编号获取实体
/// </summary>
/// <param name="ID"></param>
/// <returns></returns>
public RB_MallBase GetMallBaseEntity(int ID)
{
return mallBaseRepository.GetEntity(ID);
}
/// <summary>
/// 新增/修改基础信息
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
public bool AddOrUpdate(RB_MallBase model)
{
if (model.ID == 0)
{
return mallBaseRepository.Insert(model) > 0;
}
else
{
return mallBaseRepository.Update(model);
}
}
}
}
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Mall.Module.BaseSetUp")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Mall.Module.BaseSetUp")]
[assembly: System.Reflection.AssemblyTitleAttribute("Mall.Module.BaseSetUp")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。
{
"format": 1,
"restore": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Module.BaseSetUp\\Mall.Module.BaseSetUp.csproj": {}
},
"projects": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj",
"projectName": "Mall.Common",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.0": {
"dependencies": {
"Microsoft.AspNetCore.Http": {
"target": "Package",
"version": "[2.2.2, )"
},
"Microsoft.Extensions.Configuration": {
"target": "Package",
"version": "[3.0.1, )"
},
"Microsoft.Extensions.Configuration.Json": {
"target": "Package",
"version": "[3.0.1, )"
},
"NPOI": {
"target": "Package",
"version": "[2.4.1, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.3, )"
},
"StackExchange.Redis": {
"target": "Package",
"version": "[2.0.601, )"
},
"System.Configuration.ConfigurationManager": {
"target": "Package",
"version": "[4.6.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.0.1, 3.0.1]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[3.0.0, 3.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[3.0.0, 3.0.0]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj",
"projectName": "Mall.DataAccess",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.0": {
"dependencies": {
"Microsoft.Extensions.Configuration": {
"target": "Package",
"version": "[3.0.1, )"
},
"Microsoft.Extensions.Configuration.Json": {
"target": "Package",
"version": "[3.0.1, )"
},
"MySql.Data": {
"target": "Package",
"version": "[8.0.19, )"
},
"System.Data.OleDb": {
"target": "Package",
"version": "[4.7.0, )"
},
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.7.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.0.1, 3.0.1]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[3.0.0, 3.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[3.0.0, 3.0.0]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\Mall.DataHelper.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\Mall.DataHelper.csproj",
"projectName": "Mall.DataHelper",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\Mall.DataHelper.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.0": {
"projectReferences": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.0": {
"dependencies": {
"Autofac": {
"target": "Package",
"version": "[4.9.4, )"
},
"Microsoft.AspNetCore.Http": {
"target": "Package",
"version": "[2.2.2, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.0.1, 3.0.1]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[3.0.0, 3.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[3.0.0, 3.0.0]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj",
"projectName": "Mall.Model",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.0": {
"projectReferences": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.0": {
"dependencies": {
"MongoDB.Bson": {
"target": "Package",
"version": "[2.10.3, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.0.1, 3.0.1]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[3.0.0, 3.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[3.0.0, 3.0.0]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Module.BaseSetUp\\Mall.Module.BaseSetUp.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Module.BaseSetUp\\Mall.Module.BaseSetUp.csproj",
"projectName": "Mall.Module.BaseSetUp",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Module.BaseSetUp\\Mall.Module.BaseSetUp.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Module.BaseSetUp\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\Mall.Repository.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\Mall.Repository.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\Mall.Repository.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\Mall.Repository.csproj",
"projectName": "Mall.Repository",
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\Mall.Repository.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Repository\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://192.168.2.214:82/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.0": {
"projectReferences": {
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Common\\Mall.Common.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataAccess\\Mall.DataAccess.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\Mall.DataHelper.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.DataHelper\\Mall.DataHelper.csproj"
},
"D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj": {
"projectPath": "D:\\project\\GitProject\\ShoppingMall\\Mall\\Mall.Model\\Mall.Model.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.0": {
"dependencies": {
"Microsoft.AspNetCore": {
"target": "Package",
"version": "[2.2.0, )"
},
"Microsoft.Extensions.Configuration": {
"target": "Package",
"version": "[3.0.1, )"
},
"MySql.Data": {
"target": "Package",
"version": "[8.0.19, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.0.1, 3.0.1]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[3.0.0, 3.0.0]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[3.0.0, 3.0.0]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.5.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
using Mall.Model.Entity.BaseSetUp;
using Mall.Model.Extend.BaseSetUp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Mall.Repository.BaseSetUp
{
public class RB_MallBaseRepository : RepositoryBase<RB_MallBase>
{
/// <summary>
/// 获取小程序列表
/// </summary>
/// <param name="pageIndex">页码</param>
/// <param name="pageSize">每页显示条数</param>
/// <param name="rowCount">总条数</param>
/// <param name="query">查询条件</param>
/// <returns></returns>
public List<RB_MallBase_Extend> GetPageListRepository(int pageIndex, int pageSize, out long rowCount, RB_MallBase_Extend query)
{
StringBuilder builder = new StringBuilder();
builder.Append(" SELECT * FROM RB_MallBase WHERE 1=1 ");
if (query != null)
{
if (query.TenantId > 0)
{
builder.Append($" AND TenantId={query.TenantId}");
}
}
return GetPage<RB_MallBase_Extend>(pageIndex, pageSize, out rowCount, builder.ToString()).ToList();
}
}
}
...@@ -31,6 +31,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Repository", "Mall.Rep ...@@ -31,6 +31,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Repository", "Mall.Rep
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.User", "Mall.Module.User\Mall.Module.User.csproj", "{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.User", "Mall.Module.User\Mall.Module.User.csproj", "{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mall.Module.BaseSetUp", "Mall.Module.BaseSetUp\Mall.Module.BaseSetUp.csproj", "{9C400D7F-2BE2-40E7-B179-498097AA00AB}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
...@@ -77,6 +79,10 @@ Global ...@@ -77,6 +79,10 @@ Global
{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU {E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU {E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Release|Any CPU.Build.0 = Release|Any CPU {E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}.Release|Any CPU.Build.0 = Release|Any CPU
{9C400D7F-2BE2-40E7-B179-498097AA00AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C400D7F-2BE2-40E7-B179-498097AA00AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C400D7F-2BE2-40E7-B179-498097AA00AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C400D7F-2BE2-40E7-B179-498097AA00AB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
...@@ -91,6 +97,7 @@ Global ...@@ -91,6 +97,7 @@ Global
{6FF822BD-BE47-483A-B29B-7F8A57CAF272} = {E239A6CD-DA5B-4E7A-B997-8D17C8E18EB6} {6FF822BD-BE47-483A-B29B-7F8A57CAF272} = {E239A6CD-DA5B-4E7A-B997-8D17C8E18EB6}
{46E2983C-2CAF-4850-A6FC-804A7C425F76} = {E239A6CD-DA5B-4E7A-B997-8D17C8E18EB6} {46E2983C-2CAF-4850-A6FC-804A7C425F76} = {E239A6CD-DA5B-4E7A-B997-8D17C8E18EB6}
{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F} = {034DEA5B-083C-46EC-9D3F-C8273C59C218} {E56423C0-5AC2-48D8-88BE-5435EF6ADB3F} = {034DEA5B-083C-46EC-9D3F-C8273C59C218}
{9C400D7F-2BE2-40E7-B179-498097AA00AB} = {034DEA5B-083C-46EC-9D3F-C8273C59C218}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {450F460D-A6AE-4FE3-948A-34E5FB8DBD7C} SolutionGuid = {450F460D-A6AE-4FE3-948A-34E5FB8DBD7C}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment