Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
黄奎
mall.oytour.com
Commits
0e9dc217
Commit
0e9dc217
authored
Aug 28, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时器调整
parent
abf6fc18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
Config.cs
Mall.Common/Config.cs
+11
-0
FinanceModule.cs
Mall.WindowsService/Module/FinanceModule.cs
+3
-3
No files found.
Mall.Common/Config.cs
View file @
0e9dc217
...
...
@@ -532,6 +532,17 @@ namespace Mall.Common
}
}
/// <summary>
/// 生成收入财务单据
/// </summary>
public
static
string
IsNormalServer
{
get
{
return
ReadConfigKey
(
"IsNormalServer"
);
}
}
/// <summary>
/// 财务单据请求参数Key
/// </summary>
...
...
Mall.WindowsService/Module/FinanceModule.cs
View file @
0e9dc217
...
...
@@ -901,7 +901,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
Random
R
=
new
Random
();
int
Rstr
=
R
.
Next
(
111
,
999
);
string
OrderNum
=
DateTime
.
Now
.
ToString
(
"yyyyMMddHHmmssfff"
)
+
Rstr
;
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
int
IsNormalServer
=
Convert
.
ToInt32
(
Config
.
IsNormalServer
);
var
flagpay
=
false
;
if
(
IsNormalServer
==
1
)
{
...
...
@@ -1504,7 +1504,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
Random
R
=
new
Random
();
int
Rstr
=
R
.
Next
(
111
,
999
);
string
OrderNum
=
DateTime
.
Now
.
ToString
(
"yyyyMMddHHmmssfff"
)
+
Rstr
;
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
int
IsNormalServer
=
Convert
.
ToInt32
(
Config
.
IsNormalServer
);
var
flagpay
=
false
;
if
(
IsNormalServer
==
1
)
{
...
...
@@ -1837,7 +1837,7 @@ and DATE_FORMAT(b.PaymentTime,'%y-%m-%d')<DATE_FORMAT('{endDate}','%y-%m-%d') A
Random
R
=
new
Random
();
int
Rstr
=
R
.
Next
(
111
,
999
);
string
OrderNum
=
DateTime
.
Now
.
ToString
(
"yyyyMMddHHmmssfff"
)
+
Rstr
;
int
IsNormalServer
=
Convert
.
ToInt32
(
new
ConfigurationBuilder
().
Add
(
new
JsonConfigurationSource
{
Path
=
"appsettings.json"
}).
Build
().
GetSection
(
"IsNormalServer"
).
Value
);
int
IsNormalServer
=
Convert
.
ToInt32
(
Config
.
IsNormalServer
);
var
flagpay
=
false
;
if
(
IsNormalServer
==
1
)
{
...
...
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