1、检查科室小结ReportNo对应不上

dhzfy
lsm 9 months ago
parent b23a7e4067
commit e3654e4f4c
  1. 2
      PEIS/Model/Exam/PartModel.cs
  2. 46
      PEIS/ReportFiles/PReport.frx

@ -190,7 +190,7 @@ namespace PEIS.Model
SELECT DISTINCT A.FeeItemName, B.Title AS RptItemName, B.summary AS TextResult, Unit = '', UnusualFlag = '',0 as SeqReport
FROM
Enrollment_FeeItem A
LEFT JOIN Report B ON A.eid = B.eid AND (A.EID > 9999 AND A.ID = B.ReportNo OR A.EID <=9999 AND a.OldId = b.ReportNo)
LEFT JOIN Report B ON A.eid = B.eid AND (A.ID = B.ReportNo OR A.OldId = B.ReportNo)
WHERE
A.ItemClass = '' AND B.summary <> '' AND A.EID = {eid} AND A.DeptCode = '{deptCode}'").OrderBy(o=>o.SeqReport).ToList();

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="05/23/2023 15:50:00" ReportInfo.Modified="08/09/2024 10:43:02" ReportInfo.CreatorVersion="2022.1.0.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="05/23/2023 15:50:00" ReportInfo.Modified="08/13/2024 16:14:45" ReportInfo.CreatorVersion="2022.1.0.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@ -185,12 +185,12 @@ namespace FastReport
<TextObject Name="Text78" Left="18.9" Top="793.8" Width="689.85" Height="28.35" Text="注意:体检项目价格均严格遵循物价标准执行,所有收费项目依照当前物价标准为准。" Font="微软雅黑, 12pt"/>
<TextObject Name="Text126" Left="18.9" Top="604.8" Width="689.85" Height="47.25" Text="[HospitalName]健康体检科" HorzAlign="Right" VertAlign="Center" Font="微软雅黑, 16pt"/>
</PageHeaderBand>
<PageFooterBand Name="PageFooter3" Top="1124.26" Width="718.2" Height="37.8">
<PageFooterBand Name="PageFooter3" Top="1124.66" Width="718.2" Height="37.8">
<TextObject Name="Text56" Width="718.2" Height="37.8" Dock="Fill" Text="第[Page#]页" HorzAlign="Center" Font="微软雅黑, 8pt, style=Bold" Trimming="EllipsisCharacter"/>
</PageFooterBand>
</ReportPage>
<ReportPage Name="Page2" RawPaperSize="9" Watermark.Font="宋体, 60pt">
<DataBand Name="FeeItems" Top="105.55" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" AfterDataEvent="FeeItems_AfterData">
<DataBand Name="FeeItems" Top="105.95" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" AfterDataEvent="FeeItems_AfterData">
<TextObject Name="Text133" Left="66.15" Width="226.8" Height="28.35" Border.Lines="All" Text="[F.DeptName]" Duplicates="Merge" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
<TextObject Name="Text134" Left="292.95" Width="75.6" Height="28.35" Border.Lines="All" Duplicates="Merge" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
<TextObject Name="Text135" Left="368.55" Width="349.65" Height="28.35" Border.Lines="All" CanGrow="true" Text="[F.FeeItemName]" Duplicates="Merge" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 9pt"/>
@ -217,7 +217,7 @@ namespace FastReport
</TableObject>
</DataHeaderBand>
</DataBand>
<PageFooterBand Name="PageFooter4" Top="135.5" Width="718.2" Height="37.8">
<PageFooterBand Name="PageFooter4" Top="136.3" Width="718.2" Height="37.8">
<TextObject Name="Text79" Width="718.2" Height="37.8" Text="第[Page#]页" HorzAlign="Center" Font="微软雅黑, 8pt, style=Bold"/>
</PageFooterBand>
</ReportPage>
@ -292,7 +292,7 @@ namespace FastReport
</TableRow>
</TableObject>
</ReportTitleBand>
<DataBand Name="Conclusion" Top="258.35" Width="718.2" Height="56.7" CanGrow="true">
<DataBand Name="Conclusion" Top="259.15" Width="718.2" Height="56.7" CanGrow="true">
<TableObject Name="Table5" Width="718.2" Height="56.7" Border.Lines="Left, Right">
<TableColumn Name="Column21" Width="143.64"/>
<TableColumn Name="Column22" Width="143.64"/>
@ -310,7 +310,7 @@ namespace FastReport
<TableCell Name="Cell45" Font="宋体, 9pt"/>
</TableRow>
</TableObject>
<DataHeaderBand Name="DataHeader3" Top="228.4" Width="718.2" Height="28.35">
<DataHeaderBand Name="DataHeader3" Top="228.8" Width="718.2" Height="28.35">
<TableObject Name="Table6" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column26" Width="143.64"/>
<TableColumn Name="Column27" Width="143.64"/>
@ -326,7 +326,7 @@ namespace FastReport
</TableRow>
</TableObject>
</DataHeaderBand>
<DataFooterBand Name="DataFooter2" Top="316.65" Width="718.2" Height="56.7">
<DataFooterBand Name="DataFooter2" Top="317.85" Width="718.2" Height="56.7">
<TableObject Name="Table8" Width="718.2" Height="56.7" Border.Lines="All">
<TableColumn Name="Column36" Width="136.08"/>
<TableColumn Name="Column37" Width="136.08"/>
@ -349,12 +349,12 @@ namespace FastReport
</TableObject>
</DataFooterBand>
</DataBand>
<PageFooterBand Name="PageFooter8" Top="374.95" Width="718.2" Height="37.8">
<PageFooterBand Name="PageFooter8" Top="376.55" Width="718.2" Height="37.8">
<TextObject Name="Text75" Width="718.2" Height="37.8" Text="第[Page#]页" HorzAlign="Center" Font="微软雅黑, 8pt, style=Bold"/>
</PageFooterBand>
</ReportPage>
<ReportPage Name="Page4" Watermark.Font="宋体, 60pt">
<GroupHeaderBand Name="GroupHeader6" Top="29.95" Width="718.2" Height="56.7" KeepWithData="true" Condition="[G.DeptName]" SortOrder="None" KeepTogether="true">
<GroupHeaderBand Name="GroupHeader6" Top="30.35" Width="718.2" Height="56.7" KeepWithData="true" Condition="[G.DeptName]" SortOrder="None" KeepTogether="true">
<TableObject Name="Table21" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column82" Width="359.1"/>
<TableColumn Name="Column83" Width="359.1"/>
@ -385,10 +385,10 @@ namespace FastReport
</TableRow>
</TableObject>
</DataHeaderBand>
<DataBand Name="General" Top="88.25" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" AfterDataEvent="General_AfterData" KeepChild="true" Columns.Count="2" KeepTogether="true" KeepDetail="true">
<DataBand Name="General" Top="89.05" Width="359.1" Height="28.35" CanGrow="true" CanShrink="true" AfterDataEvent="General_AfterData" KeepChild="true" Columns.Count="2" KeepTogether="true" KeepDetail="true">
<TextObject Name="Text142" Width="179.55" Height="28.35" Dock="Left" Border.Lines="All" CanGrow="true" Text="[G.RptItemName]" VertAlign="Center" Font="微软雅黑, 10pt"/>
<TextObject Name="Text143" Left="538.65" Width="179.55" Height="28.35" Dock="Right" Border.Lines="All" CanGrow="true" Text="[G.TextResult]" VertAlign="Center" Font="微软雅黑, 10pt"/>
<DataBand Name="Data3" Top="118.2" Width="718.2" Height="85.05" Border.Lines="All" CanGrow="true" CanShrink="true" KeepTogether="true" KeepDetail="true">
<TextObject Name="Text143" Left="179.55" Width="179.55" Height="28.35" Dock="Right" Border.Lines="All" CanGrow="true" Text="[G.TextResult]" VertAlign="Center" Font="微软雅黑, 10pt"/>
<DataBand Name="Data3" Top="119.4" Width="718.2" Height="85.05" Border.Lines="All" CanGrow="true" CanShrink="true" KeepTogether="true" KeepDetail="true">
<TableObject Name="Table28" Width="718.22" Height="28.35" Border.Lines="All">
<TableColumn Name="Column92" Width="359.11"/>
<TableColumn Name="Column93" Width="359.11"/>
@ -405,7 +405,7 @@ namespace FastReport
</DataBand>
</DataBand>
</GroupHeaderBand>
<GroupHeaderBand Name="GroupHeader7" Top="204.85" Width="718.2" Height="47.25" KeepWithData="true" Condition="[P.DeptName]" SortOrder="None" KeepTogether="true">
<GroupHeaderBand Name="GroupHeader7" Top="206.45" Width="718.2" Height="47.25" KeepWithData="true" Condition="[P.DeptName]" SortOrder="None" KeepTogether="true">
<TableObject Name="Table34" Top="18.9" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column106" Width="359.1"/>
<TableColumn Name="Column107" Width="359.1"/>
@ -414,16 +414,16 @@ namespace FastReport
<TableCell Name="Cell151" Font="宋体, 9pt"/>
</TableRow>
</TableObject>
<GroupHeaderBand Name="GroupHeader8" Top="253.7" Width="718.2" Height="28.35" KeepWithData="true" Condition="[P.FeeItemName]" SortOrder="None" KeepTogether="true">
<GroupHeaderBand Name="GroupHeader8" Top="255.7" Width="718.2" Height="28.35" KeepWithData="true" Condition="[P.FeeItemName]" SortOrder="None" KeepTogether="true">
<TextObject Name="Text105" Width="718.2" Height="28.35" Border.Lines="All" Fill.Color="192, 255, 255" CanGrow="true" CanBreak="false" Text="[P.FeeItemName]" VertAlign="Center" WordWrap="false" Font="微软雅黑, 12pt, style=Bold, Italic"/>
<DataBand Name="PACS" Top="283.65" Width="718.2" Height="177.66" CanGrow="true" CanShrink="true" Columns.Count="3" KeepTogether="true" KeepDetail="true">
<DataBand Name="PACS" Top="286.05" Width="239.4" Height="177.66" CanGrow="true" CanShrink="true" Columns.Count="3" KeepTogether="true" KeepDetail="true">
<PictureObject Name="Picture4" Width="239.4" Height="177.66" Border.Lines="Top, Bottom" CanGrow="true" CanShrink="true" BeforePrintEvent="Picture4_BeforePrint" SizeMode="StretchImage"/>
<DataFooterBand Name="DataFooter4" Top="462.91" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" KeepWithData="true">
<DataFooterBand Name="DataFooter4" Top="465.71" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" KeepWithData="true">
<TextObject Name="Text106" Width="718.2" Height="28.35" Border.Lines="All" CanGrow="true" CanShrink="true" AfterDataEvent="" CanBreak="false" Text="[P.TextResult]" VertAlign="Center" Font="微软雅黑, 10pt"/>
</DataFooterBand>
</DataBand>
</GroupHeaderBand>
<GroupFooterBand Name="GroupFooter3" Top="492.86" Width="718.2" Height="85.05" Border.Lines="All" CanGrow="true" CanShrink="true" KeepWithData="true">
<GroupFooterBand Name="GroupFooter3" Top="496.06" Width="718.2" Height="85.05" Border.Lines="All" CanGrow="true" CanShrink="true" KeepWithData="true">
<TableObject Name="Table35" Width="718.22" Height="28.35" Border.Lines="All">
<TableColumn Name="Column108" Width="359.11"/>
<TableColumn Name="Column109" Width="359.11"/>
@ -441,7 +441,7 @@ namespace FastReport
<TextObject Name="Text128" Left="444.15" Top="66.15" Width="103.95" Height="18.9" CanGrow="true" CanShrink="true" CanBreak="false" Text="[P.Reporter]" VertAlign="Center" Font="微软雅黑, 10pt"/>
</GroupFooterBand>
</GroupHeaderBand>
<GroupHeaderBand Name="GroupHeader9" Top="579.51" Width="718.2" Height="47.25" KeepWithData="true" Condition="[L.DeptName]" SortOrder="None" KeepTogether="true">
<GroupHeaderBand Name="GroupHeader9" Top="583.11" Width="718.2" Height="47.25" KeepWithData="true" Condition="[L.DeptName]" SortOrder="None" KeepTogether="true">
<TableObject Name="Table38" Top="18.9" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column114" Width="359.1"/>
<TableColumn Name="Column115" Width="359.1"/>
@ -450,7 +450,7 @@ namespace FastReport
<TableCell Name="Cell159" Font="宋体, 9pt"/>
</TableRow>
</TableObject>
<GroupHeaderBand Name="GroupHeader10" Top="628.36" Width="718.2" Height="56.7" KeepWithData="true" Condition="[L.FeeItemName]" SortOrder="None" KeepTogether="true">
<GroupHeaderBand Name="GroupHeader10" Top="632.36" Width="718.2" Height="56.7" KeepWithData="true" Condition="[L.FeeItemName]" SortOrder="None" KeepTogether="true">
<TableObject Name="Table39" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column116" Width="359.1"/>
<TableColumn Name="Column117" Width="359.1"/>
@ -473,7 +473,7 @@ namespace FastReport
<TableCell Name="Cell166" Border.Lines="All" Fill.Color="192, 255, 255" Text="异常标志" HorzAlign="Center" VertAlign="Center" Font="微软雅黑, 10pt, style=Bold"/>
</TableRow>
</TableObject>
<DataBand Name="LIS" Top="686.66" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" KeepTogether="true" KeepDetail="true">
<DataBand Name="LIS" Top="691.06" Width="718.2" Height="28.35" CanGrow="true" CanShrink="true" KeepTogether="true" KeepDetail="true">
<TableObject Name="Table41" Width="718.19" Height="28.35" Border.Lines="All">
<TableColumn Name="Column123" Width="249.1"/>
<TableColumn Name="Column124" Width="126.25"/>
@ -488,7 +488,7 @@ namespace FastReport
<TableCell Name="Cell171" Border.Lines="All" AfterDataEvent="Cell171_AfterData" Text="[L.UnusualFlag]" VertAlign="Center" Font="微软雅黑, 10pt"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter5" Top="716.61" Width="718.2" Height="47.25" KeepWithData="true">
<DataFooterBand Name="DataFooter5" Top="721.41" Width="718.2" Height="47.25" KeepWithData="true">
<TableObject Name="Table43" Width="718.2" Height="28.35" Border.Lines="All">
<TableColumn Name="Column130" Width="143.64"/>
<TableColumn Name="Column131" Width="143.64"/>
@ -511,7 +511,7 @@ namespace FastReport
</DataFooterBand>
</DataBand>
</GroupHeaderBand>
<GroupFooterBand Name="GroupFooter4" Top="765.46" Width="718.2" Height="66.15" CanGrow="true" CanShrink="true" KeepWithData="true">
<GroupFooterBand Name="GroupFooter4" Top="770.66" Width="718.2" Height="66.15" CanGrow="true" CanShrink="true" KeepWithData="true">
<TableObject Name="Table42" Width="718.22" Height="28.35" Border.Lines="All">
<TableColumn Name="Column128" Width="359.11"/>
<TableColumn Name="Column129" Width="359.11"/>
@ -523,7 +523,7 @@ namespace FastReport
<TextObject Name="Text121" Top="28.35" Width="718.2" Height="37.8" Border.Lines="All" CanGrow="true" CanShrink="true" BeforePrintEvent="Text59_BeforePrint" AfterPrintEvent="Text59_AfterPrint" CanBreak="false" Text="[L.Summary]" Font="微软雅黑, 10pt" LineHeight="20"/>
</GroupFooterBand>
</GroupHeaderBand>
<PageFooterBand Name="PageFooter2" Top="833.21" Width="718.2" Height="37.8">
<PageFooterBand Name="PageFooter2" Top="838.81" Width="718.2" Height="37.8">
<TextObject Name="Text131" Width="718.2" Height="37.8" Text="第[Page#]页" HorzAlign="Center" Font="微软雅黑, 8pt, style=Bold"/>
</PageFooterBand>
</ReportPage>

Loading…
Cancel
Save