protected void Input(List<string[]> parameters, Sql_struct[] sql_struct)
 {
     int length = sql_struct.Length;
     sqls = new string[length];
     for (int i = 0; i < length; i++)
     {
         Input(parameters[i], sql_struct[i]);
         sqls[i] = GetSql();
     }
 }
 //入参
 protected void Input(string[] parameters, Sql_struct sql_struct)
 {
     for (int i = 0; i < parameters.Length; i++)
     {
         if (parameters[i] == "")
         {
             throw new Exception("输入的" + sql_struct.GetName()[i] + "为空");
         }
     }
     if (sql_struct.GetParamCount() == parameters.Length)
     {
         SetSql(sql_struct.GetSql(), parameters);
     }
     else
     {
         throw new Exception("SQL语句输入错误!" + SetSql(sql_struct.GetSql(), parameters));
     }
 }
 //入参
 protected void Input(string[] parameters, Sql_struct sql_struct)
 {
     for (int i = 0; i < parameters.Length; i++)
     {
         if (parameters[i] == "")
         {
             throw new Exception("输入的" + sql_struct.GetName()[i] + "为空");
         }
     }
     if (sql_struct.GetParamCount() == parameters.Length)
     {
         SetSql(sql_struct.GetSql(), parameters);
     }
     else
     {
         throw new Exception("SQL语句输入错误!" + SetSql(sql_struct.GetSql(), parameters));
     }
 }
 //插入--0 货号             1 名称     2 数量 3 插入时间 4 专柜名称
 //更新--0 时实库存-发放数量 1 插入时间 2 货号
 public override void Input(List <string []> paramers)
 {
     Sql_struct[] sql_struct = new Sql_struct[] { new Sql_struct2(), new Sql_struct3() };
     base.Input(paramers, sql_struct);
 }
 //插入--0 货号             1 名称     2 数量 3 插入时间 4 专柜名称
 //更新--0 时实库存-发放数量 1 插入时间 2 货号
 public override void Input(List<string []> paramers)
 {
     Sql_struct[] sql_struct = new Sql_struct[] { new Sql_struct2(), new Sql_struct3() };
     base.Input(paramers, sql_struct);
 }