|
|
@@ -329,8 +329,8 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
"'"+ActionType+"','"+LineName+"','"+OrderNumber+"','"+MachineName+"','"+TableId+"','"+DockingStationID+"'," +
|
|
|
"'"+Operator+"','"+TableLocation+"','"+FeederTypeName+"','"+FeederID+"',to_date('"+MessageSendTime+"','yyyy-mm-dd hh24:mi:ss'))");
|
|
|
int pu_id=baseDao.getSeqId("PACKAGINGUNIT_seq");
|
|
|
- baseDao.execute("insert into PACKAGINGUNIT(PU_ID,PU_SRID,ComponentBarcode,OriginalQuantity,Quantity,CreateDate," +
|
|
|
- "DateCode,BatchId,MsdLevel)values('"+pu_id+"','"+sr_id+"','"+ComponentBarcode+"','"+OriginalQuantity+"','"+Quantity+"',to_date('"+CreateDate+"','yyyy-mm-dd hh24:mi:ss')," +
|
|
|
+ baseDao.execute("insert into PACKAGINGUNIT(PU_ID,PUID,PU_SRID,ComponentBarcode,OriginalQuantity,Quantity,CreateDate," +
|
|
|
+ "DateCode,BatchId,MsdLevel)values('"+pu_id+"','"+PUID+"','"+sr_id+"','"+ComponentBarcode+"','"+OriginalQuantity+"','"+Quantity+"',to_date('"+CreateDate+"','yyyy-mm-dd hh24:mi:ss')," +
|
|
|
"'"+DateCode+"','"+BatchId+"','"+MsdLevel+"')");
|
|
|
if(LockInfoList!=null){
|
|
|
JSONArray LockInfoItem=LockInfoList.getJSONArray("LockInfoItem");
|