| 12345678910111213141516171819202122232425262728293031323334 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- using WMS.Core._02Entity;
 
- using WMS.Info;
 
- namespace WMS.Core.APPBLL
 
- {
 
-     public class LocationBLL : AppCoreBLL
 
-     {
 
-         public ResInfo ClearLocation(string locationNo)
 
-         {
 
-             try
 
-             {
 
-                 if (string.IsNullOrWhiteSpace(locationNo))
 
-                     throw SysExCore.ThrowFailException("位置码不能为空");
 
-                 using (var ctx = SysDbCore.GetDbCtx())
 
-                 {
 
-                     var upd = ctx.Updateable<BASE_POINT>().SetColumns(it => new BASE_POINT()
 
-                     {
 
-                         F_status = (int)EPointSatus.Idle,
 
-                     }).Where(w => w.F_no == locationNo).ExecuteCommand();
 
-                 }
 
-                 return SysExCore.GetResSucc();
 
-             }
 
-             catch (Exception ex)
 
-             {
 
-                 throw ex;
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |