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
a4fd6f7f
Commit
a4fd6f7f
authored
Jan 13, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
引用修改
parent
a59ca8bf
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
5 deletions
+28
-5
Edu.Module.Advertising.csproj
Edu.Module.Advertising/Edu.Module.Advertising.csproj
+4
-0
Edu.Module.Customer.csproj
Edu.Module.Customer/Edu.Module.Customer.csproj
+6
-0
Edu.Module.Duty.csproj
Edu.Module.Duty/Edu.Module.Duty.csproj
+4
-0
Edu.Module.EduTask.csproj
Edu.Module.EduTask/Edu.Module.EduTask.csproj
+4
-0
Edu.Module.Exam.csproj
Edu.Module.Exam/Edu.Module.Exam.csproj
+4
-0
Edu.Module.QYWeChat.csproj
Edu.Module.QYWeChat/Edu.Module.QYWeChat.csproj
+4
-0
RB_LearningGoalsRepository.cs
Edu.Repository/System/RB_LearningGoalsRepository.cs
+1
-1
RB_StageRepository.cs
Edu.Repository/System/RB_StageRepository.cs
+0
-2
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+1
-2
No files found.
Edu.Module.Advertising/Edu.Module.Advertising.csproj
View file @
a4fd6f7f
...
...
@@ -4,6 +4,10 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Edu.Model\Edu.Model.csproj" />
<ProjectReference Include="..\Edu.Repository\Edu.Repository.csproj" />
...
...
Edu.Module.Customer/Edu.Module.Customer.csproj
View file @
a4fd6f7f
...
...
@@ -2,6 +2,12 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<Nullable>warnings</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PlatformTarget>x86</PlatformTarget>
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
...
...
Edu.Module.Duty/Edu.Module.Duty.csproj
View file @
a4fd6f7f
...
...
@@ -4,6 +4,10 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Edu.Cache\Edu.Cache.csproj" />
<ProjectReference Include="..\Edu.Model\Edu.Model.csproj" />
...
...
Edu.Module.EduTask/Edu.Module.EduTask.csproj
View file @
a4fd6f7f
...
...
@@ -4,6 +4,10 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Edu.Aop\Edu.Aop.csproj" />
<ProjectReference Include="..\Edu.Cache\Edu.Cache.csproj" />
...
...
Edu.Module.Exam/Edu.Module.Exam.csproj
View file @
a4fd6f7f
...
...
@@ -4,6 +4,10 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Edu.Aop\Edu.Aop.csproj" />
<ProjectReference Include="..\Edu.Cache\Edu.Cache.csproj" />
...
...
Edu.Module.QYWeChat/Edu.Module.QYWeChat.csproj
View file @
a4fd6f7f
...
...
@@ -4,6 +4,10 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;NETSDK1138</NoWarn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Edu.Cache\Edu.Cache.csproj" />
<ProjectReference Include="..\Edu.Common\Edu.Common.csproj" />
...
...
Edu.Repository/System/RB_LearningGoalsRepository.cs
View file @
a4fd6f7f
...
...
@@ -93,4 +93,4 @@ WHERE 1=1
return
extModel
;
}
}
}
}
\ No newline at end of file
Edu.Repository/System/RB_StageRepository.cs
View file @
a4fd6f7f
...
...
@@ -22,11 +22,9 @@ namespace Edu.Repository.System
public
List
<
RB_Stage_ViewModel
>
GetPeersCustomerStageCount
(
int
gid
,
int
id
)
{
string
sql
=
"select Id,StageName,`No`,(select Count(0) from rb_Student where CustomerId=@id and StuStage=a.Id) as ChildCount from rb_stage a where Group_Id=@gid order by `No`"
;
DynamicParameters
parameters
=
new
DynamicParameters
();
parameters
.
Add
(
"gid"
,
gid
);
parameters
.
Add
(
"id"
,
id
);
return
Get
<
RB_Stage_ViewModel
>(
sql
,
parameters
).
ToList
();
}
...
...
Edu.Repository/User/RB_StudentRepository.cs
View file @
a4fd6f7f
...
...
@@ -16,7 +16,7 @@ namespace Edu.Repository.User
/// <summary>
/// 学生仓储层
/// </summary>
public
class
RB_StudentRepository
:
BaseRepository
<
Model
.
Entity
.
User
.
RB_Student
>
public
class
RB_StudentRepository
:
BaseRepository
<
RB_Student
>
{
/// <summary>
/// 账号
...
...
@@ -133,7 +133,6 @@ WHERE 1=1
public
int
GetStudentOrderCount
(
int
studentId
)
{
var
sql
=
"select Count(0) from rb_student_orderguest a left join rb_order b on a.OrderId=b.OrderId where a.Student_Id=@stuId and b.OrderState!=3"
;
DynamicParameters
parameters
=
new
DynamicParameters
();
parameters
.
Add
(
"stuId"
,
studentId
);
var
result
=
ExecuteScalar
(
sql
,
parameters
);
...
...
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