Merge branch 'master' of http://ldj:3000/root/ldj

This commit is contained in:
bobwang 2024-05-25 16:38:40 +08:00
commit b5827dedb4
2 changed files with 237 additions and 231 deletions

View File

@ -219,9 +219,10 @@ namespace DeiNiu.Wcf
DataTable getLightTasks(string query,int wareHouse, int partion, int lineId, int state, string date, bool isLight); DataTable getLightTasks(string query,int wareHouse, int partion, int lineId, int state, string date, bool isLight);
[OperationContract]
enumRepResult seedsPickOut2(string flowNo, int skuId, string productDate, string batch, int outDetailId, decimal seedCnt, string toFlowNo, int inDetailId, bool isForceClose);
} }
} }

View File

@ -14,7 +14,7 @@ namespace DeiNiu.Wcf
// 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码、svc 和配置文件中的类名“WmsOutPickRequest”。 // 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码、svc 和配置文件中的类名“WmsOutPickRequest”。
public class WmsOutPickRequestService : basicService, IWmsOutPickRequest public class WmsOutPickRequestService : basicService, IWmsOutPickRequest
{ {
private static lWmsOutPickRequest _lop; private static lWmsOutPickRequest _lop;
lWmsOutPickRequest lop { lWmsOutPickRequest lop {
get get
@ -42,7 +42,7 @@ namespace DeiNiu.Wcf
private static lWmsWave _lww; private static lWmsWave _lww;
lWmsWave lww lWmsWave lww
{ {
get get
{ {
@ -75,23 +75,23 @@ namespace DeiNiu.Wcf
if (isProcessWaveing) if (isProcessWaveing)
{ {
LogHelper.debug(typeof(WmsOutPickRequestService), "!!!!!!!!!!!!!!!!! new pick wave ... is processing... return ...."); LogHelper.debug(typeof(WmsOutPickRequestService), "!!!!!!!!!!!!!!!!! new pick wave ... is processing... return ....");
return; return;
} }
isProcessWaveing = true; isProcessWaveing = true;
// WmsConstants.WAVE_LINE = line; // WmsConstants.WAVE_LINE = line;
// WmsConstants.WAVE_SALE = sales; // WmsConstants.WAVE_SALE = sales;
try try
{ {
// lopp.newBulkDPSPickWave(); // lopp.newBulkDPSPickWave();
lop.newBulkDPSandSeedsPickWave(); lop.newBulkDPSandSeedsPickWave();
isProcessWaveing = false; isProcessWaveing = false;
} }
catch(Exception e) catch (Exception e)
{ {
LogHelper.debug(typeof(WmsOutPickRequestService), "!!!!!!!!!!!!!!!!!Exception !!!!!" +e.Message); LogHelper.debug(typeof(WmsOutPickRequestService), "!!!!!!!!!!!!!!!!!Exception !!!!!" + e.Message);
LogHelper.debug(typeof(WmsOutPickRequestService),e.StackTrace ); LogHelper.debug(typeof(WmsOutPickRequestService), e.StackTrace);
throw e; throw e;
} }
finally finally
@ -132,7 +132,7 @@ namespace DeiNiu.Wcf
try try
{ {
return lop.newPartPickWave(); return lop.newPartPickWave();
} }
catch (Exception e) catch (Exception e)
@ -177,9 +177,9 @@ namespace DeiNiu.Wcf
} }
public void finishCurrentWave(string waveNo,bool isForce) public void finishCurrentWave(string waveNo, bool isForce)
{ {
lop.finishCurrentWave(waveNo,isForce); lop.finishCurrentWave(waveNo, isForce);
} }
public void finishPartWave(int partion, bool isForce) public void finishPartWave(int partion, bool isForce)
@ -188,17 +188,17 @@ namespace DeiNiu.Wcf
} }
// public bool completeBulkValidation(string pickOrderNo, int bulkBox, int bulkBag, DataTable validationDetails) // public bool completeBulkValidation(string pickOrderNo, int bulkBox, int bulkBag, DataTable validationDetails)
// { // {
// return lop.completeBulkValidation(pickOrderNo, bulkBox, bulkBag, validationDetails); // return lop.completeBulkValidation(pickOrderNo, bulkBox, bulkBag, validationDetails);
// } // }
public bool completeBulkValidation(string pickOrderNo, int bulkBox, int bulkBag) public bool completeBulkValidation(string pickOrderNo, int bulkBox, int bulkBag)
{ {
return lop.completeBulkValidation(pickOrderNo, bulkBox, bulkBag); return lop.completeBulkValidation(pickOrderNo, bulkBox, bulkBag);
} }
public bool completeSeedsPack(string pickOrderNo, int bulkBox=0,int bulkBag=0) public bool completeSeedsPack(string pickOrderNo, int bulkBox = 0, int bulkBag = 0)
{ {
return lop.completeSeedsPack(pickOrderNo, bulkBox, bulkBag); return lop.completeSeedsPack(pickOrderNo, bulkBox, bulkBag);
@ -206,7 +206,7 @@ namespace DeiNiu.Wcf
} }
public bool completeBatchOut(string pickOrderNo) public bool completeBatchOut(string pickOrderNo)
{ {
return lop.updateBatchPickStatus(pickOrderNo,enumOutStockPickStatus.); return lop.updateBatchPickStatus(pickOrderNo, enumOutStockPickStatus.);
} }
@ -225,9 +225,9 @@ namespace DeiNiu.Wcf
{ {
return lop.getWmsOutPickRequest.getBulkDetailInCurrentWave().Tables[0]; return lop.getWmsOutPickRequest.getBulkDetailInCurrentWave().Tables[0];
} }
public DataTable getPartionBulkDetailInCurrentWave() public DataTable getPartionBulkDetailInCurrentWave()
{ {
return lop.getWmsOutPickRequest.getPartionBulkDetailInCurrentWave() ; return lop.getWmsOutPickRequest.getPartionBulkDetailInCurrentWave();
} }
public DataTable getPickDetailByWaveOrder(string waveOrder) public DataTable getPickDetailByWaveOrder(string waveOrder)
@ -237,11 +237,11 @@ namespace DeiNiu.Wcf
public DataTable getBulkValidationException(int status) public DataTable getBulkValidationException(int status)
{ {
return lop.getWmsOutPickRequest.getBulkValidationException((enumOutStockPickStatus)status ).Tables[0]; return lop.getWmsOutPickRequest.getBulkValidationException((enumOutStockPickStatus)status).Tables[0];
} }
public DataSet getBatchOutPickOrders4Pick() public DataSet getBatchOutPickOrders4Pick()
{ {
return lop.getBatchOutPickOrders4Pick() ; return lop.getBatchOutPickOrders4Pick();
} }
public DataTable getBatchOutPickOrderDetails(string pickOrderNo) public DataTable getBatchOutPickOrderDetails(string pickOrderNo)
@ -253,23 +253,23 @@ namespace DeiNiu.Wcf
{ {
return lop.getBatchOutPickOrderPickDetails(pickOrderNo).Tables[0]; return lop.getBatchOutPickOrderPickDetails(pickOrderNo).Tables[0];
} }
public DataTable getPickDetails(string orderNo,bool isPickOrder) public DataTable getPickDetails(string orderNo, bool isPickOrder)
{ {
return lop.getPickDetails(orderNo, isPickOrder).Tables[0]; return lop.getPickDetails(orderNo, isPickOrder).Tables[0];
} }
public DataSet getPickOrderDetails(string orderNo) public DataSet getPickOrderDetails(string orderNo)
{ {
return lop.getPickDetails(orderNo, true ); return lop.getPickDetails(orderNo, true);
} }
public DataTable getOrderLogs(string orderNo, bool isSaleOrder) public DataTable getOrderLogs(string orderNo, bool isSaleOrder)
{ {
return lop.getOrderLogs(orderNo, isSaleOrder ); return lop.getOrderLogs(orderNo, isSaleOrder);
} }
public DataSet getPickRequest4BulkValidate(int desk) public DataSet getPickRequest4BulkValidate(int desk)
{ {
return lop.getPickRequest4BulkValidate(desk) ; return lop.getPickRequest4BulkValidate(desk);
} }
public DataSet getPickRequest4SeedsOperation(int desk, int seedsStatus, string seedsNo = "") public DataSet getPickRequest4SeedsOperation(int desk, int seedsStatus, string seedsNo = "")
{ {
@ -280,9 +280,9 @@ namespace DeiNiu.Wcf
{ {
return lop.getWmsOutPickRequest.getPickDetailByPickOrderNo(pickOrder).Tables[0]; return lop.getWmsOutPickRequest.getPickDetailByPickOrderNo(pickOrder).Tables[0];
} }
public DataTable getPickDetailBySeedsPickOrderNo(string pickOrder,int skuId) public DataTable getPickDetailBySeedsPickOrderNo(string pickOrder, int skuId)
{ {
return lop.getWmsOutPickRequest.getPickDetailBySeedsPickOrderNo(pickOrder,skuId).Tables[0]; return lop.getWmsOutPickRequest.getPickDetailBySeedsPickOrderNo(pickOrder, skuId).Tables[0];
} }
public DataTable getBulkValidationExceptionSolutions(int desk) public DataTable getBulkValidationExceptionSolutions(int desk)
{ {
@ -300,17 +300,17 @@ namespace DeiNiu.Wcf
{ {
return new WmsOutPickLable().getPartPickedData((enumPickState)status).Tables[0]; return new WmsOutPickLable().getPartPickedData((enumPickState)status).Tables[0];
} }
public DataTable getCurrentPickList(int status ) public DataTable getCurrentPickList(int status)
{ {
return new WmsOutPickLable().getCurrentPickList((enumPickState)status).Tables[0]; return new WmsOutPickLable().getCurrentPickList((enumPickState)status).Tables[0];
} }
public DataTable getDpsPickList(string dpsOrder, int status) public DataTable getDpsPickList(string dpsOrder, int status)
{ {
return new WmsOutPickLable().getDpsPickList(dpsOrder,(enumPickState)status) ; return new WmsOutPickLable().getDpsPickList(dpsOrder, (enumPickState)status);
} }
public DataTable getPartsPickList(int[] parts,int status) public DataTable getPartsPickList(int[] parts, int status)
{ {
return new WmsOutPickLable().getPartsPickList( parts,(enumPickState)status) ; return new WmsOutPickLable().getPartsPickList(parts, (enumPickState)status);
} }
/// <summary> /// <summary>
/// 取指定分区的,指定状态的亮灯数据 /// 取指定分区的,指定状态的亮灯数据
@ -319,39 +319,39 @@ namespace DeiNiu.Wcf
/// <param name="parts"></param> /// <param name="parts"></param>
/// <param name="status"></param> /// <param name="status"></param>
/// <returns></returns> /// <returns></returns>
public DataTable getSeedDesksPickList(int part, int status) public DataTable getSeedDesksPickList(int part, int status)
{ {
return lop.getSeedDesksPickList(part, (enumPickState)status); return lop.getSeedDesksPickList(part, (enumPickState)status);
} }
public DataTable getRequests( int orderStatus) public DataTable getRequests(int orderStatus)
{ {
return lop.getWmsOutPickRequest.getRequests( (enumOutStockRequestStatus)orderStatus).Tables[0]; return lop.getWmsOutPickRequest.getRequests((enumOutStockRequestStatus)orderStatus).Tables[0];
} }
public int getRequests4WaveCnt( int orderStatus) public int getRequests4WaveCnt(int orderStatus)
{ {
return lop.getWmsOutPickRequest.getRequests( (enumOutStockRequestStatus)orderStatus).Tables[0].Rows.Count; return lop.getWmsOutPickRequest.getRequests((enumOutStockRequestStatus)orderStatus).Tables[0].Rows.Count;
} }
public bool updatePickingStatus(int color, int labId, int address, decimal count) public bool updatePickingStatus(int color, int labId, int address, decimal count)
{
return lop.updatePickingStatus(color, labId, count, address);
}
public bool updatePortPickingStatus(int userId,int color, int labId, int address, decimal count)
{ {
return lop.updatePortPickingStatus(color, labId, count, address,userId); return lop.updatePickingStatus(color, labId, count, address);
}
public bool updatePortPickingStatus(int userId, int color, int labId, int address, decimal count)
{
return lop.updatePortPickingStatus(color, labId, count, address, userId);
} }
public bool updateSeedsPickingStatus(int color, int labId, int address, decimal count,int partion=-1) public bool updateSeedsPickingStatus(int color, int labId, int address, decimal count, int partion = -1)
{ {
return lop.updateSeedsPickingStatus(color, labId, count, address); return lop.updateSeedsPickingStatus(color, labId, count, address);
} }
public bool updateValidBulkPickStatus(int id, int status, string remark, int reason, decimal count,int checkedBy1) public bool updateValidBulkPickStatus(int id, int status, string remark, int reason, decimal count, int checkedBy1)
{ {
return lop.finishBulkValidateItem( id, status, remark, reason, count, checkedBy1); return lop.finishBulkValidateItem(id, status, remark, reason, count, checkedBy1);
} }
/// <summary> /// <summary>
/// exception feedback /// exception feedback
/// </summary> /// </summary>
@ -360,89 +360,89 @@ namespace DeiNiu.Wcf
/// <param name="solution"></param> /// <param name="solution"></param>
/// <param name="reason"></param> /// <param name="reason"></param>
/// <returns></returns> /// <returns></returns>
public bool updateValidBulkPickExceptionStatus(int id, int status, string solution, int reason) public bool updateValidBulkPickExceptionStatus(int id, int status, string solution, int reason)
{ {
WmsOutPickDetail_tmp tmp = new WmsOutPickDetail_tmp(id); WmsOutPickDetail_tmp tmp = new WmsOutPickDetail_tmp(id);
tmp.bulkPickState = status; tmp.bulkPickState = status;
tmp.solutionRemark = solution; tmp.solutionRemark = solution;
tmp.validSolution = reason; tmp.validSolution = reason;
tmp.operater = getOperId(); tmp.operater = getOperId();
return tmp.Update() > 0; return tmp.Update() > 0;
} }
public bool updatePriority(string[] orders, int priority) public bool updatePriority(string[] orders, int priority)
{ {
return lop.updatePriority(orders, priority, getOperId()); return lop.updatePriority(orders, priority, getOperId());
} }
public void lightLables() public void lightLables()
{ {
lop.lightLables(); lop.lightLables();
} }
/** /**
* seeds * seeds
*/ */
public DataTable getSeedsGoods(string seedsNo) public DataTable getSeedsGoods(string seedsNo)
{ {
return lop.getSeedsGoods(seedsNo); return lop.getSeedsGoods(seedsNo);
} }
public DataSet getSeedsLightData(string seedsPickNo, string goodsId, string batch) public DataSet getSeedsLightData(string seedsPickNo, string goodsId, string batch)
{ {
return new WmsOutPickRequest().getSeedsLightData(seedsPickNo, goodsId, batch) ; return new WmsOutPickRequest().getSeedsLightData(seedsPickNo, goodsId, batch);
} }
public int updateSeedingStatus(string seedsPickNo, string goodsId, string batch, int labId, int address, decimal count,int checkedBy2) public int updateSeedingStatus(string seedsPickNo, string goodsId, string batch, int labId, int address, decimal count, int checkedBy2)
{ {
LogHelper.debug(typeof(WmsOutPickRequestService), "begin to update seeding pick.....>"); LogHelper.debug(typeof(WmsOutPickRequestService), "begin to update seeding pick.....>");
return (int) lop.updateSeedingStatus(seedsPickNo, goodsId, batch, labId, address, count, checkedBy2); return (int)lop.updateSeedingStatus(seedsPickNo, goodsId, batch, labId, address, count, checkedBy2);
} }
public DataTable getSeedsPackingData(int desk) public DataTable getSeedsPackingData(int desk)
{ {
return lop.outPickTmp.getPackingData(desk); return lop.outPickTmp.getPackingData(desk);
} }
public DataTable getPackingDataByPickOrderNo(string pickOrderNo ) public DataTable getPackingDataByPickOrderNo(string pickOrderNo)
{ {
return lop.outPickTmp.getPackingDataByPickOrderNo(pickOrderNo); return lop.outPickTmp.getPackingDataByPickOrderNo(pickOrderNo);
} }
public DataTable getPickOrderTmsInfo(string pickOrderNo) public DataTable getPickOrderTmsInfo(string pickOrderNo)
{ {
return lop.getPickOrderTmsInfo(pickOrderNo); return lop.getPickOrderTmsInfo(pickOrderNo);
} }
/// <summary> /// <summary>
/// 取wave 拣货明细,打印取货标签 /// 取wave 拣货明细,打印取货标签
/// </summary> /// </summary>
/// <param name="waveNo"></param> /// <param name="waveNo"></param>
/// <returns></returns> /// <returns></returns>
public DataTable getPickVolInfo(string waveNo, int volType) public DataTable getPickVolInfo(string waveNo, int volType)
{
return lopp.getPickInfo(waveNo, volType);
}
public DataTable getPickInfo(string waveNo )
{
return lopp.getPickInfo(waveNo );
}
public DataTable getPickSummary(string waveNo,int volType)
{
return lopp.getPickSummary(waveNo, volType);
}
public DataTable getPickLightTasks(int takeBy,int partion ,int orderType )
{ {
return lopp.getPickLightTasks( takeBy, partion, orderType); return lopp.getPickInfo(waveNo, volType);
}
public DataTable getPickInfo(string waveNo)
{
return lopp.getPickInfo(waveNo);
}
public DataTable getPickSummary(string waveNo, int volType)
{
return lopp.getPickSummary(waveNo, volType);
}
public DataTable getPickLightTasks(int takeBy, int partion, int orderType)
{
return lopp.getPickLightTasks(takeBy, partion, orderType);
} }
public int clearJobLightTask(string jobNo) public int clearJobLightTask(string jobNo)
@ -451,83 +451,83 @@ namespace DeiNiu.Wcf
} }
public bool regBox(string boxid, string waveno, int color) public bool regBox(string boxid, string waveno, int color)
{ {
return lop.regBox(boxid, waveno, color); return lop.regBox(boxid, waveno, color);
} }
public DataSet getBoxRegWaves() public DataSet getBoxRegWaves()
{ {
return lop.getBoxWaves(); return lop.getBoxWaves();
} }
public DataTable getBoxsByWave(string waveOrder, int color = -1) public DataTable getBoxsByWave(string waveOrder, int color = -1)
{ {
return lop.getBoxsByWave(waveOrder, color); return lop.getBoxsByWave(waveOrder, color);
} }
public string getWaveNoByBoxId(string boxId) public string getWaveNoByBoxId(string boxId)
{ {
return lop.getWaveNoByBoxId(boxId); return lop.getWaveNoByBoxId(boxId);
} }
public DataTable getWaveDeskByBoxId(string boxId) public DataTable getWaveDeskByBoxId(string boxId)
{ {
return lop.getWaveDeskByBoxId(boxId); return lop.getWaveDeskByBoxId(boxId);
} }
public DataTable getPartionPickDetailByBoxId(String boxId) public DataTable getPartionPickDetailByBoxId(String boxId)
{ {
return lop.getPartionPickDetailByBoxId(boxId); return lop.getPartionPickDetailByBoxId(boxId);
} }
public void switchLights(bool isOn) public void switchLights(bool isOn)
{ {
WmsConstants.OUT_LIGHT_ENABLE = isOn; WmsConstants.OUT_LIGHT_ENABLE = isOn;
} }
public DataTable getBoxsByPickOrder(string pickOrderNo) public DataTable getBoxsByPickOrder(string pickOrderNo)
{ {
return lop.getBoxsByPickOrder(pickOrderNo); return lop.getBoxsByPickOrder(pickOrderNo);
} }
public List<int> getPartsFinishIds() public List<int> getPartsFinishIds()
{ {
return lop.getPartsFinishIds(); return lop.getPartsFinishIds();
} }
public void newPartionPick(string pickOrderNo, int partion) public void newPartionPick(string pickOrderNo, int partion)
{ {
lop.newPartionPick(pickOrderNo, partion); lop.newPartionPick(pickOrderNo, partion);
} }
public DataTable getOrderPickList(string orderNo, bool isPickOrder, int partion) public DataTable getOrderPickList(string orderNo, bool isPickOrder, int partion)
{ {
return lop.getOrderPickList(orderNo, isPickOrder, partion); return lop.getOrderPickList(orderNo, isPickOrder, partion);
} }
public DataSet getWaves(string query, int rowStart, int rowEnd) public DataSet getWaves(string query, int rowStart, int rowEnd)
{ {
return lww.Query(query, rowStart, rowEnd); return lww.Query(query, rowStart, rowEnd);
} }
public DataSet getTasks(string query, int rowStart, int rowEnd) public DataSet getTasks(string query, int rowStart, int rowEnd)
{ {
return lopp.Query(query, rowStart, rowEnd); return lopp.Query(query, rowStart, rowEnd);
} }
public DataTable getRepTasks(int takeBy, int taskPartion) public DataTable getRepTasks(int takeBy, int taskPartion)
{ {
return lopp.getRepTasks( takeBy, taskPartion ); return lopp.getRepTasks(takeBy, taskPartion);
} }
public DataSet getWaveDetailPages(string waveNo, int rowStart, int rowEnd) public DataSet getWaveDetailPages(string waveNo, int rowStart, int rowEnd)
{ {
return lopp.getWaveDetails(waveNo, rowStart, rowEnd); return lopp.getWaveDetails(waveNo, rowStart, rowEnd);
} }
public DataTable getWaveDetails(string waveNo) public DataTable getWaveDetails(string waveNo)
{ {
return lopp.getWaveDetails(waveNo ); return lopp.getWaveDetails(waveNo);
} }
static bool isCreateWaveing = false; static bool isCreateWaveing = false;
public bool createPickWaves() public bool createPickWaves()
{ {
log.Debug(" svc begin to createPickWaves..."); log.Debug(" svc begin to createPickWaves...");
@ -560,49 +560,49 @@ namespace DeiNiu.Wcf
return ok; return ok;
} }
public int regSeedsPlate(string plateId, int partion) public int regSeedsPlate(string plateId, int partion)
{
return (int)lop.regSeedsPlate(plateId, partion);
}
public DataTable getPlatePickList(string plateId, int partion)
{
return lop.getPlatePickList(plateId, partion);
}
public DataTable getDeskList(int deskType)
{
return lop.getDeskList((enumDeskType)deskType);
}
public int setDeskFree(int deskId)
{
return lop.setDeskFree(deskId);
}
public int setPlateFree(string plateId)
{
return lop.setPlateFree(plateId);
}
public DataTable getTaskAssigned(int operId, int partion, int lineId, bool batchOnly, int orderType)
{
return lopp.getAssignedTasks4Wince(operId, partion, lineId, batchOnly, (enumOrderType)orderType);
}
public DataTable getDeskByColor(int color)
{
return new WmsOutDesk().getDeskByColor(color);
}
public int setDeskAvailable(int color, bool isAvailable)
{
return ldesk.setAvailable(color, isAvailable);
}
public DataTable lightByJob(int userId,string jobNo,bool isValid)
{ {
return lopp.prePareLightByJob(userId,jobNo,isValid); return (int)lop.regSeedsPlate(plateId, partion);
}
public DataTable getPlatePickList(string plateId, int partion)
{
return lop.getPlatePickList(plateId, partion);
}
public DataTable getDeskList(int deskType)
{
return lop.getDeskList((enumDeskType)deskType);
}
public int setDeskFree(int deskId)
{
return lop.setDeskFree(deskId);
}
public int setPlateFree(string plateId)
{
return lop.setPlateFree(plateId);
}
public DataTable getTaskAssigned(int operId, int partion, int lineId, bool batchOnly, int orderType)
{
return lopp.getAssignedTasks4Wince(operId, partion, lineId, batchOnly, (enumOrderType)orderType);
}
public DataTable getDeskByColor(int color)
{
return new WmsOutDesk().getDeskByColor(color);
}
public int setDeskAvailable(int color, bool isAvailable)
{
return ldesk.setAvailable(color, isAvailable);
}
public DataTable lightByJob(int userId, string jobNo, bool isValid)
{
return lopp.prePareLightByJob(userId, jobNo, isValid);
} }
public DataTable getRequestDtByTransNo(string transNo) public DataTable getRequestDtByTransNo(string transNo)
@ -612,19 +612,24 @@ namespace DeiNiu.Wcf
} }
public string assignTasks(int[] ids, int empId) public string assignTasks(int[] ids, int empId)
{ {
return lop.assignTasks(ids, empId); return lop.assignTasks(ids, empId);
} }
public DataTable getLightTasks(string query,int wareHouse,int partion, int lineId,int state,string date,bool isLight) public DataTable getLightTasks(string query, int wareHouse, int partion, int lineId, int state, string date, bool isLight)
{ {
return lopp.getLightTasks(query,wareHouse, partion, lineId, state,date,isLight); return lopp.getLightTasks(query, wareHouse, partion, lineId, state, date, isLight);
} }
public DataTable lightSeeds(int deskId, string flowno, string barcode, int userId, bool isValid) public DataTable lightSeeds(int deskId, string flowno, string barcode, int userId, bool isValid)
{ {
return lopp.prePareLightSeeds(deskId, flowno, barcode, userId, isValid); return lopp.prePareLightSeeds(deskId, flowno, barcode, userId, isValid);
}
public enumRepResult seedsPickOut2(string flowNo, int skuId, string productDate, string batch, int outDetailId, decimal seedCnt, string toFlowNo, int inDetailId, bool isForceClose)
{
return lopp.seedsPickOut(flowNo, skuId, productDate, batch, outDetailId, seedCnt, toFlowNo, inDetailId, isForceClose);
} }
} }
} }