//GetDeleteData
        public string GetDeleteData(string id)
        {
            string msg = string.Empty;
            int    res = new PRS_RectificationDetailService().GetDeleteData(id, out msg);

            return(msg);
        }
        //todo 改成支持多个Tab
        // 地址:GET api/mms/@(controller)/getnewrowid 预取得新的明细表的行号
        public string GetNewRowId(string type, string key, int qty = 1)
        {
            switch (type)
            {
            case "grid0":
                var service0 = new PRS_RectificationDetailService();
                return(service0.GetNewKey("ID", "maxplus", qty, ParamQuery.Instance().AndWhere("ID", key, Cp.Equal)));

            default:
                return("");
            }
        }