杨前锦
2025-05-26 d0a265713fd18162f3a82bdcd22e267df7298c7b
HH.WCS.Mobox3/HH.WCS.Mobox3.YNJT_BZP_GT/wms/WMSHelper.cs
@@ -797,10 +797,10 @@
        /// </summary>
        /// <param name="lastTime"></param>
        /// <returns></returns>
        public static List<MaltInformation> getMaltInfoList(DateTime lastTime)
        public static List<MatlInformation> getMaltInfoList(string lastTime)
        {
            var db = new SqlHelper<object>().GetInstance();
            return db.Queryable<MaltInformation>().Where( a => a.last_modify_time >= lastTime).OrderByDescending( a => a.last_modify_time).ToList();
            return db.Queryable<MatlInformation>().Where( a => DateTime.Parse(a.last_modify_time) >= DateTime.Parse(lastTime)).OrderByDescending( a => a.last_modify_time).ToList();
        }
        /// <summary>
@@ -808,16 +808,16 @@
        /// </summary>
        /// <param name="lastTime"></param>
        /// <returns></returns>
        public static List<TableOfBarcodeStatus> getMaltStatusList(DateTime lastTime)
        public static List<TableOfBarcodeStatus> getMaltStatusList(string lastTime)
        {
            var db = new SqlHelper<object>().GetInstance();
            return db.Queryable<TableOfBarcodeStatus>().Where(a => a.last_modify_time >= lastTime && a.bld_date == null).OrderByDescending(a => a.last_modify_time).ToList();
            return db.Queryable<TableOfBarcodeStatus>().Where(a => DateTime.Parse(a.last_modify_time) >= DateTime.Parse(lastTime) && a.bld_date == null).OrderByDescending(a => a.last_modify_time).ToList();
        }
        public static List<Overage> getOverageList(DateTime lastTime)
        public static List<Overage> getOverageList(string lastTime)
        {
            var db = new SqlHelper<object>().GetInstance();
            return db.Queryable<Overage>().Where(a => a.last_modify_time >= lastTime ).OrderByDescending(a => a.last_modify_time).ToList();
            return db.Queryable<Overage>().Where(a => DateTime.Parse(a.last_modify_time) >= DateTime.Parse(lastTime) ).OrderByDescending(a => a.last_modify_time).ToList();
        }
        /// <summary>