Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
61697cef
Commit
61697cef
authored
Dec 15, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增实体类
parent
bf4aaa18
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
369 additions
and
6 deletions
+369
-6
RB_Student_BackClass.cs
Edu.Model/Entity/Course/RB_Student_BackClass.cs
+85
-0
RB_Student_BackRecord.cs
Edu.Model/Entity/Course/RB_Student_BackRecord.cs
+66
-0
RB_Student_BackRelevance.cs
Edu.Model/Entity/Course/RB_Student_BackRelevance.cs
+80
-0
RB_Student_BackClass_ViewModel.cs
Edu.Model/ViewModel/Course/RB_Student_BackClass_ViewModel.cs
+15
-0
RB_Student_BackRecord_ViewModel.cs
...Model/ViewModel/Course/RB_Student_BackRecord_ViewModel.cs
+15
-0
RB_Student_BackRelevance_ViewModel.cs
...el/ViewModel/Course/RB_Student_BackRelevance_ViewModel.cs
+14
-0
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+1
-5
RB_ClassRepository.cs
Edu.Repository/Course/RB_ClassRepository.cs
+1
-1
RB_Student_BackClassRepository.cs
Edu.Repository/Course/RB_Student_BackClassRepository.cs
+38
-0
RB_Student_BackRecordRepository.cs
Edu.Repository/Course/RB_Student_BackRecordRepository.cs
+27
-0
RB_Student_BackRelevanceRepository.cs
Edu.Repository/Course/RB_Student_BackRelevanceRepository.cs
+27
-0
No files found.
Edu.Model/Entity/Course/RB_Student_BackClass.cs
0 → 100644
View file @
61697cef
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
VT.FW.DB
;
namespace
Edu.Model.Entity.Course
{
/// <summary>
/// 学员退课单据实体类
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Student_BackClass
{
/// <summary>
/// 退课编号(主键)
/// </summary>
public
int
BackId
{
get
;
set
;
}
/// <summary>
/// BackNum
/// </summary>
public
string
BackNum
{
get
;
set
;
}
/// <summary>
/// 旅客编号
/// </summary>
public
int
GuestId
{
get
;
set
;
}
/// <summary>
/// 学生编号
/// </summary>
public
int
StudentId
{
get
;
set
;
}
/// <summary>
/// 校区编号
/// </summary>
public
int
SchoolId
{
get
;
set
;
}
/// <summary>
/// 班级编号
/// </summary>
public
int
ClassId
{
get
;
set
;
}
/// <summary>
/// 教师编号
/// </summary>
public
int
TeacherId
{
get
;
set
;
}
/// <summary>
/// 已上课时
/// </summary>
public
int
FinishHours
{
get
;
set
;
}
/// <summary>
/// 退款金额
/// </summary>
public
decimal
BackMoney
{
get
;
set
;
}
/// <summary>
/// 申请时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 申请人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 集团编号
/// </summary>
public
int
Group_Id
{
get
;
set
;
}
/// <summary>
/// 审核状态
/// </summary>
public
int
AuditStatus
{
get
;
set
;
}
/// <summary>
/// 抄送人(多个逗号分隔)
/// </summary>
public
string
RecipientIds
{
get
;
set
;
}
}
}
Edu.Model/Entity/Course/RB_Student_BackRecord.cs
0 → 100644
View file @
61697cef
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
VT.FW.DB
;
namespace
Edu.Model.Entity.Course
{
/// <summary>
/// 学员退课单据审核记录表
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Student_BackRecord
{
/// <summary>
/// 审核记录表主键编号
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 工作流id
/// </summary>
public
int
FlowId
{
get
;
set
;
}
/// <summary>
/// 审核id
/// </summary>
public
int
AuditId
{
get
;
set
;
}
/// <summary>
/// 1未审核 2审核通过 3 不通过 4 驳回 5他人已审核
/// </summary>
public
int
AuditStatus
{
get
;
set
;
}
/// <summary>
/// 描述
/// </summary>
public
string
Description
{
get
;
set
;
}
/// <summary>
/// 创建人
/// </summary>
public
int
CreateBy
{
get
;
set
;
}
/// <summary>
/// 创建时间
/// </summary>
public
DateTime
CreateTime
{
get
;
set
;
}
/// <summary>
/// 修改人
/// </summary>
public
int
UpdateBy
{
get
;
set
;
}
/// <summary>
/// 修改时间
/// </summary>
public
DateTime
UpdateTime
{
get
;
set
;
}
/// <summary>
/// 审批人
/// </summary>
public
int
AuditEmId
{
get
;
set
;
}
}
}
Edu.Model/Entity/Course/RB_Student_BackRelevance.cs
0 → 100644
View file @
61697cef
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
VT.FW.DB
;
namespace
Edu.Model.Entity.Course
{
/// <summary>
/// 退款单据审核人员信息实体类
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Student_BackRelevance
{
/// <summary>
/// 主键编号
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 审批条件id
/// </summary>
public
int
ConditionId
{
get
;
set
;
}
/// <summary>
/// 审核人类型 1主管(指定一级) 2 指定成员 3角色
/// </summary>
public
int
AuditType
{
get
;
set
;
}
/// <summary>
/// 1依次审批(本环节内审批人依次审批) 2 会签(须所有审批人同意)3或签(一名审批人同意或拒绝即可)
/// </summary>
public
int
AuditWay
{
get
;
set
;
}
/// <summary>
/// 存发起人或者角色 发起人1 表示直属主管 2表示再上一级 依次类推
/// </summary>
public
int
RoleOrInitiator
{
get
;
set
;
}
/// <summary>
/// 步骤(排序)
/// </summary>
public
int
Sort
{
get
;
set
;
}
/// <summary>
/// 审核备注
/// </summary>
public
string
AuditDescription
{
get
;
set
;
}
/// <summary>
/// 工作流id
/// </summary>
public
int
WorkFlowId
{
get
;
set
;
}
/// <summary>
/// 原审核id
/// </summary>
public
int
OriginalAuditId
{
get
;
set
;
}
/// <summary>
/// 1未审核 2审核通过 3 不通过 4 驳回
/// </summary>
public
int
Stauts
{
get
;
set
;
}
/// <summary>
/// 待审核人 1,2,3 以逗号分隔
/// </summary>
public
string
ToAuditId
{
get
;
set
;
}
/// <summary>
/// 已审核人 1,2,3 以逗号分割
/// </summary>
public
string
AuditedId
{
get
;
set
;
}
/// <summary>
/// 是否是特殊节点
/// </summary>
public
int
SpecialNode
{
get
;
set
;
}
}
}
\ No newline at end of file
Edu.Model/ViewModel/Course/RB_Student_BackClass_ViewModel.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Edu.Model.ViewModel.Course
{
/// <summary>
/// 学员退课单据视图实体类
/// </summary>
public
class
RB_Student_BackClass_ViewModel
:
RB_Student_BackClass
{
}
}
Edu.Model/ViewModel/Course/RB_Student_BackRecord_ViewModel.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Edu.Model.ViewModel.Course
{
/// <summary>
/// 学员退课单据审核记录表视图实体类
/// </summary>
public
class
RB_Student_BackRecord_ViewModel
:
RB_Student_BackRecord
{
}
}
\ No newline at end of file
Edu.Model/ViewModel/Course/RB_Student_BackRelevance_ViewModel.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Edu.Model.ViewModel.Course
{
/// <summary>
/// 退款单据审核人员信息视图实体类
/// </summary>
public
class
RB_Student_BackRelevance_ViewModel
:
RB_Student_BackRelevance
{
}
}
Edu.Module.Course/ClassModule.cs
View file @
61697cef
...
...
@@ -336,11 +336,7 @@ namespace Edu.Module.Course
/// <returns></returns>
public
bool
UpdateClassEndDateModule
(
int
classId
)
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Class_ViewModel
.
Status
),(
int
)
DateStateEnum
.
Delete
},
};
return
classRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Class_ViewModel
.
ClassId
),
ClassId
));
return
classRepository
.
UpdateClassEndDateRepository
(
classId
);
}
/// <summary>
...
...
Edu.Repository/Course/RB_ClassRepository.cs
View file @
61697cef
...
...
@@ -129,7 +129,7 @@ WHERE 1=1
UPDATE rb_class AS A
INNER JOIN(
SELECT MAX(ClassDate) AS ClassDate,ClassId
FROM rb_class_plan WHERE
`Status`
=0
FROM rb_class_plan WHERE
Status
=0
GROUP BY ClassId
) AS B ON A.ClassId=B.ClassId
SET A.EndClassDate=B.ClassDate
...
...
Edu.Repository/Course/RB_Student_BackClassRepository.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
Edu.Model.ViewModel.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
Edu.Repository.Course
{
/// <summary>
/// 学员退课单据仓储层
/// </summary>
public
class
RB_Student_BackClassRepository
:
BaseRepository
<
RB_Student_BackClass
>
{
/// <summary>
/// 获取学员退课单据分页列表
/// </summary>
/// <param name="pageIndex"></param>
/// <param name="pageSize"></param>
/// <param name="rowsCount"></param>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Student_BackClass_ViewModel
>
GetStudentBackClassPageListRepository
(
int
pageIndex
,
int
pageSize
,
out
long
rowsCount
,
RB_Student_BackClass_ViewModel
query
)
{
StringBuilder
builder
=
new
StringBuilder
();
builder
.
AppendFormat
(
@"
SELECT *
FROM RB_Student_BackClass
WHERE 1=1
"
);
if
(
query
!=
null
)
{
}
return
GetPage
<
RB_Student_BackClass_ViewModel
>(
pageIndex
,
pageSize
,
out
rowsCount
,
builder
.
ToString
()).
ToList
();
}
}
}
\ No newline at end of file
Edu.Repository/Course/RB_Student_BackRecordRepository.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
Edu.Model.ViewModel.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
Edu.Repository.Course
{
/// <summary>
/// 学员退课单据审核记录仓储层
/// </summary>
public
class
RB_Student_BackRecordRepository
:
BaseRepository
<
RB_Student_BackRecord
>
{
/// <summary>
/// 获取学员退课单据审核记录列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Student_BackRecord_ViewModel
>
GetStudentBackRecordListRepository
(
RB_Student_BackRecord_ViewModel
query
)
{
StringBuilder
builder
=
new
StringBuilder
();
return
Get
<
RB_Student_BackRecord_ViewModel
>(
builder
.
ToString
()).
ToList
();
}
}
}
Edu.Repository/Course/RB_Student_BackRelevanceRepository.cs
0 → 100644
View file @
61697cef
using
Edu.Model.Entity.Course
;
using
Edu.Model.ViewModel.Course
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
namespace
Edu.Repository.Course
{
/// <summary>
/// 退款单据审核人员信息仓储层
/// </summary>
public
class
RB_Student_BackRelevanceRepository
:
BaseRepository
<
RB_Student_BackRelevance
>
{
/// <summary>
/// 获取学生退课审核列表
/// </summary>
/// <param name="query"></param>
/// <returns></returns>
public
List
<
RB_Student_BackRelevance_ViewModel
>
GetStudentBackRelevanceListRepository
(
RB_Student_BackRelevance_ViewModel
query
)
{
StringBuilder
builder
=
new
StringBuilder
();
return
Get
<
RB_Student_BackRelevance_ViewModel
>(
builder
.
ToString
()).
ToList
();
}
}
}
\ No newline at end of file
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