Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
ReportingSystemAPI
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
刘军
ReportingSystemAPI
Commits
1ca9a2bd
Commit
1ca9a2bd
authored
Feb 27, 2020
by
徐建业
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
受检者模块调整
parent
a89def6e
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
94 行增加
和
17 行删除
+94
-17
G.MES.API/Controllers/ClientInfoController.cs
+20
-1
G.MES.API/G.MES.API.csproj
+1
-1
G.MES.API/Template/受检者基本信息模块.xlsx
+0
-0
G.MES.API/Web.config
+1
-1
G.MES.Business/G.BaseInfo/Services/ClientInfoSVC/ClientInfoSVC.cs
+0
-0
G.MES.Business/G.BaseInfo/Services/ExportWordSVC/ReportDataSvc.cs
+1
-1
G.MES.Business/G.BaseInfo/Services/SampleTypeSVC/SampleTypeSVC.cs
+6
-4
G.MES.Business/G.BaseInfo/ViewModel/ClientInfoModel/ClientInfoRequestModel.cs
+13
-4
G.MES.Business/G.BaseInfo/ViewModel/SampleTypeModel/SampleTypeRequestModel.cs
+1
-0
G.MES.DataModel/1.G.MES.DataModel.csproj
+3
-0
G.MES.DataModel/ClientInfo.cs
+3
-1
G.MES.DataModel/Mission.cs
+39
-0
G.MES.DbAdapter/DbModel.Context.cs
+2
-1
G.MES.DbAdapter/DbModel.Designer.cs
+1
-1
G.MES.DbAdapter/DbModel.edmx
+0
-0
G.MES.DbAdapter/DbModel.edmx.diagram
+2
-1
WordByDocx/Word/ReplaceText.cs
+1
-1
WordByDocx/template/参考报告.docx
+0
-0
没有找到文件。
G.MES.API/Controllers/ClientInfoController.cs
查看文件 @
1ca9a2bd
...
...
@@ -14,7 +14,7 @@ namespace G.MES.API.Controllers
/// <summary>
/// 受检者信息
/// </summary>
public
class
ClientInfoController
:
BasicController
public
class
ClientInfoController
:
BasicController
{
public
readonly
ClientInfoSVC
ClientInfo
=
new
ClientInfoSVC
();
/// <summary>
...
...
@@ -128,5 +128,23 @@ namespace G.MES.API.Controllers
}
}
/// <summary>
/// Excel导出
/// </summary>
/// <returns></returns>
[
HttpGet
]
public
string
ExportClient
()
{
try
{
LoginInfo
user
=
GetLoginUser
();
return
ClientInfo
.
DoExportClientInfo
(
user
);
}
catch
(
Exception
ex
)
{
throw
new
Exception
(
"导入受试者信息表格:"
+
ex
.
Message
);
}
}
}
}
\ No newline at end of file
G.MES.API/G.MES.API.csproj
查看文件 @
1ca9a2bd
...
...
@@ -945,13 +945,13 @@
<Content Include="Template\PMID模板.xlsx" />
<Content Include="Template\靶药模板.xlsx" />
<Content Include="Template\基因检测结果模板.xlsx" />
<Content Include="Template\受检者基本信息模板.xlsx" />
<Content Include="Template\基因模板.xlsx" />
<Content Include="Template\相关基因列表模板.xlsx" />
<Content Include="Template\样本质控模板.xlsx" />
<Content Include="Template\遗传风险模板.xlsx" />
<Content Include="Template\Chemotherapy.xlsx" />
<Content Include="Template\Summary.xlsx" />
<Content Include="Template\受检者基本信息模块.xlsx" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
...
...
G.MES.API/Template/受检者基本信息模块.xlsx
0 → 100644
查看文件 @
1ca9a2bd
File added
G.MES.API/Web.config
查看文件 @
1ca9a2bd
...
...
@@ -21,7 +21,7 @@
<!--导出问卷路径-->
<
add
key
=
"ExportFilePath"
value
=
"E:\Export"
/>
<!--主网站的浏览文件的地址-->
<
add
key
=
"MainWebSite"
value
=
"http://192.168.
6.131:102
22/"
/>
<
add
key
=
"MainWebSite"
value
=
"http://192.168.
5.219:101
22/"
/>
<!--录音文件路径-->
<
add
key
=
"lywjurl"
value
=
"E:\GideaProject\TestUpLoadFile\ly"
/>
<!--回复图片路径-->
...
...
G.MES.Business/G.BaseInfo/Services/ClientInfoSVC/ClientInfoSVC.cs
查看文件 @
1ca9a2bd
差异被折叠。
点击展开。
G.MES.Business/G.BaseInfo/Services/ExportWordSVC/ReportDataSvc.cs
查看文件 @
1ca9a2bd
...
...
@@ -44,7 +44,7 @@ namespace G.Buss.BaseInfo.Services.ExportWordSVC
SampleDetection
=
a
.
SampleDetection
,
TechnologyDetection
=
a
.
TechnologyDetection
,
TumorsType
=
a
.
TumorsType
,
T
BM
=
a
.
TB
M
,
T
NM
=
a
.
TN
M
,
IsEssential
=
a
.
IsEssential
,
ClinicalDiagnosis
=
a
.
ClinicalDiagnosis
,
FamilyHistory
=
a
.
FamilyHistory
,
...
...
G.MES.Business/G.BaseInfo/Services/SampleTypeSVC/SampleTypeSVC.cs
查看文件 @
1ca9a2bd
...
...
@@ -26,14 +26,16 @@ namespace G.Buss.BaseInfo.Services.SampleTypeSVC
GetWhere
(
requestModel
,
user
,
out
LamadaExtention
<
SampleTypeQueryModel
>
where
);
using
(
var
context
=
new
MsSqlContext
(
sqlConn
))
{
var
sampleTypeQuery
=
context
.
JoinQuery
<
SampleType
,
Sys_Organize
>((
sample
,
org
)
=>
new
object
[]
{
JoinType
.
LeftJoin
,
sample
.
SYS_ORG
==
org
.
Sys_OrganizeOID
}).
Select
((
sample
,
org
)
=>
new
SampleTypeQueryModel
var
sampleTypeQuery
=
context
.
JoinQuery
<
SampleType
,
ClientInfo
,
Sys_Organize
>((
sample
,
client
,
org
)
=>
new
object
[]
{
JoinType
.
LeftJoin
,
sample
.
SYS_ORG
==
org
.
Sys_OrganizeOID
,
JoinType
.
LeftJoin
,
sample
.
SampleCode
==
client
.
SampleCode
}).
Select
((
sample
,
client
,
org
)
=>
new
SampleTypeQueryModel
{
SampleTypeOID
=
sample
.
SampleTypeOID
,
SampleCode
=
sample
.
SampleCode
,
SampleName
=
sample
.
SampleName
,
ClassCode
=
org
.
ClassCode
ClassCode
=
org
.
ClassCode
,
ClientOID
=
client
.
ClientInfoOID
}).
Where
(
where
.
GetLambda
());
int
TotalNum
=
sampleTypeQuery
.
Count
();
...
...
G.MES.Business/G.BaseInfo/ViewModel/ClientInfoModel/ClientInfoRequestModel.cs
查看文件 @
1ca9a2bd
...
...
@@ -55,6 +55,11 @@ namespace G.Buss.BaseInfo.ViewModel.ClientInfoModel
/// </summary>
[
JsonConverter
(
typeof
(
ShortDateFormat
))]
public
DateTime
?
Birth
{
get
;
set
;
}
/// <summary>
/// 公司号码
/// </summary>
public
string
CompanyPhone
{
get
;
set
;
}
/// <summary>
/// 样本编码
/// </summary>
...
...
@@ -87,9 +92,9 @@ namespace G.Buss.BaseInfo.ViewModel.ClientInfoModel
/// </summary>
public
string
TumorsType
{
get
;
set
;
}
/// <summary>
/// T
B
M分期
/// T
N
M分期
/// </summary>
public
string
T
B
M
{
get
;
set
;
}
public
string
T
N
M
{
get
;
set
;
}
/// <summary>
/// 是否原发 1 是,0 否
/// </summary>
...
...
@@ -287,6 +292,10 @@ namespace G.Buss.BaseInfo.ViewModel.ClientInfoModel
/// </summary>
public
string
IDCard
{
get
;
set
;
}
/// <summary>
/// 公司号码
/// </summary>
public
string
CompanyPhone
{
get
;
set
;
}
/// <summary>
/// 出生日期
/// </summary>
[
JsonConverter
(
typeof
(
ShortDateFormat
))]
...
...
@@ -320,9 +329,9 @@ namespace G.Buss.BaseInfo.ViewModel.ClientInfoModel
/// </summary>
public
string
TumorsType
{
get
;
set
;
}
/// <summary>
/// T
B
M分期
/// T
N
M分期
/// </summary>
public
string
T
B
M
{
get
;
set
;
}
public
string
T
N
M
{
get
;
set
;
}
/// <summary>
/// 是否原发 1 是,0 否
/// </summary>
...
...
G.MES.Business/G.BaseInfo/ViewModel/SampleTypeModel/SampleTypeRequestModel.cs
查看文件 @
1ca9a2bd
...
...
@@ -49,6 +49,7 @@ namespace G.Buss.BaseInfo.ViewModel.SampleTypeModel
public
string
SampleName
{
get
;
set
;
}
public
string
ClassCode
{
get
;
set
;
}
public
Guid
ClientOID
{
get
;
set
;
}
}
public
class
SampleTypeSelectModel
{
...
...
G.MES.DataModel/1.G.MES.DataModel.csproj
查看文件 @
1ca9a2bd
...
...
@@ -104,6 +104,9 @@
<Compile Include="MISReport.cs">
<DependentUpon>DataTemplete.tt</DependentUpon>
</Compile>
<Compile Include="Mission.cs">
<DependentUpon>DataTemplete.tt</DependentUpon>
</Compile>
<Compile Include="PMID.cs">
<DependentUpon>DataTemplete.tt</DependentUpon>
</Compile>
...
...
G.MES.DataModel/ClientInfo.cs
查看文件 @
1ca9a2bd
...
...
@@ -44,7 +44,7 @@ namespace G.MES.DataModel
///<summary><summary>
public
virtual
string
TumorsType
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
T
B
M
{
get
;
set
;
}
public
virtual
string
T
N
M
{
get
;
set
;
}
///<summary><summary>
public
virtual
Nullable
<
bool
>
IsEssential
{
get
;
set
;
}
///<summary><summary>
...
...
@@ -133,5 +133,7 @@ namespace G.MES.DataModel
public
virtual
string
ProjectNumber
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
DetectingPlatform
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
CompanyPhone
{
get
;
set
;
}
}
}
G.MES.DataModel/Mission.cs
0 → 100644
查看文件 @
1ca9a2bd
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码是根据模板生成的。
//
// 手动更改此文件可能会导致应用程序中发生异常行为。
// 如果重新生成代码,则将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace
G.MES.DataModel
{
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.DataAnnotations
;
using
Chloe.Annotations
;
///<summary><summary>
[
Serializable
]
public
partial
class
Mission
:
Core
.
BaseModel
{
///<summary><summary>
[
ColumnAttribute
(
IsPrimaryKey
=
true
)]
public
virtual
System
.
Guid
MissionOID
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
MissionName
{
get
;
set
;
}
///<summary><summary>
public
virtual
Nullable
<
System
.
DateTime
>
StartTime
{
get
;
set
;
}
///<summary><summary>
public
virtual
Nullable
<
System
.
DateTime
>
EndTime
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
CurrentProcess
{
get
;
set
;
}
///<summary><summary>
public
virtual
string
DownloadPath
{
get
;
set
;
}
///<summary><summary>
public
virtual
Nullable
<
System
.
Guid
>
ExportPeople
{
get
;
set
;
}
///<summary><summary>
public
virtual
Nullable
<
System
.
Guid
>
SYS_ORG
{
get
;
set
;
}
}
}
G.MES.DbAdapter/DbModel.Context.cs
查看文件 @
1ca9a2bd
...
...
@@ -63,7 +63,8 @@ namespace G.MES.DataAdapter
public
DbSet
<
Gene
>
Gene
{
get
;
set
;
}
public
DbSet
<
GeneCorrelation
>
GeneCorrelation
{
get
;
set
;
}
public
DbSet
<
Summary
>
Summary
{
get
;
set
;
}
public
DbSet
<
ClientInfo
>
ClientInfo
{
get
;
set
;
}
public
DbSet
<
Chemotherapy
>
Chemotherapy
{
get
;
set
;
}
public
DbSet
<
ClientInfo
>
ClientInfo
{
get
;
set
;
}
public
DbSet
<
Mission
>
Mission
{
get
;
set
;
}
}
}
G.MES.DbAdapter/DbModel.Designer.cs
查看文件 @
1ca9a2bd
// 为模型“
F:\Work\Project\报告系统\Git\ReportingSystem
API\G.MES.DbAdapter\DbModel.edmx”启用了 T4 代码生成。
// 为模型“
D:\Project\NEWAPI\3.SourceCode\JCBG
API\G.MES.DbAdapter\DbModel.edmx”启用了 T4 代码生成。
// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值
// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在
// “属性”窗口中。
...
...
G.MES.DbAdapter/DbModel.edmx
查看文件 @
1ca9a2bd
差异被折叠。
点击展开。
G.MES.DbAdapter/DbModel.edmx.diagram
查看文件 @
1ca9a2bd
...
...
@@ -43,8 +43,9 @@
<EntityTypeShape EntityType="DbModel.Gene" Width="1.5" PointX="11.375" PointY="9.75" />
<EntityTypeShape EntityType="DbModel.GeneCorrelation" Width="1.5" PointX="3.375" PointY="13.75" />
<EntityTypeShape EntityType="DbModel.Summary" Width="1.5" PointX="9.375" PointY="14.75" />
<EntityTypeShape EntityType="DbModel.ClientInfo" Width="1.5" PointX="13.375" PointY="0.75" />
<EntityTypeShape EntityType="DbModel.Chemotherapy" Width="1.5" PointX="0.75" PointY="13.75" />
<EntityTypeShape EntityType="DbModel.ClientInfo" Width="1.5" PointX="13.375" PointY="0.75" />
<EntityTypeShape EntityType="DbModel.Mission" Width="1.5" PointX="13.375" PointY="13.75" />
</Diagram>
</edmx:Diagrams>
...
...
WordByDocx/Word/ReplaceText.cs
查看文件 @
1ca9a2bd
...
...
@@ -44,7 +44,7 @@ namespace WordByDocx.Word
document
.
ReplaceFunc
(
"#{SamplingTime}"
,
clientInfo
.
SamplingTime
.
ToLocalLongTime
());
document
.
ReplaceFunc
(
"#{TechnologyDetection}"
,
clientInfo
.
TechnologyDetection
);
document
.
ReplaceFunc
(
"#{TumorsType}"
,
clientInfo
.
TumorsType
);
document
.
ReplaceFunc
(
"#{T
BM}"
,
clientInfo
.
TB
M
);
document
.
ReplaceFunc
(
"#{T
NM}"
,
clientInfo
.
TN
M
);
document
.
ReplaceFunc
(
"#{IsEssential}"
,
clientInfo
.
IsEssential
==
true
?
"是"
:
"否"
);
document
.
ReplaceFunc
(
"#{ClinicalDiagnosis}"
,
clientInfo
.
ClinicalDiagnosis
);
document
.
ReplaceFunc
(
"#{FamilyHistory}"
,
clientInfo
.
FamilyHistory
);
...
...
WordByDocx/template/参考报告.docx
查看文件 @
1ca9a2bd
No preview for this file type
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论