//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(""); } }
//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 ""; } }