Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
bb7aafec
Commit
bb7aafec
authored
Mar 22, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
e6f0b86b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
performance/Performance.EntityModels/Context/PerformanceDbContext.cs
+4
-4
performance/Performance.EntityModels/Entity/per_allot.cs
+1
-1
performance/Performance.Repository/BaseRepository.cs
+2
-1
No files found.
performance/Performance.EntityModels/Context/PerformanceDbContext.cs
View file @
bb7aafec
...
...
@@ -19,14 +19,14 @@ public PerformanceDbContext(DbContextOptions<PerformanceDbContext> options)
public
virtual
DbSet
<
sys_role
>
Sys_Role
{
get
;
set
;
}
public
virtual
DbSet
<
sys_role_menu
>
Sys_Role_Menu
{
get
;
set
;
}
public
virtual
DbSet
<
sys_user_role
>
Sys_User_Role
{
get
;
set
;
}
public
virtual
DbSet
<
per_allot
>
Sys_A
llot
{
get
;
set
;
}
public
virtual
DbSet
<
per_sheet
>
Im_S
heet
{
get
;
set
;
}
public
virtual
DbSet
<
per_allot
>
per_a
llot
{
get
;
set
;
}
public
virtual
DbSet
<
per_sheet
>
per_s
heet
{
get
;
set
;
}
public
virtual
DbSet
<
im_employee
>
Im_Employee
{
get
;
set
;
}
public
virtual
DbSet
<
im_header
>
Im_Header
{
get
;
set
;
}
public
virtual
DbSet
<
im_data
>
Im_Data
{
get
;
set
;
}
public
virtual
DbSet
<
im_accountbasic
>
Im_AccountBasic
{
get
;
set
;
}
public
virtual
DbSet
<
res_accountdoctor
>
Im_AccountD
octor
{
get
;
set
;
}
public
virtual
DbSet
<
res_accountnurse
>
Im_AccountN
urse
{
get
;
set
;
}
public
virtual
DbSet
<
res_accountdoctor
>
res_accountd
octor
{
get
;
set
;
}
public
virtual
DbSet
<
res_accountnurse
>
res_accountn
urse
{
get
;
set
;
}
public
virtual
DbSet
<
cof_drugprop
>
Cof_DrugProp
{
get
;
set
;
}
public
virtual
DbSet
<
cof_income
>
Cof_Income
{
get
;
set
;
}
}
...
...
performance/Performance.EntityModels/Entity/per_allot.cs
View file @
bb7aafec
...
...
@@ -28,7 +28,7 @@ public class per_allot
/// <summary>
/// CreateUser
/// </summary>
public
int
CreateUser
{
get
;
set
;
}
public
int
?
CreateUser
{
get
;
set
;
}
/// <summary>
/// 绩效发放年
...
...
performance/Performance.Repository/BaseRepository.cs
View file @
bb7aafec
...
...
@@ -76,7 +76,8 @@ public List<TEntity> GetEntities()
public
List
<
TEntity
>
GetEntities
(
Expression
<
Func
<
TEntity
,
bool
>>
exp
)
{
return
CompileQuery
(
exp
).
ToList
();
var
query
=
CompileQuery
(
exp
);
return
query
==
null
||
query
.
Count
()
==
0
?
null
:
query
.
ToList
();
}
public
List
<
TEntity
>
GetEntitiesForPaging
(
int
Page
,
int
pageSize
,
Expression
<
Func
<
TEntity
,
bool
>>
exp
)
...
...
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