示例#1
0
    //新增一条记录
    protected string AddNewRecord(string running_no, string po_no, string warehouse_code, string barcode_no, string scan_time, string run_no_for_modify, string modify_flag)
    {
        string _returnString = string.Empty;

        _returnString = DataModelUtility.addNewRecord(running_no, po_no, warehouse_code, barcode_no, scan_time, run_no_for_modify, modify_flag);
        return(_returnString);
    }
示例#2
0
    internal static string AddNewOrder(Dictionary <string, object> param)
    {
        string _returnString = string.Empty;
        string running_no = string.Empty, po_no = string.Empty, warehouse_code = string.Empty, barcode_no = string.Empty, scan_time = string.Empty, run_no_for_modify = string.Empty, modify_flag = string.Empty;

        running_no        = param["Onum"].ToString();
        warehouse_code    = param["GN"].ToString();
        po_no             = param["PO"].ToString();
        barcode_no        = param["SN"].ToString();
        scan_time         = param["ST"].ToString();
        run_no_for_modify = param["OW"].ToString();
        modify_flag       = param["Flag"].ToString();

        _returnString = DataModelUtility.addNewRecord(running_no, po_no, warehouse_code, barcode_no, scan_time, run_no_for_modify, modify_flag);
        _returnString = "ok";
        return(_returnString);
    }