Browse Source

接料数据接口更新

callm 11 months ago
parent
commit
bbd3fa1776
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

+ 1 - 1
src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

@@ -326,7 +326,7 @@ public class MESHelperServiceImpl implements MESHelperService {
 				int pu_id=baseDao.getSeqId("PACKAGINGUNIT_seq");
 				baseDao.execute("insert into PACKAGINGUNIT(PU_ID,PUID,PU_SRID,ComponentBarcodeFragment,ComponentBarcode,OriginalQuantity,Quantity,CreateDate," +
 						"DateCode,BatchId,MsdLevel,makecode)values('"+pu_id+"','"+PUID+"','"+sr_id+"','"+ComponentBarcodeFragment+"','"+ComponentBarcode+"','"+OriginalQuantity+"','"+Quantity+"',to_date('"+CreateDate+"','yyyy-mm-dd hh24:mi:ss')," +
-						"'"+DateCode+"','"+BatchId+"','"+MsdLevel+"','"+makecode!=null?makecode.toString():""+"')");
+						"'"+DateCode+"','"+BatchId+"','"+MsdLevel+"','"+makecode+"')");
 				if(LockInfoList!=null){
 					JSONArray LockInfoItem=LockInfoList.getJSONArray("LockInfoItem");
 					for(int i=0;i<LockInfoItem.size();i++){