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
a8f53e77
Commit
a8f53e77
authored
Sep 10, 2019
by
lizefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规则组配置
parent
48387866
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
dc_auto_jit_tag.cs
AutoTurnOver.DB/dc_auto_jit_tag.cs
+4
-1
dc_auto_jit_tag.cs
AutoTurnOver.Models/dc_auto_jit_tag.cs
+1
-1
No files found.
AutoTurnOver.DB/dc_auto_jit_tag.cs
View file @
a8f53e77
...
...
@@ -106,7 +106,10 @@ where 1 = 1 ";
/// <returns></returns>
public
static
string
SaveJitTag
(
dc_auto_jit_tag
m
,
string
username
)
{
if
(
m
.
group_id
==
null
||
m
.
group_id
<=
0
)
{
throw
new
Exception
(
"所属规则组必选"
);
}
m
.
gmt_update
=
DateTime
.
Now
;
if
(
m
.
is_eliminate
==
1
)
{
...
...
AutoTurnOver.Models/dc_auto_jit_tag.cs
View file @
a8f53e77
...
...
@@ -11,7 +11,7 @@ namespace AutoTurnOver.Models
public
class
dc_auto_jit_tag
{
public
int
id
{
get
;
set
;
}
public
int
?
group_id
{
get
;
set
;
}
public
string
tag_name
{
get
;
set
;
}
/// <summary>
...
...
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