Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
acaa03bc
Commit
acaa03bc
authored
Apr 21, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交基础信息
parent
d08a17c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
9655 additions
and
0 deletions
+9655
-0
RB_MallBase.cs
Mall/Mall.Model/Entity/BaseSetUp/RB_MallBase.cs
+269
-0
RB_MallBase_Extend.cs
Mall/Mall.Model/Extend/BaseSetUp/RB_MallBase_Extend.cs
+18
-0
Mall.Module.BaseSetUp.csproj
Mall/Mall.Module.BaseSetUp/Mall.Module.BaseSetUp.csproj
+7
-0
MallBaseModule.cs
Mall/Mall.Module.BaseSetUp/MallBaseModule.cs
+57
-0
Mall.Module.BaseSetUp.AssemblyInfo.cs
...Debug/netcoreapp3.1/Mall.Module.BaseSetUp.AssemblyInfo.cs
+23
-0
Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
...eSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
+542
-0
Mall.Module.BaseSetUp.csproj.nuget.g.props
....BaseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.g.props
+15
-0
Mall.Module.BaseSetUp.csproj.nuget.g.targets
...aseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.g.targets
+6
-0
project.assets.json
Mall/Mall.Module.BaseSetUp/obj/project.assets.json
+8677
-0
RB_MallBaseRepository.cs
Mall/Mall.Repository/BaseSetUp/RB_MallBaseRepository.cs
+34
-0
Mall.sln
Mall/Mall.sln
+7
-0
No files found.
Mall/Mall.Model/Entity/BaseSetUp/RB_MallBase.cs
0 → 100644
View file @
acaa03bc
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
;
}
}
}
Mall/Mall.Model/Extend/BaseSetUp/RB_MallBase_Extend.cs
0 → 100644
View file @
acaa03bc
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
{
}
}
Mall/Mall.Module.BaseSetUp/Mall.Module.BaseSetUp.csproj
0 → 100644
View file @
acaa03bc
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>
Mall/Mall.Module.BaseSetUp/MallBaseModule.cs
0 → 100644
View file @
acaa03bc
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
);
}
}
}
}
Mall/Mall.Module.BaseSetUp/obj/Debug/netcoreapp3.1/Mall.Module.BaseSetUp.AssemblyInfo.cs
0 → 100644
View file @
acaa03bc
//------------------------------------------------------------------------------
// <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 类生成。
Mall/Mall.Module.BaseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.dgspec.json
0 → 100644
View file @
acaa03bc
This diff is collapsed.
Click to expand it.
Mall/Mall.Module.BaseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.g.props
0 → 100644
View file @
acaa03bc
<?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
Mall/Mall.Module.BaseSetUp/obj/Mall.Module.BaseSetUp.csproj.nuget.g.targets
0 → 100644
View file @
acaa03bc
<?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
Mall/Mall.Module.BaseSetUp/obj/project.assets.json
0 → 100644
View file @
acaa03bc
This diff is collapsed.
Click to expand it.
Mall/Mall.Repository/BaseSetUp/RB_MallBaseRepository.cs
0 → 100644
View file @
acaa03bc
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
();
}
}
}
Mall/Mall.sln
View file @
acaa03bc
...
...
@@ -31,6 +31,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Repository", "Mall.Rep
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mall.Module.User", "Mall.Module.User\Mall.Module.User.csproj", "{E56423C0-5AC2-48D8-88BE-5435EF6ADB3F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mall.Module.BaseSetUp", "Mall.Module.BaseSetUp\Mall.Module.BaseSetUp.csproj", "{9C400D7F-2BE2-40E7-B179-498097AA00AB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -77,6 +79,10 @@ Global
{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.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
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
@@ -91,6 +97,7 @@ Global
{6FF822BD-BE47-483A-B29B-7F8A57CAF272} = {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}
{9C400D7F-2BE2-40E7-B179-498097AA00AB} = {034DEA5B-083C-46EC-9D3F-C8273C59C218}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {450F460D-A6AE-4FE3-948A-34E5FB8DBD7C}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment