Commit a8f53e77 by lizefeng

规则组配置

parent 48387866
......@@ -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)
{
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment