コード例 #1
0
        //todo 改成支持多个Tab
        // 地址:GET api/mms/@(controller)/getnewrowid 预取得新的明细表的行号
        public string GetNewRowId(string type, string key, int qty = 1)
        {
            switch (type)
            {
            case "grid1":
                var service1 = new mms_dealDetailService();
                return(service1.GetNewKey("RowId", "maxplus", qty, ParamQuery.Instance().Where("BillNo", key)));

            default:
                return("");
            }
        }
コード例 #2
0
 //todo 改成支持多个Tab
 // 地址:GET api/mms/@(controller)/getnewrowid 预取得新的明细表的行号
 public string GetNewRowId(string type,string key,int qty=1)
 {
     switch (type)
     {
         case "grid1":
             var service1 = new mms_dealDetailService();
             return service1.GetNewKey("RowId", "maxplus", qty, ParamQuery.Instance().Where("BillNo", key));
         default:
             return "";
     }
 }