|
|
@@ -1313,8 +1313,12 @@ namespace UAS_MES.PublicMethod
|
|
|
|
|
|
public static void RecordProdWeight(string iSN, string iType, string iScanValue, float iWeight, string iUnit, string iLineCode, string iPrCode, string iSource, string iUser)
|
|
|
{
|
|
|
-
|
|
|
- sql.Append("");
|
|
|
+ //记录重量
|
|
|
+ sql.Clear();
|
|
|
+ sql.Append("insert into weightlog(wl_id,wl_type,wl_scancode,wl_weight,wl_unit,wl_linecode,");
|
|
|
+ sql.Append("wl_prodcode,wl_sccode,wl_indate,wl_inman) values (weightlog_seq.nextval,:type,:palletcode,");
|
|
|
+ sql.Append(":weight,:unit,:linecode,:prodcode,:sccode,sysdate,:inman)");
|
|
|
+ dh.ExecuteSql(sql.ToString(), "insert", iType,iScanValue, iWeight,iUnit, User.UserLineCode, iPrCode, iSource, iUser);
|
|
|
}
|
|
|
|
|
|
|