Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
Njhg.Finances.Addons.V4.5
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Njhg.Finances.Addons.V4.5
Commits
e33305f1
Commit
e33305f1
authored
Jun 26, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化模板读取
parent
c6fc631a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
20 deletions
+23
-20
.gitignore
.gitignore
+1
-0
Njhg.Finances.Addons.V4.5.csproj
Src/Njhg.Finances.Addons.V4.5.csproj
+14
-13
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
RestfulReadExcel.cs
Src/RestfulReadExcel.cs
+1
-1
packages.config
Src/packages.config
+5
-4
No files found.
.gitignore
View file @
e33305f1
...
@@ -7,3 +7,4 @@
...
@@ -7,3 +7,4 @@
/.vs
/.vs
/Src/obj/Release
/Src/obj/Release
/Src/bin/Release
/Src/bin/Release
/Src/.vs
Src/Njhg.Finances.Addons.V4.5.csproj
View file @
e33305f1
...
@@ -31,17 +31,17 @@
...
@@ -31,17 +31,17 @@
<WarningLevel>
4
</WarningLevel>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<Reference
Include=
"Kivii.Common.V4.5, Version=5.6.2024.
11
00, Culture=neutral, processorArchitecture=MSIL"
>
<Reference
Include=
"Kivii.Common.V4.5, Version=5.6.2024.
52
00, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\
..\packages\Kivii.Common.5.6.2024.11
00\lib\net45\Kivii.Common.V4.5.dll
</HintPath>
<HintPath>
..\..\
packages\Kivii.Common.5.6.2024.52
00\lib\net45\Kivii.Common.V4.5.dll
</HintPath>
</Reference>
</Reference>
<Reference
Include=
"Kivii.Core.V4.5, Version=5.6.202
3.90
00, Culture=neutral, processorArchitecture=MSIL"
>
<Reference
Include=
"Kivii.Core.V4.5, Version=5.6.202
4.52
00, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\
Kivii.K5\local.K5\packages\Kivii.Core.5.6.2023.90
00\lib\net45\Kivii.Core.V4.5.dll
</HintPath>
<HintPath>
..\..\
packages\Kivii.Core.5.6.2024.52
00\lib\net45\Kivii.Core.V4.5.dll
</HintPath>
</Reference>
</Reference>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.202
3.100
00, Culture=neutral, processorArchitecture=MSIL"
>
<Reference
Include=
"Kivii.Linq.V4.5, Version=5.6.202
4.52
00, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\
Kivii.K5\local.K5\packages\Kivii.Linq.5.6.2023.100
00\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
<HintPath>
..\..\
packages\Kivii.Linq.5.6.2024.52
00\lib\net45\Kivii.Linq.V4.5.dll
</HintPath>
</Reference>
</Reference>
<Reference
Include=
"Kivii.Office.OpenXml.V4.5, Version=5.6.202
3.1216
0, Culture=neutral, processorArchitecture=MSIL"
>
<Reference
Include=
"Kivii.Office.OpenXml.V4.5, Version=5.6.202
4.500
0, Culture=neutral, processorArchitecture=MSIL"
>
<HintPath>
..\..\
..\packages\Kivii.Office.OpenXml.5.6.2023.1216
0\lib\net45\Kivii.Office.OpenXml.V4.5.dll
</HintPath>
<HintPath>
..\..\
packages\Kivii.Office.OpenXml.5.6.2024.500
0\lib\net45\Kivii.Office.OpenXml.V4.5.dll
</HintPath>
</Reference>
</Reference>
<Reference
Include=
"System"
/>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Core"
/>
...
@@ -60,17 +60,17 @@
...
@@ -60,17 +60,17 @@
<EmbeddedResource
Include=
"Content\Templates\Njhg.Finances.Payment.Receipt.xlsx"
/>
<EmbeddedResource
Include=
"Content\Templates\Njhg.Finances.Payment.Receipt.xlsx"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<None
Include=
"packages.config"
/>
<ProjectReference
Include=
"..\..\Kivii.Biz.Finances\Src\Kivii.Biz.Finances.V4.5.csproj"
>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\..\Kivii.K5\Kivii.Biz.Finances\Src\Kivii.Biz.Finances.V4.5.csproj"
>
<Project>
{79937f8c-d32e-4bde-aa72-e7c58ee2e375}
</Project>
<Project>
{79937f8c-d32e-4bde-aa72-e7c58ee2e375}
</Project>
<Name>
Kivii.Biz.Finances.V4.5
</Name>
<Name>
Kivii.Biz.Finances.V4.5
</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference
Include=
"..\..\
..\Kivii.K5\
Kivii.Finances.Addons\Src\Kivii.Finances.Addons.V4.5.csproj"
>
<ProjectReference
Include=
"..\..\Kivii.Finances.Addons\Src\Kivii.Finances.Addons.V4.5.csproj"
>
<Project>
{2ad133e7-98f9-4fa3-aa16-a802f1682474}
</Project>
<Project>
{2ad133e7-98f9-4fa3-aa16-a802f1682474}
</Project>
<Name>
Kivii.Finances.Addons.V4.5
</Name>
<Name>
Kivii.Finances.Addons.V4.5
</Name>
</ProjectReference>
</ProjectReference>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<None
Include=
"packages.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
</Project>
</Project>
\ No newline at end of file
Src/Properties/AssemblyInfo.cs
View file @
e33305f1
...
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
...
@@ -33,5 +33,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.202
3.1110
0")]
[assembly: AssemblyVersion("5.4.202
4.626
0")]
[assembly: AssemblyFileVersion("5.4.202
3.1110
0")]
[assembly: AssemblyFileVersion("5.4.202
4.626
0")]
Src/RestfulReadExcel.cs
View file @
e33305f1
...
@@ -41,7 +41,7 @@ namespace Njhg.Finances.Addons
...
@@ -41,7 +41,7 @@ namespace Njhg.Finances.Addons
payeeAccount
=
ePayeeAccount
.
ToString
();
payeeAccount
=
ePayeeAccount
.
ToString
();
}
}
var
end
=
sheet
.
Dimension
.
End
.
Row
;
var
end
=
sheet
.
Dimension
.
End
.
Row
;
for
(
int
i
=
8
;
i
<=
end
;
i
++)
for
(
int
i
=
9
;
i
<=
end
;
i
++)
{
{
#
region
格式化
Excel
中每行数据
,
必填项若不符合验证条件就抛出异常
#
region
格式化
Excel
中每行数据
,
必填项若不符合验证条件就抛出异常
var
eOperateDate
=
sheet
.
Cells
[
i
,
2
].
Value
;
var
eOperateDate
=
sheet
.
Cells
[
i
,
2
].
Value
;
...
...
Src/packages.config
View file @
e33305f1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
packages
>
<
package
id
=
"Kivii.Common"
version
=
"5.6.2024.
11
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Common"
version
=
"5.6.2024.
52
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Core"
version
=
"5.6.202
3.90
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Core"
version
=
"5.6.202
4.52
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.202
3.100
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Linq"
version
=
"5.6.202
4.52
00"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Office.OpenXml"
version
=
"5.6.202
3.1216
0"
targetFramework
=
"net45"
/>
<
package
id
=
"Kivii.Office.OpenXml"
version
=
"5.6.202
4.500
0"
targetFramework
=
"net45"
/>
</
packages
>
</
packages
>
\ No newline at end of file
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