Пример #1
0
        //添加
        public int AddS(WMS_Models.Pro_Models.PutStorageModel m)
        {
            string sql = "insert into PutStorage(PuName,PuRelevance,PuAuditNum,PuSupplierName,PuAuditPeople,PuAuditPhone,PuPrepared,PuPreparedTime,PuAddres) values('" + m.PuName + "','" + m.PuRelevance + "','" + m.PuAuditNum + "','" + m.PuSupplierName + "','" + m.PuAuditPeople + "','" + m.PuAuditPhone + "','" + m.PuPrepared + "','" + m.PuPreparedTime + "','" + m.PuAddres + "')";

            return(dal.Adds(sql));
        }