Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
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
bltdc
DataCenter_Core2.1_20190520
Commits
317bec10
Commit
317bec10
authored
Feb 06, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复BUG:退款流水(财务)导出格式
parent
171214e6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
DictionaryController.cs
...C.Web/Areas/Component/Controllers/DictionaryController.cs
+4
-3
OrdersController.cs
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
+0
-0
el-form-control.css
Bailun.DC.Web/wwwroot/css/component/el-form-control.css
+1
-1
No files found.
Bailun.DC.Web/Areas/Component/Controllers/DictionaryController.cs
View file @
317bec10
...
@@ -8,6 +8,7 @@ using System.Collections.Generic;
...
@@ -8,6 +8,7 @@ using System.Collections.Generic;
using
System.IO
;
using
System.IO
;
using
System.Text
;
using
System.Text
;
using
System.Linq
;
using
System.Linq
;
using
Newtonsoft.Json.Linq
;
namespace
Bailun.DC.Web.Areas.Component.Controllers
namespace
Bailun.DC.Web.Areas.Component.Controllers
{
{
...
@@ -23,7 +24,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
...
@@ -23,7 +24,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
switch
(
Request
.
Method
)
switch
(
Request
.
Method
)
{
{
case
"GET"
:
case
"GET"
:
Request
.
Query
.
Keys
.
ForEach
(
l
=>
sqlparam
.
Add
(
l
,
Request
.
Query
[
l
]
));
Request
.
Query
.
Keys
.
ForEach
(
l
=>
sqlparam
.
Add
(
l
,
(
Request
.
Query
[
l
].
Count
>
0
?
(
object
)
Request
.
Query
[
l
].
ToArray
()
:
Request
.
Query
[
l
])
));
break
;
break
;
case
"POST"
:
case
"POST"
:
if
(
Request
.
ContentType
.
Contains
(
"multipart/form-data"
))
if
(
Request
.
ContentType
.
Contains
(
"multipart/form-data"
))
...
@@ -38,7 +39,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
...
@@ -38,7 +39,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
stream
.
Read
(
buffer
,
0
,
buffer
.
Length
);
stream
.
Read
(
buffer
,
0
,
buffer
.
Length
);
string
content
=
Encoding
.
UTF8
.
GetString
(
buffer
);
string
content
=
Encoding
.
UTF8
.
GetString
(
buffer
);
IDictionary
<
string
,
object
>
dic
=
JsonConvert
.
DeserializeObject
<
IDictionary
<
string
,
object
>>(
content
);
IDictionary
<
string
,
object
>
dic
=
JsonConvert
.
DeserializeObject
<
IDictionary
<
string
,
object
>>(
content
);
dic
.
ForEach
(
l
=>
sqlparam
.
Add
(
l
.
Key
,
dic
[
l
.
Key
]));
dic
.
ForEach
(
l
=>
sqlparam
.
Add
(
l
.
Key
,
dic
[
l
.
Key
]
is
JArray
?
string
.
Join
(
","
,
(
JArray
)
dic
[
l
.
Key
])
:
dic
[
l
.
Key
]
));
}
}
}
}
break
;
break
;
...
@@ -56,7 +57,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
...
@@ -56,7 +57,7 @@ namespace Bailun.DC.Web.Areas.Component.Controllers
[
HttpGet
]
[
HttpGet
]
public
JsonResult
Get
(
int
?
id
=
null
,
string
code
=
null
)
public
JsonResult
Get
(
int
?
id
=
null
,
string
code
=
null
)
{
{
ResultDTO
result
=
new
ResultDTO
();
ResultDTO
result
=
new
ResultDTO
();
try
try
...
...
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
View file @
317bec10
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Bailun.DC.Web/wwwroot/css/component/el-form-control.css
View file @
317bec10
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
.el-form-control
.el-breadcrumb__item
.el-button
{
.el-form-control
.el-breadcrumb__item
.el-button
{
width
:
35px
;
width
:
35px
;
padding
:
0px
;
padding
:
2px
0px
0px
0px
;
margin-left
:
-4px
;
margin-left
:
-4px
;
height
:
32px
;
height
:
32px
;
border-top-left-radius
:
0px
;
border-top-left-radius
:
0px
;
...
...
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