|
|
@@ -908,8 +908,8 @@ public class ERPServiceImpl implements ERPService {
|
|
|
" from "+master+".prodinout where pi_id = "+prodInOut.getPiId());
|
|
|
//写入 prodiowms_Lines 账套
|
|
|
baseDao.execute("delete from "+master+".prodiowms_lines where pl_piid = "+prodInOut.getPiId());
|
|
|
- baseDao.execute("INSERT INTO "+master+".prodiowms_Lines(ITIME,PL_PIID,LINENO, ITEMCODE, PLANQTY,ITIME,virtualWarehouse, USERDEFINED1,userDefined3,USERDEFINED4)" +
|
|
|
- "select sysdate,pdPiid,pdPdno,pdProdcode,pdQty,SYSDATE,pdWhname,pdInBatch,pdBrandName,'"+master+"' from ("+detSql+") ");
|
|
|
+ baseDao.execute("INSERT INTO "+master+".prodiowms_Lines(ITIME,PL_PIID,LINENO, ITEMCODE, PLANQTY,virtualWarehouse, USERDEFINED1,userDefined3,USERDEFINED4)" +
|
|
|
+ "select sysdate,pdPiid,pdPdno,pdProdcode,pdQty,pdWhname,pdInBatch,pdBrandName,'"+master+"' from ("+detSql+") ");
|
|
|
}
|
|
|
}
|
|
|
return prodInOut;
|