提交 ef9f318b 编写于 作者: C cz_012273

除酒精消毒液、一次性口罩外,其它品名按部门计算发放到期提示。

上级 e1ba1b92
......@@ -111,10 +111,11 @@ object DM1: TDM1
SQL.Strings = (
'SELECT '#24207#21495','#21697#21517','#25968#37327',Max('#20986#24211#26085#26399') as '#26368#36817#21457#25918',(case when julianday('#20986#24211#26085#26399') + '#25968 +
#37327'/(select count(*) from '#20154#21592#34920' where '#25152#22312#37096#38376#65288#29677#32452#65289'= '#20986#24211#34920'.'#25152#22312#37096#38376#65288#29677#32452#65289')*'#20351#29992#21608#26399#65288#22825 +
#65289' <= julianday('#39'now'#39') then '#39#24050#21040#26399#39' else '#39#26410#21040#26399#39' end ) as '#21040#26399#25552#31034','#39046#21462#20154','#25152#22312 +
#37096#38376#65288#29677#32452#65289',(select count(*) from '#20154#21592#34920' where '#25152#22312#37096#38376#65288#29677#32452#65289'= '#20986#24211#34920'.'#25152#22312#37096#38376#65288#29677#32452#65289') a' +
's '#20154#25968','#20351#29992#21608#26399#65288#22825#65289' FROM '#20986#24211#34920' GROUP BY '#25152#22312#37096#38376#65288#29677#32452#65289','#21697#21517' order by '#25152#22312#37096#38376#65288#29677#32452#65289','#21697#21517)
#37327'/if('#21697#21517'='#39#37202#31934#28040#27602#28082#39' or '#21697#21517'='#39#19968#27425#24615#21475#32617#39' ,(select count(*) from '#20154#21592#34920' where ' +
#25152#22312#37096#38376#65288#29677#32452#65289'= '#20986#24211#34920'.'#25152#22312#37096#38376#65288#29677#32452#65289'),1)*'#20351#29992#21608#26399#65288#22825#65289' <= julianday('#39'now'#39') then '#39#24050#21040#26399 +
#39' else '#39#26410#21040#26399#39' end ) as '#21040#26399#25552#31034','#39046#21462#20154','#25152#22312#37096#38376#65288#29677#32452#65289',(select count(*) from '#20154#21592 +
#34920' where '#25152#22312#37096#38376#65288#29677#32452#65289'= '#20986#24211#34920'.'#25152#22312#37096#38376#65288#29677#32452#65289') as '#20154#25968','#20351#29992#21608#26399#65288#22825#65289' FROM '#20986#24211#34920' GROUP BY ' +
#25152#22312#37096#38376#65288#29677#32452#65289','#21697#21517' order by '#25152#22312#37096#38376#65288#29677#32452#65289','#21697#21517)
Left = 152
Top = 296
end
......
......@@ -88,9 +88,9 @@
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_AutoIncVersion>true</VerInfo_AutoIncVersion>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.7.4;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.7.7;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Release>7</VerInfo_Release>
<VerInfo_Build>4</VerInfo_Build>
<VerInfo_Build>7</VerInfo_Build>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
......
无法预览此类型文件
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册