Commit c460347e by 刘军

暂时提交

parent a0d3f41a
......@@ -146,6 +146,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SqlHelper.cs" />
<Compile Include="VerCodeHelp.cs" />
<Compile Include="Word\CreateWordReport.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
......@@ -164,9 +165,7 @@
<ItemGroup>
<Content Include="Chloe.Extension\Chloe.Extension.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Word\" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Unit.Word
{
public class CreateWordReport
{
}
}
using G.Buss.BaseInfo.Services.ChemotherapySVC;
using G.MES.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace G.MES.API.Controllers
{
/// <summary>
/// 化疗结果
/// </summary>
public class ChemotherapyController : BasicController
{
private readonly ChemotherapySvc svc = new ChemotherapySvc();
/// <summary>
/// 获取化药结果
/// </summary>
public List<Chemotherapy> GetChemotherapy()
{
return svc.GetChemotherapy();
}
}
}
\ No newline at end of file
......@@ -244,6 +244,7 @@
<Compile Include="Areas\HelpPage\XmlDocumentationProvider.cs" />
<Compile Include="Base\BasicController.cs" />
<Compile Include="Controllers\ChemicalDrugReferencesController.cs" />
<Compile Include="Controllers\ChemotherapyController.cs" />
<Compile Include="Controllers\ClientInfoController.cs" />
<Compile Include="Controllers\CodeTableController.cs" />
<Compile Include="Controllers\GeneController.cs" />
......
......@@ -93,6 +93,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\AuditLogDetailedSVC\AuditLogDetailedOperaSVC.cs" />
<Compile Include="Services\ChemicalDrugReferencesSVC\ChemicalDrugReferencesSVC.cs" />
<Compile Include="Services\ChemotherapySVC\ChemotherapySvc.cs" />
<Compile Include="Services\ClientInfoSVC\ClientInfoSVC.cs" />
<Compile Include="Services\CodeTableSVC\CodeTableOperaSVC.cs" />
<Compile Include="Services\ExportWordSVC\ReportDataSvc.cs" />
......
using Chloe.SqlServer;
using G.MES.DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace G.Buss.BaseInfo.Services.ChemotherapySVC
{
public class ChemotherapySvc : BaseSvc
{
/// <summary>
/// 获取化药结果
/// </summary>
/// <returns></returns>
public List<Chemotherapy> GetChemotherapy()
{
using (var context = new MsSqlContext(sqlConn))
{
List<Chemotherapy> chemotherapies = context.Query<Chemotherapy>().ToList();
return chemotherapies;
}
}
}
}
......@@ -95,7 +95,7 @@ namespace G.Buss.BaseInfo.Services.GeneCorrelationSVC
context.TrackEntity(nowSam);
nowSam.GeneName = GeneCorrelation.GeneName;
nowSam.SortNo = GeneCorrelation.SortNo;
nowSam.Type = Convert.ToInt32( GeneCorrelation.Type);
nowSam.Type = GeneCorrelation.Type;
UpSysField(nowSam, user);
context.Update(nowSam);
}
......@@ -106,7 +106,7 @@ namespace G.Buss.BaseInfo.Services.GeneCorrelationSVC
nowSam.GeneCorrelationOID = GeneCorrelation.GeneCorrelationOID;
nowSam.GeneName = GeneCorrelation.GeneName;
nowSam.SortNo = GeneCorrelation.SortNo;
nowSam.Type = Convert.ToInt32(GeneCorrelation.Type);
nowSam.Type = GeneCorrelation.Type;
InsertSysField(nowSam, user);
context.Insert(nowSam);
}
......
......@@ -9,6 +9,7 @@
namespace G.MES.DataAdapter
{
using G.MES.DataModel;
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论