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
b7f28ab9
Commit
b7f28ab9
authored
Sep 01, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
司导基础
parent
ae764314
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
142 additions
and
0 deletions
+142
-0
RB_GuideCar_Base.cs
Mall.Model/Entity/GuideCar/RB_GuideCar_Base.cs
+91
-0
RB_GuideCar_Base_Extend.cs
Mall.Model/Extend/GuideCar/RB_GuideCar_Base_Extend.cs
+15
-0
RB_GuideCar_BaseRepository.cs
Mall.Repository/GuideCar/RB_GuideCar_BaseRepository.cs
+36
-0
No files found.
Mall.Model/Entity/GuideCar/RB_GuideCar_Base.cs
0 → 100644
View file @
b7f28ab9
using
VT.FW.DB
;
using
Mall.Common.Enum.MallBase
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Mall.Model.Entity.GuideCar
{
/// <summary>
/// 司导专区基础
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_GuideCar_Base
{
/// <summary>
/// id
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 详情页面链接
/// </summary>
public
string
PagePath
{
get
;
set
;
}
/// <summary>
/// 是否需要确认 1是 2否
/// </summary>
public
int
IsConfirm
{
get
;
set
;
}
/// <summary>
/// 提前预定天数
/// </summary>
public
int
AdvanceDay
{
get
;
set
;
}
/// <summary>
/// 取消提前小时
/// </summary>
public
int
CancelHour
{
get
;
set
;
}
/// <summary>
/// 订单状态变更
/// </summary>
public
string
OrderStateJson
{
get
;
set
;
}
/// <summary>
/// 保险名称
/// </summary>
public
string
InsuranceName
{
get
;
set
;
}
/// <summary>
/// 成本价格
/// </summary>
public
decimal
CostPrice
{
get
;
set
;
}
/// <summary>
/// 销售价格
/// </summary>
public
decimal
SalePrice
{
get
;
set
;
}
/// <summary>
/// 保险描述(富文本)
/// </summary>
public
string
InsuranceDescription
{
get
;
set
;
}
/// <summary>
/// 商户id
/// </summary>
public
int
TenantId
{
get
;
set
;
}
/// <summary>
/// 小程序id
/// </summary>
public
int
MallBaseId
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateDate
{
get
;
set
;
}
/// <summary>
/// 修改人(员工id)
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 修改时间
/// </summary>
public
DateTime
UpdateDate
{
get
;
set
;
}
}
}
Mall.Model/Extend/GuideCar/RB_GuideCar_Base_Extend.cs
0 → 100644
View file @
b7f28ab9
using
Mall.Model.Entity.GuideCar
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Mall.Model.Extend.GuideCar
{
/// <summary>
/// 司导专区基础扩展表
/// </summary>
public
class
RB_GuideCar_Base_Extend
:
RB_GuideCar_Base
{
}
}
Mall.Repository/GuideCar/RB_GuideCar_BaseRepository.cs
0 → 100644
View file @
b7f28ab9
using
Mall.Model.Entity.GuideCar
;
using
Mall.Model.Extend.GuideCar
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
Mall.Repository.GuideCar
{
public
class
RB_GuideCar_BaseRepository
:
BaseRepository
<
RB_GuideCar_Base
>
{
/// <summary>
/// 获取列表
/// </summary>
/// <param name="dmodel">查询条件</param>
/// <returns></returns>
public
List
<
RB_GuideCar_Base_Extend
>
GetLogisticsRulesList
(
RB_GuideCar_Base_Extend
dmodel
)
{
string
where
=
$" 1=1 "
;
if
(
dmodel
.
TenantId
>
0
)
{
where
+=
$@" and
{
nameof
(
RB_GuideCar_Base
.
TenantId
)}
=
{
dmodel
.
TenantId
}
"
;
}
if
(
dmodel
.
MallBaseId
>
0
)
{
where
+=
$@" and
{
nameof
(
RB_GuideCar_Base
.
MallBaseId
)}
=
{
dmodel
.
MallBaseId
}
"
;
}
string
sql
=
$@"
select * from RB_GuideCar_Base where
{
where
}
"
;
return
Get
<
RB_GuideCar_Base_Extend
>(
sql
).
ToList
();
}
}
}
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