Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
494ba7e2
Commit
494ba7e2
authored
Feb 14, 2023
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增现金流项目列表查询
parent
e19a02b9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
dc_ana_deviation_dao.cs
AutoTurnOver.DB/dc_ana_deviation_dao.cs
+5
-0
DeviationServices.cs
AutoTurnOver.Services/DeviationServices.cs
+4
-0
DeviationController.cs
AutoTurnOver/Controllers/DeviationController.cs
+6
-0
No files found.
AutoTurnOver.DB/dc_ana_deviation_dao.cs
View file @
494ba7e2
...
...
@@ -500,5 +500,10 @@ namespace AutoTurnOver.DB
RabbitMQHelper
.
EnqueneMsg
(
"aims:deviation-v3:input"
,
new
t_task_queue
{
id
=
item
.
ToJson
(),
create_time
=
DateTime
.
Now
});
}
}
public
static
List
<
string
>
GetProjects
()
{
return
_connection
.
Query
<
string
>(
"select DISTINCT project from dc_ana_deviation_sku"
).
ToList
();
}
}
}
AutoTurnOver.Services/DeviationServices.cs
View file @
494ba7e2
...
...
@@ -25,5 +25,9 @@ namespace AutoTurnOver.Services
return
datas
;
}
public
List
<
string
>
GetProjects
()
{
return
dc_ana_deviation_dao
.
GetProjects
();
}
}
}
AutoTurnOver/Controllers/DeviationController.cs
View file @
494ba7e2
...
...
@@ -49,5 +49,10 @@ namespace AutoTurnOver.Controllers
total
=
total
,
});
}
public
JsonResult
Projects
()
{
return
new
JsonResult
(
new
DeviationServices
().
GetProjects
().
Select
(
s
=>
new
{
Name
=
s
}));
}
}
}
\ 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