コード例 #1
0
        public int InsertMea(Model.Measures measure)
        {
            measure.MeDate = DateTime.Now;
            int id = -1;

            if (DalBase.Insert(measure) > 0)
            {
                Model.CustomLosts c = new Model.CustomLosts()
                {
                    CLState = 2,
                    CLID    = measure.CLID,
                };
                id = UpdLost(c);
            }
            return(id);
        }
コード例 #2
0
 public int UpdLost(Model.CustomLosts lost)
 {
     lost.CLState     = 3;
     lost.CLEnterDate = DateTime.Now;
     return(DalBase.Updata(lost));
 }
コード例 #3
0
 public int UpdLost(Model.CustomLosts losts)
 {
     return(DalBase.Updata(losts));
 }