12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813 |
- {"查询激活记录列表": {
- "prefix": "ym-db-ActivateRecord-Find",
- "body": [
- "List<ActivateRecord> $1 = db.ActivateRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (ActivateRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询激活记录列表,并取值": {
- "prefix": "ym-db-ActivateRecord-FindWithData",
- "body": [
- "List<ActivateRecord> $1 = db.ActivateRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (ActivateRecord $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string SnNo = $3.SnNo; //终端机身号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " string AssessMonth = $3.AssessMonth; //考核月",
- " string AssessMonthCount = $3.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $3.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $3.ActivateDate; //激活日期",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string Remark = $3.Remark; //备注",
- " string AgentNo = $3.AgentNo; //代理商编号",
- " string ProductType = $3.ProductType; //产品类型",
- " string ChannelSerial = $3.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询激活记录": {
- "prefix": "ym-db-ActivateRecord-Exist",
- "body": [
- "bool $1 = db.ActivateRecord.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个激活记录,并取值": {
- "prefix": "ym-db-ActivateRecord-FindByPrimaryKey",
- "body": [
- "ActivateRecord $1 = db.ActivateRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string SnNo = $1.SnNo; //终端机身号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " string AssessMonth = $1.AssessMonth; //考核月",
- " string AssessMonthCount = $1.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $1.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $1.ActivateDate; //激活日期",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string Remark = $1.Remark; //备注",
- " string AgentNo = $1.AgentNo; //代理商编号",
- " string ProductType = $1.ProductType; //产品类型",
- " string ChannelSerial = $1.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询某个激活记录,并赋值": {
- "prefix": "ym-db-ActivateRecord-Update",
- "body": [
- "ActivateRecord $1 = db.ActivateRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.MerMobile = $4; //商户手机号",
- " $1.SnNo = $5; //终端机身号",
- " $1.MerRegDate = $6; //注册日期",
- " $1.AssessMonth = $7; //考核月",
- " $1.AssessMonthCount = $8; //考核第几月",
- " $1.ActivateStatus = $9; //激活状态",
- " $1.ActivateDate = $10; //激活日期",
- " $1.MerRealName = $11; //商户真实姓名",
- " $1.MerIdcardNo = $12; //商户身份证号",
- " $1.BizEnterNo = $13; //业务员编号",
- " $1.BizEnterName = $14; //业务员名称",
- " $1.Remark = $15; //备注",
- " $1.AgentNo = $16; //代理商编号",
- " $1.ProductType = $17; //产品类型",
- " $1.ChannelSerial = $18; //渠道流水号",
- "}"
- ]
- },
- "获取激活记录数量": {
- "prefix": "ym-db-ActivateRecord-FindAndCount",
- "body": [
- "int $1 = db.ActivateRecord.Count(m => $2);",
- ]
- },
- "添加激活记录": {
- "prefix": "ym-db-ActivateRecord-Create",
- "body": [
- "db.ActivateRecord.Add(new ActivateRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " MerMobile = $3, //商户手机号",
- " SnNo = $4, //终端机身号",
- " MerRegDate = $5, //注册日期",
- " AssessMonth = $6, //考核月",
- " AssessMonthCount = $7, //考核第几月",
- " ActivateStatus = $8, //激活状态",
- " ActivateDate = $9, //激活日期",
- " MerRealName = $10, //商户真实姓名",
- " MerIdcardNo = $11, //商户身份证号",
- " BizEnterNo = $12, //业务员编号",
- " BizEnterName = $13, //业务员名称",
- " Remark = $14, //备注",
- " AgentNo = $15, //代理商编号",
- " ProductType = $16, //产品类型",
- " ChannelSerial = $17, //渠道流水号",
- "});"
- ]
- },"删除某个激活记录": {
- "prefix": "ym-db-ActivateRecord-Delete",
- "body": [
- "ActivateRecord $1 = db.ActivateRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.ActivateRecord.Remove($1);",
- "}"
- ]
- },
- "查询绑定记录列表": {
- "prefix": "ym-db-BindRecord-Find",
- "body": [
- "List<BindRecord> $1 = db.BindRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (BindRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询绑定记录列表,并取值": {
- "prefix": "ym-db-BindRecord-FindWithData",
- "body": [
- "List<BindRecord> $1 = db.BindRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (BindRecord $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " DateTime MerOperateDate = $3.MerOperateDate; //操作时间",
- " string MerOperateType = $3.MerOperateType; //操作类型",
- " string MerStatus = $3.MerStatus; //商户状态",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerNewSnNo = $3.MerNewSnNo; //新终端机身号",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string ChannelSerial = $3.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询绑定记录": {
- "prefix": "ym-db-BindRecord-Exist",
- "body": [
- "bool $1 = db.BindRecord.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个绑定记录,并取值": {
- "prefix": "ym-db-BindRecord-FindByPrimaryKey",
- "body": [
- "BindRecord $1 = db.BindRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " DateTime MerOperateDate = $1.MerOperateDate; //操作时间",
- " string MerOperateType = $1.MerOperateType; //操作类型",
- " string MerStatus = $1.MerStatus; //商户状态",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerNewSnNo = $1.MerNewSnNo; //新终端机身号",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string ChannelSerial = $1.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询某个绑定记录,并赋值": {
- "prefix": "ym-db-BindRecord-Update",
- "body": [
- "BindRecord $1 = db.BindRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.MerSnNo = $5; //终端机身号",
- " $1.MerOperateDate = $6; //操作时间",
- " $1.MerOperateType = $7; //操作类型",
- " $1.MerStatus = $8; //商户状态",
- " $1.ProductType = $9; //产品类型",
- " $1.MerNewSnNo = $10; //新终端机身号",
- " $1.Remark = $11; //注释",
- " $1.CreateTime = $12; //创建时间",
- " $1.UpdateTime = $13; //更新时间",
- " $1.ChannelSerial = $14; //渠道流水号",
- "}"
- ]
- },
- "获取绑定记录数量": {
- "prefix": "ym-db-BindRecord-FindAndCount",
- "body": [
- "int $1 = db.BindRecord.Count(m => $2);",
- ]
- },
- "添加绑定记录": {
- "prefix": "ym-db-BindRecord-Create",
- "body": [
- "db.BindRecord.Add(new BindRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " MerSnNo = $4, //终端机身号",
- " MerOperateDate = $5, //操作时间",
- " MerOperateType = $6, //操作类型",
- " MerStatus = $7, //商户状态",
- " ProductType = $8, //产品类型",
- " MerNewSnNo = $9, //新终端机身号",
- " Remark = $10, //注释",
- " CreateTime = $11, //创建时间",
- " UpdateTime = $12, //更新时间",
- " ChannelSerial = $13, //渠道流水号",
- "});"
- ]
- },"删除某个绑定记录": {
- "prefix": "ym-db-BindRecord-Delete",
- "body": [
- "BindRecord $1 = db.BindRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.BindRecord.Remove($1);",
- "}"
- ]
- },
- "查询自建表创建记录列表": {
- "prefix": "ym-db-CustomerTableRecord-Find",
- "body": [
- "List<CustomerTableRecord> $1 = db.CustomerTableRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (CustomerTableRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询自建表创建记录列表,并取值": {
- "prefix": "ym-db-CustomerTableRecord-FindWithData",
- "body": [
- "List<CustomerTableRecord> $1 = db.CustomerTableRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (CustomerTableRecord $3 in $1)",
- "{",
- " string TableEnName = $3.TableEnName; //表名",
- " DateTime CreateDate = $3.CreateDate; //创建时间",
- " DateTime AddTableDate = $3.AddTableDate; //分表时间",
- "}"
- ]
- },
- "查询自建表创建记录": {
- "prefix": "ym-db-CustomerTableRecord-Exist",
- "body": [
- "bool $1 = db.CustomerTableRecord.Any(m => m.TableEnName == $2);",
- ]
- },
- "查询某个自建表创建记录,并取值": {
- "prefix": "ym-db-CustomerTableRecord-FindByPrimaryKey",
- "body": [
- "CustomerTableRecord $1 = db.CustomerTableRecord.FirstOrDefault(m => m.TableEnName == $2);",
- "if ($1 != null)",
- "{",
- " string TableEnName = $1.TableEnName; //表名",
- " DateTime CreateDate = $1.CreateDate; //创建时间",
- " DateTime AddTableDate = $1.AddTableDate; //分表时间",
- "}"
- ]
- },
- "查询某个自建表创建记录,并赋值": {
- "prefix": "ym-db-CustomerTableRecord-Update",
- "body": [
- "CustomerTableRecord $1 = db.CustomerTableRecord.FirstOrDefault(m => m.TableEnName == $2);",
- "if ($1 != null)",
- "{",
- " $1.TableEnName = $2; //表名",
- " $1.CreateDate = $3; //创建时间",
- " $1.AddTableDate = $4; //分表时间",
- "}"
- ]
- },
- "获取自建表创建记录数量": {
- "prefix": "ym-db-CustomerTableRecord-FindAndCount",
- "body": [
- "int $1 = db.CustomerTableRecord.Count(m => $2);",
- ]
- },
- "添加自建表创建记录": {
- "prefix": "ym-db-CustomerTableRecord-Create",
- "body": [
- "db.CustomerTableRecord.Add(new CustomerTableRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TableEnName = $1, //表名",
- " CreateDate = $2, //创建时间",
- " AddTableDate = $3, //分表时间",
- "});"
- ]
- },"删除某个自建表创建记录": {
- "prefix": "ym-db-CustomerTableRecord-Delete",
- "body": [
- "CustomerTableRecord $1 = db.CustomerTableRecord.FirstOrDefault(m => m.TableEnName == $2);",
- "if ($1 != null)",
- "{",
- " db.CustomerTableRecord.Remove($1);",
- "}"
- ]
- },
- "查询快钱MPOS激活抓取列表": {
- "prefix": "ym-db-KqActivate-Find",
- "body": [
- "List<KqActivate> $1 = db.KqActivate.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqActivate $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱MPOS激活抓取列表,并取值": {
- "prefix": "ym-db-KqActivate-FindWithData",
- "body": [
- "List<KqActivate> $1 = db.KqActivate.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqActivate $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " string AssessMonth = $3.AssessMonth; //考核月",
- " string AssessMonthCount = $3.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $3.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $3.ActivateDate; //激活日期",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string ActVerifyFlag = $3.ActVerifyFlag; //激活验证标识",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string SourceType = $3.SourceType; //来源类型",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- "}"
- ]
- },
- "查询快钱MPOS激活抓取": {
- "prefix": "ym-db-KqActivate-Exist",
- "body": [
- "bool $1 = db.KqActivate.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱MPOS激活抓取,并取值": {
- "prefix": "ym-db-KqActivate-FindByPrimaryKey",
- "body": [
- "KqActivate $1 = db.KqActivate.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " string AssessMonth = $1.AssessMonth; //考核月",
- " string AssessMonthCount = $1.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $1.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $1.ActivateDate; //激活日期",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string ActVerifyFlag = $1.ActVerifyFlag; //激活验证标识",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string SourceType = $1.SourceType; //来源类型",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- "}"
- ]
- },
- "查询某个快钱MPOS激活抓取,并赋值": {
- "prefix": "ym-db-KqActivate-Update",
- "body": [
- "KqActivate $1 = db.KqActivate.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.MerMobile = $4; //商户手机号",
- " $1.ProductType = $5; //产品类型",
- " $1.MerSnNo = $6; //终端机身号",
- " $1.MerRegDate = $7; //注册日期",
- " $1.AssessMonth = $8; //考核月",
- " $1.AssessMonthCount = $9; //考核第几月",
- " $1.ActivateStatus = $10; //激活状态",
- " $1.ActivateDate = $11; //激活日期",
- " $1.MerRealName = $12; //商户真实姓名",
- " $1.MerIdcardNo = $13; //商户身份证号",
- " $1.BizEnterNo = $14; //业务员编号",
- " $1.BizEnterName = $15; //业务员名称",
- " $1.ActVerifyFlag = $16; //激活验证标识",
- " $1.Remark = $17; //注释",
- " $1.CreateTime = $18; //创建时间",
- " $1.UpdateTime = $19; //更新时间",
- " $1.SourceType = $20; //来源类型",
- " $1.ActNo = $21; //押金活动ID",
- " $1.ActName = $22; //押金活动名称",
- "}"
- ]
- },
- "获取快钱MPOS激活抓取数量": {
- "prefix": "ym-db-KqActivate-FindAndCount",
- "body": [
- "int $1 = db.KqActivate.Count(m => $2);",
- ]
- },
- "添加快钱MPOS激活抓取": {
- "prefix": "ym-db-KqActivate-Create",
- "body": [
- "db.KqActivate.Add(new KqActivate()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " MerMobile = $3, //商户手机号",
- " ProductType = $4, //产品类型",
- " MerSnNo = $5, //终端机身号",
- " MerRegDate = $6, //注册日期",
- " AssessMonth = $7, //考核月",
- " AssessMonthCount = $8, //考核第几月",
- " ActivateStatus = $9, //激活状态",
- " ActivateDate = $10, //激活日期",
- " MerRealName = $11, //商户真实姓名",
- " MerIdcardNo = $12, //商户身份证号",
- " BizEnterNo = $13, //业务员编号",
- " BizEnterName = $14, //业务员名称",
- " ActVerifyFlag = $15, //激活验证标识",
- " Remark = $16, //注释",
- " CreateTime = $17, //创建时间",
- " UpdateTime = $18, //更新时间",
- " SourceType = $19, //来源类型",
- " ActNo = $20, //押金活动ID",
- " ActName = $21, //押金活动名称",
- "});"
- ]
- },"删除某个快钱MPOS激活抓取": {
- "prefix": "ym-db-KqActivate-Delete",
- "body": [
- "KqActivate $1 = db.KqActivate.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqActivate.Remove($1);",
- "}"
- ]
- },
- "查询快钱MPOS激活推送列表": {
- "prefix": "ym-db-KqActivateCallBack-Find",
- "body": [
- "List<KqActivateCallBack> $1 = db.KqActivateCallBack.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqActivateCallBack $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱MPOS激活推送列表,并取值": {
- "prefix": "ym-db-KqActivateCallBack-FindWithData",
- "body": [
- "List<KqActivateCallBack> $1 = db.KqActivateCallBack.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqActivateCallBack $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " string AssessMonth = $3.AssessMonth; //考核月",
- " string AssessMonthCount = $3.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $3.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $3.ActivateDate; //激活日期",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string ActVerifyFlag = $3.ActVerifyFlag; //激活验证标识",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快钱MPOS激活推送": {
- "prefix": "ym-db-KqActivateCallBack-Exist",
- "body": [
- "bool $1 = db.KqActivateCallBack.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱MPOS激活推送,并取值": {
- "prefix": "ym-db-KqActivateCallBack-FindByPrimaryKey",
- "body": [
- "KqActivateCallBack $1 = db.KqActivateCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " string AssessMonth = $1.AssessMonth; //考核月",
- " string AssessMonthCount = $1.AssessMonthCount; //考核第几月",
- " string ActivateStatus = $1.ActivateStatus; //激活状态",
- " DateTime ActivateDate = $1.ActivateDate; //激活日期",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string ActVerifyFlag = $1.ActVerifyFlag; //激活验证标识",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快钱MPOS激活推送,并赋值": {
- "prefix": "ym-db-KqActivateCallBack-Update",
- "body": [
- "KqActivateCallBack $1 = db.KqActivateCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.MerMobile = $4; //商户手机号",
- " $1.ProductType = $5; //产品类型",
- " $1.MerSnNo = $6; //终端机身号",
- " $1.MerRegDate = $7; //注册日期",
- " $1.AssessMonth = $8; //考核月",
- " $1.AssessMonthCount = $9; //考核第几月",
- " $1.ActivateStatus = $10; //激活状态",
- " $1.ActivateDate = $11; //激活日期",
- " $1.MerRealName = $12; //商户真实姓名",
- " $1.MerIdcardNo = $13; //商户身份证号",
- " $1.BizEnterNo = $14; //业务员编号",
- " $1.BizEnterName = $15; //业务员名称",
- " $1.ActVerifyFlag = $16; //激活验证标识",
- " $1.Remark = $17; //注释",
- " $1.CreateTime = $18; //创建时间",
- " $1.UpdateTime = $19; //更新时间",
- "}"
- ]
- },
- "获取快钱MPOS激活推送数量": {
- "prefix": "ym-db-KqActivateCallBack-FindAndCount",
- "body": [
- "int $1 = db.KqActivateCallBack.Count(m => $2);",
- ]
- },
- "添加快钱MPOS激活推送": {
- "prefix": "ym-db-KqActivateCallBack-Create",
- "body": [
- "db.KqActivateCallBack.Add(new KqActivateCallBack()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " MerMobile = $3, //商户手机号",
- " ProductType = $4, //产品类型",
- " MerSnNo = $5, //终端机身号",
- " MerRegDate = $6, //注册日期",
- " AssessMonth = $7, //考核月",
- " AssessMonthCount = $8, //考核第几月",
- " ActivateStatus = $9, //激活状态",
- " ActivateDate = $10, //激活日期",
- " MerRealName = $11, //商户真实姓名",
- " MerIdcardNo = $12, //商户身份证号",
- " BizEnterNo = $13, //业务员编号",
- " BizEnterName = $14, //业务员名称",
- " ActVerifyFlag = $15, //激活验证标识",
- " Remark = $16, //注释",
- " CreateTime = $17, //创建时间",
- " UpdateTime = $18, //更新时间",
- "});"
- ]
- },"删除某个快钱MPOS激活推送": {
- "prefix": "ym-db-KqActivateCallBack-Delete",
- "body": [
- "KqActivateCallBack $1 = db.KqActivateCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqActivateCallBack.Remove($1);",
- "}"
- ]
- },
- "查询快钱Mpos商户列表": {
- "prefix": "ym-db-KqMerchant-Find",
- "body": [
- "List<KqMerchant> $1 = db.KqMerchant.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqMerchant $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱Mpos商户列表,并取值": {
- "prefix": "ym-db-KqMerchant-FindWithData",
- "body": [
- "List<KqMerchant> $1 = db.KqMerchant.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqMerchant $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " DateTime MerBindDate = $3.MerBindDate; //商户绑定时间",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string SourceType = $3.SourceType; //来源类型",
- " string Province = $3.Province; //省份",
- " string City = $3.City; //城市",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快钱Mpos商户": {
- "prefix": "ym-db-KqMerchant-Exist",
- "body": [
- "bool $1 = db.KqMerchant.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱Mpos商户,并取值": {
- "prefix": "ym-db-KqMerchant-FindByPrimaryKey",
- "body": [
- "KqMerchant $1 = db.KqMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " DateTime MerBindDate = $1.MerBindDate; //商户绑定时间",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string SourceType = $1.SourceType; //来源类型",
- " string Province = $1.Province; //省份",
- " string City = $1.City; //城市",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快钱Mpos商户,并赋值": {
- "prefix": "ym-db-KqMerchant-Update",
- "body": [
- "KqMerchant $1 = db.KqMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.MerMobile = $4; //商户手机号",
- " $1.ProductType = $5; //产品类型",
- " $1.MerSnNo = $6; //终端机身号",
- " $1.MerRegDate = $7; //注册日期",
- " $1.MerBindDate = $8; //商户绑定时间",
- " $1.MerIdcardNo = $9; //商户身份证号",
- " $1.MerRealName = $10; //商户真实姓名",
- " $1.BizEnterNo = $11; //业务员编号",
- " $1.BizEnterName = $12; //业务员名称",
- " $1.SourceType = $13; //来源类型",
- " $1.Province = $14; //省份",
- " $1.City = $15; //城市",
- " $1.Remark = $16; //注释",
- " $1.CreateTime = $17; //创建时间",
- " $1.UpdateTime = $18; //更新时间",
- "}"
- ]
- },
- "获取快钱Mpos商户数量": {
- "prefix": "ym-db-KqMerchant-FindAndCount",
- "body": [
- "int $1 = db.KqMerchant.Count(m => $2);",
- ]
- },
- "添加快钱Mpos商户": {
- "prefix": "ym-db-KqMerchant-Create",
- "body": [
- "db.KqMerchant.Add(new KqMerchant()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " MerMobile = $3, //商户手机号",
- " ProductType = $4, //产品类型",
- " MerSnNo = $5, //终端机身号",
- " MerRegDate = $6, //注册日期",
- " MerBindDate = $7, //商户绑定时间",
- " MerIdcardNo = $8, //商户身份证号",
- " MerRealName = $9, //商户真实姓名",
- " BizEnterNo = $10, //业务员编号",
- " BizEnterName = $11, //业务员名称",
- " SourceType = $12, //来源类型",
- " Province = $13, //省份",
- " City = $14, //城市",
- " Remark = $15, //注释",
- " CreateTime = $16, //创建时间",
- " UpdateTime = $17, //更新时间",
- "});"
- ]
- },"删除某个快钱Mpos商户": {
- "prefix": "ym-db-KqMerchant-Delete",
- "body": [
- "KqMerchant $1 = db.KqMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqMerchant.Remove($1);",
- "}"
- ]
- },
- "查询快钱Mpos交易抓取列表": {
- "prefix": "ym-db-KqTrade-Find",
- "body": [
- "List<KqTrade> $1 = db.KqTrade.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTrade $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱Mpos交易抓取列表,并取值": {
- "prefix": "ym-db-KqTrade-FindWithData",
- "body": [
- "List<KqTrade> $1 = db.KqTrade.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTrade $3 in $1)",
- "{",
- " string TradeSerialNo = $3.TradeSerialNo; //交易单号",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " decimal TradeAmount = $3.TradeAmount; //交易金额",
- " string ProductType = $3.ProductType; //产品类型",
- " string TradeStatus = $3.TradeStatus; //交易状态",
- " string TradeDate = $3.TradeDate; //交易日期",
- " string TradeTime = $3.TradeTime; //交易时间",
- " string BankCardType = $3.BankCardType; //银行卡类型",
- " string TradeSnNo = $3.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $3.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $3.DigAmt; //挖款金额",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string BankCardNo = $3.BankCardNo; //交易卡号",
- " decimal FeeAmount = $3.FeeAmount; //手续费",
- " string SettleMethod = $3.SettleMethod; //出款方式",
- " decimal SettleFee = $3.SettleFee; //出款手续费",
- " string SmallDouble = $3.SmallDouble; //小额双免",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string SourceType = $3.SourceType; //来源类型",
- " decimal SettleTotalFee = $3.SettleTotalFee; //总手续费",
- " string BillType = $3.BillType; //计费类型",
- " decimal SettleFeeCostAmt = $3.SettleFeeCostAmt; //手续费成本金额",
- " decimal SettleFeeRebateAmt = $3.SettleFeeRebateAmt; //手续费返佣金额",
- " decimal SettleCostAmt = $3.SettleCostAmt; //出款成本金额",
- " decimal SettleRebateAmt = $3.SettleRebateAmt; //出款返佣金额",
- " decimal TotalCostAmt = $3.TotalCostAmt; //总成本",
- " decimal TotalRebateAmt = $3.TotalRebateAmt; //总返佣额",
- " string S0SettleStatus = $3.S0SettleStatus; //S0出款状态",
- " string DigStatus = $3.DigStatus; //挖款状态",
- " string KqTradeSeq = $3.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $3.InputModel; //输入模式",
- "}"
- ]
- },
- "查询快钱Mpos交易抓取": {
- "prefix": "ym-db-KqTrade-Exist",
- "body": [
- "bool $1 = db.KqTrade.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱Mpos交易抓取,并取值": {
- "prefix": "ym-db-KqTrade-FindByPrimaryKey",
- "body": [
- "KqTrade $1 = db.KqTrade.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string TradeSerialNo = $1.TradeSerialNo; //交易单号",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " decimal TradeAmount = $1.TradeAmount; //交易金额",
- " string ProductType = $1.ProductType; //产品类型",
- " string TradeStatus = $1.TradeStatus; //交易状态",
- " string TradeDate = $1.TradeDate; //交易日期",
- " string TradeTime = $1.TradeTime; //交易时间",
- " string BankCardType = $1.BankCardType; //银行卡类型",
- " string TradeSnNo = $1.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $1.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $1.DigAmt; //挖款金额",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string BankCardNo = $1.BankCardNo; //交易卡号",
- " decimal FeeAmount = $1.FeeAmount; //手续费",
- " string SettleMethod = $1.SettleMethod; //出款方式",
- " decimal SettleFee = $1.SettleFee; //出款手续费",
- " string SmallDouble = $1.SmallDouble; //小额双免",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string SourceType = $1.SourceType; //来源类型",
- " decimal SettleTotalFee = $1.SettleTotalFee; //总手续费",
- " string BillType = $1.BillType; //计费类型",
- " decimal SettleFeeCostAmt = $1.SettleFeeCostAmt; //手续费成本金额",
- " decimal SettleFeeRebateAmt = $1.SettleFeeRebateAmt; //手续费返佣金额",
- " decimal SettleCostAmt = $1.SettleCostAmt; //出款成本金额",
- " decimal SettleRebateAmt = $1.SettleRebateAmt; //出款返佣金额",
- " decimal TotalCostAmt = $1.TotalCostAmt; //总成本",
- " decimal TotalRebateAmt = $1.TotalRebateAmt; //总返佣额",
- " string S0SettleStatus = $1.S0SettleStatus; //S0出款状态",
- " string DigStatus = $1.DigStatus; //挖款状态",
- " string KqTradeSeq = $1.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $1.InputModel; //输入模式",
- "}"
- ]
- },
- "查询某个快钱Mpos交易抓取,并赋值": {
- "prefix": "ym-db-KqTrade-Update",
- "body": [
- "KqTrade $1 = db.KqTrade.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.TradeSerialNo = $2; //交易单号",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.TradeAmount = $5; //交易金额",
- " $1.ProductType = $6; //产品类型",
- " $1.TradeStatus = $7; //交易状态",
- " $1.TradeDate = $8; //交易日期",
- " $1.TradeTime = $9; //交易时间",
- " $1.BankCardType = $10; //银行卡类型",
- " $1.TradeSnNo = $11; //交易SN号",
- " $1.DigAmtFlag = $12; //挖款标识",
- " $1.DigAmt = $13; //挖款金额",
- " $1.Remark = $14; //注释",
- " $1.CreateTime = $15; //创建时间",
- " $1.UpdateTime = $16; //更新时间",
- " $1.BankCardNo = $17; //交易卡号",
- " $1.FeeAmount = $18; //手续费",
- " $1.SettleMethod = $19; //出款方式",
- " $1.SettleFee = $20; //出款手续费",
- " $1.SmallDouble = $21; //小额双免",
- " $1.BizEnterNo = $22; //业务员编号",
- " $1.BizEnterName = $23; //业务员名称",
- " $1.SourceType = $24; //来源类型",
- " $1.SettleTotalFee = $25; //总手续费",
- " $1.BillType = $26; //计费类型",
- " $1.SettleFeeCostAmt = $27; //手续费成本金额",
- " $1.SettleFeeRebateAmt = $28; //手续费返佣金额",
- " $1.SettleCostAmt = $29; //出款成本金额",
- " $1.SettleRebateAmt = $30; //出款返佣金额",
- " $1.TotalCostAmt = $31; //总成本",
- " $1.TotalRebateAmt = $32; //总返佣额",
- " $1.S0SettleStatus = $33; //S0出款状态",
- " $1.DigStatus = $34; //挖款状态",
- " $1.KqTradeSeq = $35; //快钱交易流水号",
- " $1.InputModel = $36; //输入模式",
- "}"
- ]
- },
- "获取快钱Mpos交易抓取数量": {
- "prefix": "ym-db-KqTrade-FindAndCount",
- "body": [
- "int $1 = db.KqTrade.Count(m => $2);",
- ]
- },
- "添加快钱Mpos交易抓取": {
- "prefix": "ym-db-KqTrade-Create",
- "body": [
- "db.KqTrade.Add(new KqTrade()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TradeSerialNo = $1, //交易单号",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " TradeAmount = $4, //交易金额",
- " ProductType = $5, //产品类型",
- " TradeStatus = $6, //交易状态",
- " TradeDate = $7, //交易日期",
- " TradeTime = $8, //交易时间",
- " BankCardType = $9, //银行卡类型",
- " TradeSnNo = $10, //交易SN号",
- " DigAmtFlag = $11, //挖款标识",
- " DigAmt = $12, //挖款金额",
- " Remark = $13, //注释",
- " CreateTime = $14, //创建时间",
- " UpdateTime = $15, //更新时间",
- " BankCardNo = $16, //交易卡号",
- " FeeAmount = $17, //手续费",
- " SettleMethod = $18, //出款方式",
- " SettleFee = $19, //出款手续费",
- " SmallDouble = $20, //小额双免",
- " BizEnterNo = $21, //业务员编号",
- " BizEnterName = $22, //业务员名称",
- " SourceType = $23, //来源类型",
- " SettleTotalFee = $24, //总手续费",
- " BillType = $25, //计费类型",
- " SettleFeeCostAmt = $26, //手续费成本金额",
- " SettleFeeRebateAmt = $27, //手续费返佣金额",
- " SettleCostAmt = $28, //出款成本金额",
- " SettleRebateAmt = $29, //出款返佣金额",
- " TotalCostAmt = $30, //总成本",
- " TotalRebateAmt = $31, //总返佣额",
- " S0SettleStatus = $32, //S0出款状态",
- " DigStatus = $33, //挖款状态",
- " KqTradeSeq = $34, //快钱交易流水号",
- " InputModel = $35, //输入模式",
- "});"
- ]
- },"删除某个快钱Mpos交易抓取": {
- "prefix": "ym-db-KqTrade-Delete",
- "body": [
- "KqTrade $1 = db.KqTrade.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqTrade.Remove($1);",
- "}"
- ]
- },
- "查询快钱Mpos交易推送列表": {
- "prefix": "ym-db-KqTradeCallBack-Find",
- "body": [
- "List<KqTradeCallBack> $1 = db.KqTradeCallBack.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTradeCallBack $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱Mpos交易推送列表,并取值": {
- "prefix": "ym-db-KqTradeCallBack-FindWithData",
- "body": [
- "List<KqTradeCallBack> $1 = db.KqTradeCallBack.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTradeCallBack $3 in $1)",
- "{",
- " string TradeSerialNo = $3.TradeSerialNo; //交易单号",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " decimal TradeAmount = $3.TradeAmount; //交易金额",
- " string TradeReferNo = $3.TradeReferNo; //交易参考号",
- " string BankAuthCode = $3.BankAuthCode; //银行授权码",
- " string DiscountRateFlag = $3.DiscountRateFlag; //优惠费率标识",
- " string ProductType = $3.ProductType; //产品类型",
- " string Trade_status = $3.Trade_status; //交易状态",
- " string ErrorCode = $3.ErrorCode; //错误码",
- " string ErrorMsg = $3.ErrorMsg; //错误信息",
- " string TradeDate = $3.TradeDate; //交易日期",
- " string TradeTime = $3.TradeTime; //交易时间",
- " string TradeType = $3.TradeType; //交易类型",
- " string SerEntryMode = $3.SerEntryMode; //输入模式",
- " string BankCardType = $3.BankCardType; //银行卡类型",
- " string TradeSnNo = $3.TradeSnNo; //交易SN号",
- " string DeviceType = $3.DeviceType; //设备类型",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string DigAmtFlag = $3.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $3.DigAmt; //挖款金额",
- " string IsStoreCashier = $3.IsStoreCashier; //店面收银交易标识",
- " string ReceiptType = $3.ReceiptType; //设备类型",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快钱Mpos交易推送": {
- "prefix": "ym-db-KqTradeCallBack-Exist",
- "body": [
- "bool $1 = db.KqTradeCallBack.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱Mpos交易推送,并取值": {
- "prefix": "ym-db-KqTradeCallBack-FindByPrimaryKey",
- "body": [
- "KqTradeCallBack $1 = db.KqTradeCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string TradeSerialNo = $1.TradeSerialNo; //交易单号",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " decimal TradeAmount = $1.TradeAmount; //交易金额",
- " string TradeReferNo = $1.TradeReferNo; //交易参考号",
- " string BankAuthCode = $1.BankAuthCode; //银行授权码",
- " string DiscountRateFlag = $1.DiscountRateFlag; //优惠费率标识",
- " string ProductType = $1.ProductType; //产品类型",
- " string Trade_status = $1.Trade_status; //交易状态",
- " string ErrorCode = $1.ErrorCode; //错误码",
- " string ErrorMsg = $1.ErrorMsg; //错误信息",
- " string TradeDate = $1.TradeDate; //交易日期",
- " string TradeTime = $1.TradeTime; //交易时间",
- " string TradeType = $1.TradeType; //交易类型",
- " string SerEntryMode = $1.SerEntryMode; //输入模式",
- " string BankCardType = $1.BankCardType; //银行卡类型",
- " string TradeSnNo = $1.TradeSnNo; //交易SN号",
- " string DeviceType = $1.DeviceType; //设备类型",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string DigAmtFlag = $1.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $1.DigAmt; //挖款金额",
- " string IsStoreCashier = $1.IsStoreCashier; //店面收银交易标识",
- " string ReceiptType = $1.ReceiptType; //设备类型",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快钱Mpos交易推送,并赋值": {
- "prefix": "ym-db-KqTradeCallBack-Update",
- "body": [
- "KqTradeCallBack $1 = db.KqTradeCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.TradeSerialNo = $2; //交易单号",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.TradeAmount = $5; //交易金额",
- " $1.TradeReferNo = $6; //交易参考号",
- " $1.BankAuthCode = $7; //银行授权码",
- " $1.DiscountRateFlag = $8; //优惠费率标识",
- " $1.ProductType = $9; //产品类型",
- " $1.Trade_status = $10; //交易状态",
- " $1.ErrorCode = $11; //错误码",
- " $1.ErrorMsg = $12; //错误信息",
- " $1.TradeDate = $13; //交易日期",
- " $1.TradeTime = $14; //交易时间",
- " $1.TradeType = $15; //交易类型",
- " $1.SerEntryMode = $16; //输入模式",
- " $1.BankCardType = $17; //银行卡类型",
- " $1.TradeSnNo = $18; //交易SN号",
- " $1.DeviceType = $19; //设备类型",
- " $1.MerMobile = $20; //商户手机号",
- " $1.DigAmtFlag = $21; //挖款标识",
- " $1.DigAmt = $22; //挖款金额",
- " $1.IsStoreCashier = $23; //店面收银交易标识",
- " $1.ReceiptType = $24; //设备类型",
- " $1.Remark = $25; //注释",
- " $1.CreateTime = $26; //创建时间",
- " $1.UpdateTime = $27; //更新时间",
- "}"
- ]
- },
- "获取快钱Mpos交易推送数量": {
- "prefix": "ym-db-KqTradeCallBack-FindAndCount",
- "body": [
- "int $1 = db.KqTradeCallBack.Count(m => $2);",
- ]
- },
- "添加快钱Mpos交易推送": {
- "prefix": "ym-db-KqTradeCallBack-Create",
- "body": [
- "db.KqTradeCallBack.Add(new KqTradeCallBack()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TradeSerialNo = $1, //交易单号",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " TradeAmount = $4, //交易金额",
- " TradeReferNo = $5, //交易参考号",
- " BankAuthCode = $6, //银行授权码",
- " DiscountRateFlag = $7, //优惠费率标识",
- " ProductType = $8, //产品类型",
- " Trade_status = $9, //交易状态",
- " ErrorCode = $10, //错误码",
- " ErrorMsg = $11, //错误信息",
- " TradeDate = $12, //交易日期",
- " TradeTime = $13, //交易时间",
- " TradeType = $14, //交易类型",
- " SerEntryMode = $15, //输入模式",
- " BankCardType = $16, //银行卡类型",
- " TradeSnNo = $17, //交易SN号",
- " DeviceType = $18, //设备类型",
- " MerMobile = $19, //商户手机号",
- " DigAmtFlag = $20, //挖款标识",
- " DigAmt = $21, //挖款金额",
- " IsStoreCashier = $22, //店面收银交易标识",
- " ReceiptType = $23, //设备类型",
- " Remark = $24, //注释",
- " CreateTime = $25, //创建时间",
- " UpdateTime = $26, //更新时间",
- "});"
- ]
- },"删除某个快钱Mpos交易推送": {
- "prefix": "ym-db-KqTradeCallBack-Delete",
- "body": [
- "KqTradeCallBack $1 = db.KqTradeCallBack.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqTradeCallBack.Remove($1);",
- "}"
- ]
- },
- "查询快钱流量卡分佣交易列表": {
- "prefix": "ym-db-KqTradeFlux-Find",
- "body": [
- "List<KqTradeFlux> $1 = db.KqTradeFlux.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTradeFlux $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快钱流量卡分佣交易列表,并取值": {
- "prefix": "ym-db-KqTradeFlux-FindWithData",
- "body": [
- "List<KqTradeFlux> $1 = db.KqTradeFlux.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KqTradeFlux $3 in $1)",
- "{",
- " string TradeSerialNo = $3.TradeSerialNo; //交易单号",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " decimal TradeAmount = $3.TradeAmount; //交易金额",
- " string ProductType = $3.ProductType; //产品类型",
- " string TradeStatus = $3.TradeStatus; //交易状态",
- " string TradeDate = $3.TradeDate; //交易日期",
- " string TradeTime = $3.TradeTime; //交易时间",
- " string BankCardType = $3.BankCardType; //银行卡类型",
- " string TradeSnNo = $3.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $3.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $3.DigAmt; //挖款金额",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string BankCardNo = $3.BankCardNo; //交易卡号",
- " decimal FeeAmount = $3.FeeAmount; //手续费",
- " string SettleMethod = $3.SettleMethod; //出款方式",
- " decimal SettleFee = $3.SettleFee; //出款手续费",
- " string SmallDouble = $3.SmallDouble; //小额双免",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string SourceType = $3.SourceType; //来源类型",
- " string BillType = $3.BillType; //计费类型",
- " string KqTradeSeq = $3.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $3.InputModel; //输入模式",
- " string TerminalNo = $3.TerminalNo; //终端号",
- " string DeviceNetwork = $3.DeviceNetwork; //设备网络",
- "}"
- ]
- },
- "查询快钱流量卡分佣交易": {
- "prefix": "ym-db-KqTradeFlux-Exist",
- "body": [
- "bool $1 = db.KqTradeFlux.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快钱流量卡分佣交易,并取值": {
- "prefix": "ym-db-KqTradeFlux-FindByPrimaryKey",
- "body": [
- "KqTradeFlux $1 = db.KqTradeFlux.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string TradeSerialNo = $1.TradeSerialNo; //交易单号",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " decimal TradeAmount = $1.TradeAmount; //交易金额",
- " string ProductType = $1.ProductType; //产品类型",
- " string TradeStatus = $1.TradeStatus; //交易状态",
- " string TradeDate = $1.TradeDate; //交易日期",
- " string TradeTime = $1.TradeTime; //交易时间",
- " string BankCardType = $1.BankCardType; //银行卡类型",
- " string TradeSnNo = $1.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $1.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $1.DigAmt; //挖款金额",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string BankCardNo = $1.BankCardNo; //交易卡号",
- " decimal FeeAmount = $1.FeeAmount; //手续费",
- " string SettleMethod = $1.SettleMethod; //出款方式",
- " decimal SettleFee = $1.SettleFee; //出款手续费",
- " string SmallDouble = $1.SmallDouble; //小额双免",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string SourceType = $1.SourceType; //来源类型",
- " string BillType = $1.BillType; //计费类型",
- " string KqTradeSeq = $1.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $1.InputModel; //输入模式",
- " string TerminalNo = $1.TerminalNo; //终端号",
- " string DeviceNetwork = $1.DeviceNetwork; //设备网络",
- "}"
- ]
- },
- "查询某个快钱流量卡分佣交易,并赋值": {
- "prefix": "ym-db-KqTradeFlux-Update",
- "body": [
- "KqTradeFlux $1 = db.KqTradeFlux.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.TradeSerialNo = $2; //交易单号",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.TradeAmount = $5; //交易金额",
- " $1.ProductType = $6; //产品类型",
- " $1.TradeStatus = $7; //交易状态",
- " $1.TradeDate = $8; //交易日期",
- " $1.TradeTime = $9; //交易时间",
- " $1.BankCardType = $10; //银行卡类型",
- " $1.TradeSnNo = $11; //交易SN号",
- " $1.DigAmtFlag = $12; //挖款标识",
- " $1.DigAmt = $13; //挖款金额",
- " $1.Remark = $14; //注释",
- " $1.CreateTime = $15; //创建时间",
- " $1.UpdateTime = $16; //更新时间",
- " $1.BankCardNo = $17; //交易卡号",
- " $1.FeeAmount = $18; //手续费",
- " $1.SettleMethod = $19; //出款方式",
- " $1.SettleFee = $20; //出款手续费",
- " $1.SmallDouble = $21; //小额双免",
- " $1.BizEnterNo = $22; //业务员编号",
- " $1.BizEnterName = $23; //业务员名称",
- " $1.SourceType = $24; //来源类型",
- " $1.BillType = $25; //计费类型",
- " $1.KqTradeSeq = $26; //快钱交易流水号",
- " $1.InputModel = $27; //输入模式",
- " $1.TerminalNo = $28; //终端号",
- " $1.DeviceNetwork = $29; //设备网络",
- "}"
- ]
- },
- "获取快钱流量卡分佣交易数量": {
- "prefix": "ym-db-KqTradeFlux-FindAndCount",
- "body": [
- "int $1 = db.KqTradeFlux.Count(m => $2);",
- ]
- },
- "添加快钱流量卡分佣交易": {
- "prefix": "ym-db-KqTradeFlux-Create",
- "body": [
- "db.KqTradeFlux.Add(new KqTradeFlux()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TradeSerialNo = $1, //交易单号",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " TradeAmount = $4, //交易金额",
- " ProductType = $5, //产品类型",
- " TradeStatus = $6, //交易状态",
- " TradeDate = $7, //交易日期",
- " TradeTime = $8, //交易时间",
- " BankCardType = $9, //银行卡类型",
- " TradeSnNo = $10, //交易SN号",
- " DigAmtFlag = $11, //挖款标识",
- " DigAmt = $12, //挖款金额",
- " Remark = $13, //注释",
- " CreateTime = $14, //创建时间",
- " UpdateTime = $15, //更新时间",
- " BankCardNo = $16, //交易卡号",
- " FeeAmount = $17, //手续费",
- " SettleMethod = $18, //出款方式",
- " SettleFee = $19, //出款手续费",
- " SmallDouble = $20, //小额双免",
- " BizEnterNo = $21, //业务员编号",
- " BizEnterName = $22, //业务员名称",
- " SourceType = $23, //来源类型",
- " BillType = $24, //计费类型",
- " KqTradeSeq = $25, //快钱交易流水号",
- " InputModel = $26, //输入模式",
- " TerminalNo = $27, //终端号",
- " DeviceNetwork = $28, //设备网络",
- "});"
- ]
- },"删除某个快钱流量卡分佣交易": {
- "prefix": "ym-db-KqTradeFlux-Delete",
- "body": [
- "KqTradeFlux $1 = db.KqTradeFlux.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KqTradeFlux.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户绑定列表": {
- "prefix": "ym-db-KssBind-Find",
- "body": [
- "List<KssBind> $1 = db.KssBind.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssBind $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户绑定列表,并取值": {
- "prefix": "ym-db-KssBind-FindWithData",
- "body": [
- "List<KssBind> $1 = db.KssBind.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssBind $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " DateTime MerOperateDate = $3.MerOperateDate; //操作时间",
- " string MerOperateType = $3.MerOperateType; //操作类型",
- " string MerStatus = $3.MerStatus; //商户状态",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerNewSnNo = $3.MerNewSnNo; //新终端机身号",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户绑定": {
- "prefix": "ym-db-KssBind-Exist",
- "body": [
- "bool $1 = db.KssBind.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户绑定,并取值": {
- "prefix": "ym-db-KssBind-FindByPrimaryKey",
- "body": [
- "KssBind $1 = db.KssBind.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " DateTime MerOperateDate = $1.MerOperateDate; //操作时间",
- " string MerOperateType = $1.MerOperateType; //操作类型",
- " string MerStatus = $1.MerStatus; //商户状态",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerNewSnNo = $1.MerNewSnNo; //新终端机身号",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户绑定,并赋值": {
- "prefix": "ym-db-KssBind-Update",
- "body": [
- "KssBind $1 = db.KssBind.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.MerSnNo = $5; //终端机身号",
- " $1.MerOperateDate = $6; //操作时间",
- " $1.MerOperateType = $7; //操作类型",
- " $1.MerStatus = $8; //商户状态",
- " $1.ProductType = $9; //产品类型",
- " $1.MerNewSnNo = $10; //新终端机身号",
- " $1.Remark = $11; //注释",
- " $1.CreateTime = $12; //创建时间",
- " $1.UpdateTime = $13; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户绑定数量": {
- "prefix": "ym-db-KssBind-FindAndCount",
- "body": [
- "int $1 = db.KssBind.Count(m => $2);",
- ]
- },
- "添加快闪刷商户绑定": {
- "prefix": "ym-db-KssBind-Create",
- "body": [
- "db.KssBind.Add(new KssBind()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " MerSnNo = $4, //终端机身号",
- " MerOperateDate = $5, //操作时间",
- " MerOperateType = $6, //操作类型",
- " MerStatus = $7, //商户状态",
- " ProductType = $8, //产品类型",
- " MerNewSnNo = $9, //新终端机身号",
- " Remark = $10, //注释",
- " CreateTime = $11, //创建时间",
- " UpdateTime = $12, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户绑定": {
- "prefix": "ym-db-KssBind-Delete",
- "body": [
- "KssBind $1 = db.KssBind.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssBind.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户免押金列表": {
- "prefix": "ym-db-KssFreeDeposit-Find",
- "body": [
- "List<KssFreeDeposit> $1 = db.KssFreeDeposit.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssFreeDeposit $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户免押金列表,并取值": {
- "prefix": "ym-db-KssFreeDeposit-FindWithData",
- "body": [
- "List<KssFreeDeposit> $1 = db.KssFreeDeposit.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssFreeDeposit $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string ProductType = $3.ProductType; //产品类型",
- " DateTime MerBindDate = $3.MerBindDate; //绑定日期",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- " string NewFlag = $3.NewFlag; //是否新增",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户免押金": {
- "prefix": "ym-db-KssFreeDeposit-Exist",
- "body": [
- "bool $1 = db.KssFreeDeposit.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户免押金,并取值": {
- "prefix": "ym-db-KssFreeDeposit-FindByPrimaryKey",
- "body": [
- "KssFreeDeposit $1 = db.KssFreeDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string ProductType = $1.ProductType; //产品类型",
- " DateTime MerBindDate = $1.MerBindDate; //绑定日期",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- " string NewFlag = $1.NewFlag; //是否新增",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户免押金,并赋值": {
- "prefix": "ym-db-KssFreeDeposit-Update",
- "body": [
- "KssFreeDeposit $1 = db.KssFreeDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.ProductType = $5; //产品类型",
- " $1.MerBindDate = $6; //绑定日期",
- " $1.MerSnNo = $7; //终端机身号",
- " $1.ActNo = $8; //押金活动ID",
- " $1.ActName = $9; //押金活动名称",
- " $1.NewFlag = $10; //是否新增",
- " $1.Remark = $11; //注释",
- " $1.CreateTime = $12; //创建时间",
- " $1.UpdateTime = $13; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户免押金数量": {
- "prefix": "ym-db-KssFreeDeposit-FindAndCount",
- "body": [
- "int $1 = db.KssFreeDeposit.Count(m => $2);",
- ]
- },
- "添加快闪刷商户免押金": {
- "prefix": "ym-db-KssFreeDeposit-Create",
- "body": [
- "db.KssFreeDeposit.Add(new KssFreeDeposit()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " ProductType = $4, //产品类型",
- " MerBindDate = $5, //绑定日期",
- " MerSnNo = $6, //终端机身号",
- " ActNo = $7, //押金活动ID",
- " ActName = $8, //押金活动名称",
- " NewFlag = $9, //是否新增",
- " Remark = $10, //注释",
- " CreateTime = $11, //创建时间",
- " UpdateTime = $12, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户免押金": {
- "prefix": "ym-db-KssFreeDeposit-Delete",
- "body": [
- "KssFreeDeposit $1 = db.KssFreeDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssFreeDeposit.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户列表": {
- "prefix": "ym-db-KssMerchant-Find",
- "body": [
- "List<KssMerchant> $1 = db.KssMerchant.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssMerchant $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户列表,并取值": {
- "prefix": "ym-db-KssMerchant-FindWithData",
- "body": [
- "List<KssMerchant> $1 = db.KssMerchant.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssMerchant $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " DateTime MerAuditDate = $3.MerAuditDate; //审核日期",
- " string MerStatus = $3.MerStatus; //商户状态",
- " string ProductType = $3.ProductType; //产品类型",
- " string Province = $3.Province; //商户注册省份",
- " string City = $3.City; //商户注册城市",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户": {
- "prefix": "ym-db-KssMerchant-Exist",
- "body": [
- "bool $1 = db.KssMerchant.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户,并取值": {
- "prefix": "ym-db-KssMerchant-FindByPrimaryKey",
- "body": [
- "KssMerchant $1 = db.KssMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " DateTime MerAuditDate = $1.MerAuditDate; //审核日期",
- " string MerStatus = $1.MerStatus; //商户状态",
- " string ProductType = $1.ProductType; //产品类型",
- " string Province = $1.Province; //商户注册省份",
- " string City = $1.City; //商户注册城市",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户,并赋值": {
- "prefix": "ym-db-KssMerchant-Update",
- "body": [
- "KssMerchant $1 = db.KssMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.AgentName = $4; //机构名称",
- " $1.MerRealName = $5; //商户真实姓名",
- " $1.MerMobile = $6; //商户手机号",
- " $1.MerIdcardNo = $7; //商户身份证号",
- " $1.MerRegDate = $8; //注册日期",
- " $1.MerAuditDate = $9; //审核日期",
- " $1.MerStatus = $10; //商户状态",
- " $1.ProductType = $11; //产品类型",
- " $1.Province = $12; //商户注册省份",
- " $1.City = $13; //商户注册城市",
- " $1.Remark = $14; //注释",
- " $1.CreateTime = $15; //创建时间",
- " $1.UpdateTime = $16; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户数量": {
- "prefix": "ym-db-KssMerchant-FindAndCount",
- "body": [
- "int $1 = db.KssMerchant.Count(m => $2);",
- ]
- },
- "添加快闪刷商户": {
- "prefix": "ym-db-KssMerchant-Create",
- "body": [
- "db.KssMerchant.Add(new KssMerchant()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " AgentName = $3, //机构名称",
- " MerRealName = $4, //商户真实姓名",
- " MerMobile = $5, //商户手机号",
- " MerIdcardNo = $6, //商户身份证号",
- " MerRegDate = $7, //注册日期",
- " MerAuditDate = $8, //审核日期",
- " MerStatus = $9, //商户状态",
- " ProductType = $10, //产品类型",
- " Province = $11, //商户注册省份",
- " City = $12, //商户注册城市",
- " Remark = $13, //注释",
- " CreateTime = $14, //创建时间",
- " UpdateTime = $15, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户": {
- "prefix": "ym-db-KssMerchant-Delete",
- "body": [
- "KssMerchant $1 = db.KssMerchant.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssMerchant.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户返押列表": {
- "prefix": "ym-db-KssReturnDeposit-Find",
- "body": [
- "List<KssReturnDeposit> $1 = db.KssReturnDeposit.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssReturnDeposit $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户返押列表,并取值": {
- "prefix": "ym-db-KssReturnDeposit-FindWithData",
- "body": [
- "List<KssReturnDeposit> $1 = db.KssReturnDeposit.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssReturnDeposit $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- " DateTime MerDisposeDate = $3.MerDisposeDate; //押金日期",
- " DateTime MerStdDate = $3.MerStdDate; //达标日期",
- " int IntervalDay = $3.IntervalDay; //间隔天数",
- " string ProductType = $3.ProductType; //产品类型",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " decimal RetAmount = $3.RetAmount; //返押金额",
- " string RetFlag = $3.RetFlag; //是否返还",
- " string RetOrderNo = $3.RetOrderNo; //返押订单ID",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户返押": {
- "prefix": "ym-db-KssReturnDeposit-Exist",
- "body": [
- "bool $1 = db.KssReturnDeposit.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户返押,并取值": {
- "prefix": "ym-db-KssReturnDeposit-FindByPrimaryKey",
- "body": [
- "KssReturnDeposit $1 = db.KssReturnDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- " DateTime MerDisposeDate = $1.MerDisposeDate; //押金日期",
- " DateTime MerStdDate = $1.MerStdDate; //达标日期",
- " int IntervalDay = $1.IntervalDay; //间隔天数",
- " string ProductType = $1.ProductType; //产品类型",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " decimal RetAmount = $1.RetAmount; //返押金额",
- " string RetFlag = $1.RetFlag; //是否返还",
- " string RetOrderNo = $1.RetOrderNo; //返押订单ID",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户返押,并赋值": {
- "prefix": "ym-db-KssReturnDeposit-Update",
- "body": [
- "KssReturnDeposit $1 = db.KssReturnDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.ActNo = $5; //押金活动ID",
- " $1.ActName = $6; //押金活动名称",
- " $1.MerDisposeDate = $7; //押金日期",
- " $1.MerStdDate = $8; //达标日期",
- " $1.IntervalDay = $9; //间隔天数",
- " $1.ProductType = $10; //产品类型",
- " $1.MerSnNo = $11; //终端机身号",
- " $1.RetAmount = $12; //返押金额",
- " $1.RetFlag = $13; //是否返还",
- " $1.RetOrderNo = $14; //返押订单ID",
- " $1.Remark = $15; //注释",
- " $1.CreateTime = $16; //创建时间",
- " $1.UpdateTime = $17; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户返押数量": {
- "prefix": "ym-db-KssReturnDeposit-FindAndCount",
- "body": [
- "int $1 = db.KssReturnDeposit.Count(m => $2);",
- ]
- },
- "添加快闪刷商户返押": {
- "prefix": "ym-db-KssReturnDeposit-Create",
- "body": [
- "db.KssReturnDeposit.Add(new KssReturnDeposit()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " ActNo = $4, //押金活动ID",
- " ActName = $5, //押金活动名称",
- " MerDisposeDate = $6, //押金日期",
- " MerStdDate = $7, //达标日期",
- " IntervalDay = $8, //间隔天数",
- " ProductType = $9, //产品类型",
- " MerSnNo = $10, //终端机身号",
- " RetAmount = $11, //返押金额",
- " RetFlag = $12, //是否返还",
- " RetOrderNo = $13, //返押订单ID",
- " Remark = $14, //注释",
- " CreateTime = $15, //创建时间",
- " UpdateTime = $16, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户返押": {
- "prefix": "ym-db-KssReturnDeposit-Delete",
- "body": [
- "KssReturnDeposit $1 = db.KssReturnDeposit.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssReturnDeposit.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户在网达标列表": {
- "prefix": "ym-db-KssStageRwd-Find",
- "body": [
- "List<KssStageRwd> $1 = db.KssStageRwd.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssStageRwd $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户在网达标列表,并取值": {
- "prefix": "ym-db-KssStageRwd-FindWithData",
- "body": [
- "List<KssStageRwd> $1 = db.KssStageRwd.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssStageRwd $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string ProductType = $3.ProductType; //产品类型",
- " DateTime MerBindDate = $3.MerBindDate; //绑定日期",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- " string MerStdStage = $3.MerStdStage; //达标阶段",
- " DateTime MerStdDate = $3.MerStdDate; //达标日期",
- " string MerStdStatus = $3.MerStdStatus; //达标状态",
- " string NewFlag = $3.NewFlag; //是否新增",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户在网达标": {
- "prefix": "ym-db-KssStageRwd-Exist",
- "body": [
- "bool $1 = db.KssStageRwd.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户在网达标,并取值": {
- "prefix": "ym-db-KssStageRwd-FindByPrimaryKey",
- "body": [
- "KssStageRwd $1 = db.KssStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string ProductType = $1.ProductType; //产品类型",
- " DateTime MerBindDate = $1.MerBindDate; //绑定日期",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- " string MerStdStage = $1.MerStdStage; //达标阶段",
- " DateTime MerStdDate = $1.MerStdDate; //达标日期",
- " string MerStdStatus = $1.MerStdStatus; //达标状态",
- " string NewFlag = $1.NewFlag; //是否新增",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户在网达标,并赋值": {
- "prefix": "ym-db-KssStageRwd-Update",
- "body": [
- "KssStageRwd $1 = db.KssStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.ProductType = $5; //产品类型",
- " $1.MerBindDate = $6; //绑定日期",
- " $1.MerSnNo = $7; //终端机身号",
- " $1.ActNo = $8; //押金活动ID",
- " $1.ActName = $9; //押金活动名称",
- " $1.MerStdStage = $10; //达标阶段",
- " $1.MerStdDate = $11; //达标日期",
- " $1.MerStdStatus = $12; //达标状态",
- " $1.NewFlag = $13; //是否新增",
- " $1.Remark = $14; //注释",
- " $1.CreateTime = $15; //创建时间",
- " $1.UpdateTime = $16; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户在网达标数量": {
- "prefix": "ym-db-KssStageRwd-FindAndCount",
- "body": [
- "int $1 = db.KssStageRwd.Count(m => $2);",
- ]
- },
- "添加快闪刷商户在网达标": {
- "prefix": "ym-db-KssStageRwd-Create",
- "body": [
- "db.KssStageRwd.Add(new KssStageRwd()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " ProductType = $4, //产品类型",
- " MerBindDate = $5, //绑定日期",
- " MerSnNo = $6, //终端机身号",
- " ActNo = $7, //押金活动ID",
- " ActName = $8, //押金活动名称",
- " MerStdStage = $9, //达标阶段",
- " MerStdDate = $10, //达标日期",
- " MerStdStatus = $11, //达标状态",
- " NewFlag = $12, //是否新增",
- " Remark = $13, //注释",
- " CreateTime = $14, //创建时间",
- " UpdateTime = $15, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户在网达标": {
- "prefix": "ym-db-KssStageRwd-Delete",
- "body": [
- "KssStageRwd $1 = db.KssStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssStageRwd.Remove($1);",
- "}"
- ]
- },
- "查询快闪刷商户首刷列表": {
- "prefix": "ym-db-KssTradeFirst-Find",
- "body": [
- "List<KssTradeFirst> $1 = db.KssTradeFirst.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssTradeFirst $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询快闪刷商户首刷列表,并取值": {
- "prefix": "ym-db-KssTradeFirst-FindWithData",
- "body": [
- "List<KssTradeFirst> $1 = db.KssTradeFirst.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (KssTradeFirst $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string ProductType = $3.ProductType; //产品类型",
- " DateTime MerBindDate = $3.MerBindDate; //绑定日期",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- " DateTime MerStdDate = $3.MerStdDate; //达标日期",
- " string MerStdStatus = $3.MerStdStatus; //达标状态",
- " string NewFlag = $3.NewFlag; //是否新增",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询快闪刷商户首刷": {
- "prefix": "ym-db-KssTradeFirst-Exist",
- "body": [
- "bool $1 = db.KssTradeFirst.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个快闪刷商户首刷,并取值": {
- "prefix": "ym-db-KssTradeFirst-FindByPrimaryKey",
- "body": [
- "KssTradeFirst $1 = db.KssTradeFirst.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string ProductType = $1.ProductType; //产品类型",
- " DateTime MerBindDate = $1.MerBindDate; //绑定日期",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- " DateTime MerStdDate = $1.MerStdDate; //达标日期",
- " string MerStdStatus = $1.MerStdStatus; //达标状态",
- " string NewFlag = $1.NewFlag; //是否新增",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- "}"
- ]
- },
- "查询某个快闪刷商户首刷,并赋值": {
- "prefix": "ym-db-KssTradeFirst-Update",
- "body": [
- "KssTradeFirst $1 = db.KssTradeFirst.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.ProductType = $5; //产品类型",
- " $1.MerBindDate = $6; //绑定日期",
- " $1.MerSnNo = $7; //终端机身号",
- " $1.ActNo = $8; //押金活动ID",
- " $1.ActName = $9; //押金活动名称",
- " $1.MerStdDate = $10; //达标日期",
- " $1.MerStdStatus = $11; //达标状态",
- " $1.NewFlag = $12; //是否新增",
- " $1.Remark = $13; //注释",
- " $1.CreateTime = $14; //创建时间",
- " $1.UpdateTime = $15; //更新时间",
- "}"
- ]
- },
- "获取快闪刷商户首刷数量": {
- "prefix": "ym-db-KssTradeFirst-FindAndCount",
- "body": [
- "int $1 = db.KssTradeFirst.Count(m => $2);",
- ]
- },
- "添加快闪刷商户首刷": {
- "prefix": "ym-db-KssTradeFirst-Create",
- "body": [
- "db.KssTradeFirst.Add(new KssTradeFirst()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " ProductType = $4, //产品类型",
- " MerBindDate = $5, //绑定日期",
- " MerSnNo = $6, //终端机身号",
- " ActNo = $7, //押金活动ID",
- " ActName = $8, //押金活动名称",
- " MerStdDate = $9, //达标日期",
- " MerStdStatus = $10, //达标状态",
- " NewFlag = $11, //是否新增",
- " Remark = $12, //注释",
- " CreateTime = $13, //创建时间",
- " UpdateTime = $14, //更新时间",
- "});"
- ]
- },"删除某个快闪刷商户首刷": {
- "prefix": "ym-db-KssTradeFirst-Delete",
- "body": [
- "KssTradeFirst $1 = db.KssTradeFirst.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.KssTradeFirst.Remove($1);",
- "}"
- ]
- },
- "查询商户列表": {
- "prefix": "ym-db-Merchants-Find",
- "body": [
- "List<Merchants> $1 = db.Merchants.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (Merchants $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询商户列表,并取值": {
- "prefix": "ym-db-Merchants-FindWithData",
- "body": [
- "List<Merchants> $1 = db.Merchants.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (Merchants $3 in $1)",
- "{",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerRealName = $3.MerRealName; //商户真实姓名",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string MerIdcardNo = $3.MerIdcardNo; //商户身份证号",
- " DateTime MerRegDate = $3.MerRegDate; //注册日期",
- " DateTime MerAuditDate = $3.MerAuditDate; //审核日期",
- " string MerStatus = $3.MerStatus; //商户状态",
- " string ProductType = $3.ProductType; //产品类型",
- " string Province = $3.Province; //商户注册省份",
- " string City = $3.City; //商户注册城市",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string SnNo = $3.SnNo; //SN号",
- " string AgentNo = $3.AgentNo; //代理商编号",
- "}"
- ]
- },
- "查询商户": {
- "prefix": "ym-db-Merchants-Exist",
- "body": [
- "bool $1 = db.Merchants.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个商户,并取值": {
- "prefix": "ym-db-Merchants-FindByPrimaryKey",
- "body": [
- "Merchants $1 = db.Merchants.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerRealName = $1.MerRealName; //商户真实姓名",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string MerIdcardNo = $1.MerIdcardNo; //商户身份证号",
- " DateTime MerRegDate = $1.MerRegDate; //注册日期",
- " DateTime MerAuditDate = $1.MerAuditDate; //审核日期",
- " string MerStatus = $1.MerStatus; //商户状态",
- " string ProductType = $1.ProductType; //产品类型",
- " string Province = $1.Province; //商户注册省份",
- " string City = $1.City; //商户注册城市",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string SnNo = $1.SnNo; //SN号",
- " string AgentNo = $1.AgentNo; //代理商编号",
- "}"
- ]
- },
- "查询某个商户,并赋值": {
- "prefix": "ym-db-Merchants-Update",
- "body": [
- "Merchants $1 = db.Merchants.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.MerNo = $2; //商户编号",
- " $1.MerName = $3; //商户名称",
- " $1.AgentName = $4; //机构名称",
- " $1.MerRealName = $5; //商户真实姓名",
- " $1.MerMobile = $6; //商户手机号",
- " $1.MerIdcardNo = $7; //商户身份证号",
- " $1.MerRegDate = $8; //注册日期",
- " $1.MerAuditDate = $9; //审核日期",
- " $1.MerStatus = $10; //商户状态",
- " $1.ProductType = $11; //产品类型",
- " $1.Province = $12; //商户注册省份",
- " $1.City = $13; //商户注册城市",
- " $1.Remark = $14; //注释",
- " $1.CreateTime = $15; //创建时间",
- " $1.UpdateTime = $16; //更新时间",
- " $1.SnNo = $17; //SN号",
- " $1.AgentNo = $18; //代理商编号",
- "}"
- ]
- },
- "获取商户数量": {
- "prefix": "ym-db-Merchants-FindAndCount",
- "body": [
- "int $1 = db.Merchants.Count(m => $2);",
- ]
- },
- "添加商户": {
- "prefix": "ym-db-Merchants-Create",
- "body": [
- "db.Merchants.Add(new Merchants()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " MerNo = $1, //商户编号",
- " MerName = $2, //商户名称",
- " AgentName = $3, //机构名称",
- " MerRealName = $4, //商户真实姓名",
- " MerMobile = $5, //商户手机号",
- " MerIdcardNo = $6, //商户身份证号",
- " MerRegDate = $7, //注册日期",
- " MerAuditDate = $8, //审核日期",
- " MerStatus = $9, //商户状态",
- " ProductType = $10, //产品类型",
- " Province = $11, //商户注册省份",
- " City = $12, //商户注册城市",
- " Remark = $13, //注释",
- " CreateTime = $14, //创建时间",
- " UpdateTime = $15, //更新时间",
- " SnNo = $16, //SN号",
- " AgentNo = $17, //代理商编号",
- "});"
- ]
- },"删除某个商户": {
- "prefix": "ym-db-Merchants-Delete",
- "body": [
- "Merchants $1 = db.Merchants.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.Merchants.Remove($1);",
- "}"
- ]
- },
- "查询商户在网达标列表": {
- "prefix": "ym-db-MerchantStageRwd-Find",
- "body": [
- "List<MerchantStageRwd> $1 = db.MerchantStageRwd.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (MerchantStageRwd $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询商户在网达标列表,并取值": {
- "prefix": "ym-db-MerchantStageRwd-FindWithData",
- "body": [
- "List<MerchantStageRwd> $1 = db.MerchantStageRwd.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (MerchantStageRwd $3 in $1)",
- "{",
- " string AgentName = $3.AgentName; //机构名称",
- " string MerName = $3.MerName; //商户名称",
- " string ProductType = $3.ProductType; //产品类型",
- " DateTime MerBindDate = $3.MerBindDate; //绑定日期",
- " string MerSnNo = $3.MerSnNo; //终端机身号",
- " string ActNo = $3.ActNo; //押金活动ID",
- " string ActName = $3.ActName; //押金活动名称",
- " string MerStdStage = $3.MerStdStage; //达标阶段",
- " DateTime MerStdDate = $3.MerStdDate; //达标日期",
- " string MerStdStatus = $3.MerStdStatus; //达标状态",
- " string NewFlag = $3.NewFlag; //是否新增",
- " string Remark = $3.Remark; //注释",
- " DateTime CreateTime = $3.CreateTime; //创建时间",
- " DateTime UpdateTime = $3.UpdateTime; //更新时间",
- " string MerNo = $3.MerNo; //商户编号",
- "}"
- ]
- },
- "查询商户在网达标": {
- "prefix": "ym-db-MerchantStageRwd-Exist",
- "body": [
- "bool $1 = db.MerchantStageRwd.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个商户在网达标,并取值": {
- "prefix": "ym-db-MerchantStageRwd-FindByPrimaryKey",
- "body": [
- "MerchantStageRwd $1 = db.MerchantStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string AgentName = $1.AgentName; //机构名称",
- " string MerName = $1.MerName; //商户名称",
- " string ProductType = $1.ProductType; //产品类型",
- " DateTime MerBindDate = $1.MerBindDate; //绑定日期",
- " string MerSnNo = $1.MerSnNo; //终端机身号",
- " string ActNo = $1.ActNo; //押金活动ID",
- " string ActName = $1.ActName; //押金活动名称",
- " string MerStdStage = $1.MerStdStage; //达标阶段",
- " DateTime MerStdDate = $1.MerStdDate; //达标日期",
- " string MerStdStatus = $1.MerStdStatus; //达标状态",
- " string NewFlag = $1.NewFlag; //是否新增",
- " string Remark = $1.Remark; //注释",
- " DateTime CreateTime = $1.CreateTime; //创建时间",
- " DateTime UpdateTime = $1.UpdateTime; //更新时间",
- " string MerNo = $1.MerNo; //商户编号",
- "}"
- ]
- },
- "查询某个商户在网达标,并赋值": {
- "prefix": "ym-db-MerchantStageRwd-Update",
- "body": [
- "MerchantStageRwd $1 = db.MerchantStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.AgentName = $2; //机构名称",
- " $1.MerName = $3; //商户名称",
- " $1.ProductType = $4; //产品类型",
- " $1.MerBindDate = $5; //绑定日期",
- " $1.MerSnNo = $6; //终端机身号",
- " $1.ActNo = $7; //押金活动ID",
- " $1.ActName = $8; //押金活动名称",
- " $1.MerStdStage = $9; //达标阶段",
- " $1.MerStdDate = $10; //达标日期",
- " $1.MerStdStatus = $11; //达标状态",
- " $1.NewFlag = $12; //是否新增",
- " $1.Remark = $13; //注释",
- " $1.CreateTime = $14; //创建时间",
- " $1.UpdateTime = $15; //更新时间",
- " $1.MerNo = $16; //商户编号",
- "}"
- ]
- },
- "获取商户在网达标数量": {
- "prefix": "ym-db-MerchantStageRwd-FindAndCount",
- "body": [
- "int $1 = db.MerchantStageRwd.Count(m => $2);",
- ]
- },
- "添加商户在网达标": {
- "prefix": "ym-db-MerchantStageRwd-Create",
- "body": [
- "db.MerchantStageRwd.Add(new MerchantStageRwd()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " AgentName = $1, //机构名称",
- " MerName = $2, //商户名称",
- " ProductType = $3, //产品类型",
- " MerBindDate = $4, //绑定日期",
- " MerSnNo = $5, //终端机身号",
- " ActNo = $6, //押金活动ID",
- " ActName = $7, //押金活动名称",
- " MerStdStage = $8, //达标阶段",
- " MerStdDate = $9, //达标日期",
- " MerStdStatus = $10, //达标状态",
- " NewFlag = $11, //是否新增",
- " Remark = $12, //注释",
- " CreateTime = $13, //创建时间",
- " UpdateTime = $14, //更新时间",
- " MerNo = $15, //商户编号",
- "});"
- ]
- },"删除某个商户在网达标": {
- "prefix": "ym-db-MerchantStageRwd-Delete",
- "body": [
- "MerchantStageRwd $1 = db.MerchantStageRwd.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.MerchantStageRwd.Remove($1);",
- "}"
- ]
- },
- "查询分润记录列表": {
- "prefix": "ym-db-ProfitRecord-Find",
- "body": [
- "List<ProfitRecord> $1 = db.ProfitRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (ProfitRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询分润记录列表,并取值": {
- "prefix": "ym-db-ProfitRecord-FindWithData",
- "body": [
- "List<ProfitRecord> $1 = db.ProfitRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (ProfitRecord $3 in $1)",
- "{",
- " string requestId = $3.requestId; //请求号",
- " string organizationNumber = $3.organizationNumber; //直属代理编号",
- " string organizationName = $3.organizationName; //直属代理名称",
- " string amount = $3.amount; //分润基础数据金额",
- " string orderNo = $3.orderNo; //原交易/结算流水单号",
- " string valueType = $3.valueType; //费率类型",
- " string balanceDirection = $3.balanceDirection; //支出方向",
- " string originalRate = $3.originalRate; //商户费率",
- " string originalFee = $3.originalFee; //原手续费",
- " string profitCost = $3.profitCost; //成本值",
- " string couponAmt = $3.couponAmt; //优惠券金额",
- " string actualCouponAmt = $3.actualCouponAmt; //分润使用优惠券金额",
- " string profitRate = $3.profitRate; //分润税点",
- " string rateFee = $3.rateFee; //分润税费",
- " string incomeScale = $3.incomeScale; //入账比例",
- " string actualIncomeAmt = $3.actualIncomeAmt; //实际结账户金额",
- " string applyDay = $3.applyDay; //分润日期",
- " string createTime = $3.createTime; //创建时间",
- " string topOrgNo = $3.topOrgNo; //一级服务商编号",
- "}"
- ]
- },
- "查询分润记录": {
- "prefix": "ym-db-ProfitRecord-Exist",
- "body": [
- "bool $1 = db.ProfitRecord.Any(m => m.Id == $2);",
- ]
- },
- "查询某个分润记录,并取值": {
- "prefix": "ym-db-ProfitRecord-FindByPrimaryKey",
- "body": [
- "ProfitRecord $1 = db.ProfitRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " string requestId = $1.requestId; //请求号",
- " string organizationNumber = $1.organizationNumber; //直属代理编号",
- " string organizationName = $1.organizationName; //直属代理名称",
- " string amount = $1.amount; //分润基础数据金额",
- " string orderNo = $1.orderNo; //原交易/结算流水单号",
- " string valueType = $1.valueType; //费率类型",
- " string balanceDirection = $1.balanceDirection; //支出方向",
- " string originalRate = $1.originalRate; //商户费率",
- " string originalFee = $1.originalFee; //原手续费",
- " string profitCost = $1.profitCost; //成本值",
- " string couponAmt = $1.couponAmt; //优惠券金额",
- " string actualCouponAmt = $1.actualCouponAmt; //分润使用优惠券金额",
- " string profitRate = $1.profitRate; //分润税点",
- " string rateFee = $1.rateFee; //分润税费",
- " string incomeScale = $1.incomeScale; //入账比例",
- " string actualIncomeAmt = $1.actualIncomeAmt; //实际结账户金额",
- " string applyDay = $1.applyDay; //分润日期",
- " string createTime = $1.createTime; //创建时间",
- " string topOrgNo = $1.topOrgNo; //一级服务商编号",
- "}"
- ]
- },
- "查询某个分润记录,并赋值": {
- "prefix": "ym-db-ProfitRecord-Update",
- "body": [
- "ProfitRecord $1 = db.ProfitRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " $1.requestId = $2; //请求号",
- " $1.organizationNumber = $3; //直属代理编号",
- " $1.organizationName = $4; //直属代理名称",
- " $1.amount = $5; //分润基础数据金额",
- " $1.orderNo = $6; //原交易/结算流水单号",
- " $1.valueType = $7; //费率类型",
- " $1.balanceDirection = $8; //支出方向",
- " $1.originalRate = $9; //商户费率",
- " $1.originalFee = $10; //原手续费",
- " $1.profitCost = $11; //成本值",
- " $1.couponAmt = $12; //优惠券金额",
- " $1.actualCouponAmt = $13; //分润使用优惠券金额",
- " $1.profitRate = $14; //分润税点",
- " $1.rateFee = $15; //分润税费",
- " $1.incomeScale = $16; //入账比例",
- " $1.actualIncomeAmt = $17; //实际结账户金额",
- " $1.applyDay = $18; //分润日期",
- " $1.createTime = $19; //创建时间",
- " $1.topOrgNo = $20; //一级服务商编号",
- "}"
- ]
- },
- "获取分润记录数量": {
- "prefix": "ym-db-ProfitRecord-FindAndCount",
- "body": [
- "int $1 = db.ProfitRecord.Count(m => $2);",
- ]
- },
- "添加分润记录": {
- "prefix": "ym-db-ProfitRecord-Create",
- "body": [
- "db.ProfitRecord.Add(new ProfitRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " requestId = $1, //请求号",
- " organizationNumber = $2, //直属代理编号",
- " organizationName = $3, //直属代理名称",
- " amount = $4, //分润基础数据金额",
- " orderNo = $5, //原交易/结算流水单号",
- " valueType = $6, //费率类型",
- " balanceDirection = $7, //支出方向",
- " originalRate = $8, //商户费率",
- " originalFee = $9, //原手续费",
- " profitCost = $10, //成本值",
- " couponAmt = $11, //优惠券金额",
- " actualCouponAmt = $12, //分润使用优惠券金额",
- " profitRate = $13, //分润税点",
- " rateFee = $14, //分润税费",
- " incomeScale = $15, //入账比例",
- " actualIncomeAmt = $16, //实际结账户金额",
- " applyDay = $17, //分润日期",
- " createTime = $18, //创建时间",
- " topOrgNo = $19, //一级服务商编号",
- "});"
- ]
- },"删除某个分润记录": {
- "prefix": "ym-db-ProfitRecord-Delete",
- "body": [
- "ProfitRecord $1 = db.ProfitRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " db.ProfitRecord.Remove($1);",
- "}"
- ]
- },
- "查询流量卡分佣交易列表": {
- "prefix": "ym-db-TradeFluxRecord-Find",
- "body": [
- "List<TradeFluxRecord> $1 = db.TradeFluxRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (TradeFluxRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询流量卡分佣交易列表,并取值": {
- "prefix": "ym-db-TradeFluxRecord-FindWithData",
- "body": [
- "List<TradeFluxRecord> $1 = db.TradeFluxRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (TradeFluxRecord $3 in $1)",
- "{",
- " string TradeSerialNo = $3.TradeSerialNo; //交易单号",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " decimal TradeAmount = $3.TradeAmount; //交易金额",
- " string TradeStatus = $3.TradeStatus; //交易状态",
- " string TradeDate = $3.TradeDate; //交易日期",
- " string TradeTime = $3.TradeTime; //交易时间",
- " string BankCardType = $3.BankCardType; //银行卡类型",
- " string TradeSnNo = $3.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $3.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $3.DigAmt; //挖款金额",
- " string BankCardNo = $3.BankCardNo; //交易卡号",
- " decimal FeeAmount = $3.FeeAmount; //手续费",
- " string SettleMethod = $3.SettleMethod; //出款方式",
- " decimal SettleFee = $3.SettleFee; //出款手续费",
- " string SmallDouble = $3.SmallDouble; //小额双免",
- " string BizEnterNo = $3.BizEnterNo; //业务员编号",
- " string BizEnterName = $3.BizEnterName; //业务员名称",
- " string SourceType = $3.SourceType; //来源类型",
- " string BillType = $3.BillType; //计费类型",
- " string KqTradeSeq = $3.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $3.InputModel; //输入模式",
- " string TerminalNo = $3.TerminalNo; //终端号",
- " string DeviceNetwork = $3.DeviceNetwork; //设备网络",
- " string ProductType = $3.ProductType; //产品类型",
- " string AgentNo = $3.AgentNo; //代理商编号",
- "}"
- ]
- },
- "查询流量卡分佣交易": {
- "prefix": "ym-db-TradeFluxRecord-Exist",
- "body": [
- "bool $1 = db.TradeFluxRecord.Any(m => m.MerNo == $2);",
- ]
- },
- "查询某个流量卡分佣交易,并取值": {
- "prefix": "ym-db-TradeFluxRecord-FindByPrimaryKey",
- "body": [
- "TradeFluxRecord $1 = db.TradeFluxRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " string TradeSerialNo = $1.TradeSerialNo; //交易单号",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " decimal TradeAmount = $1.TradeAmount; //交易金额",
- " string TradeStatus = $1.TradeStatus; //交易状态",
- " string TradeDate = $1.TradeDate; //交易日期",
- " string TradeTime = $1.TradeTime; //交易时间",
- " string BankCardType = $1.BankCardType; //银行卡类型",
- " string TradeSnNo = $1.TradeSnNo; //交易SN号",
- " string DigAmtFlag = $1.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $1.DigAmt; //挖款金额",
- " string BankCardNo = $1.BankCardNo; //交易卡号",
- " decimal FeeAmount = $1.FeeAmount; //手续费",
- " string SettleMethod = $1.SettleMethod; //出款方式",
- " decimal SettleFee = $1.SettleFee; //出款手续费",
- " string SmallDouble = $1.SmallDouble; //小额双免",
- " string BizEnterNo = $1.BizEnterNo; //业务员编号",
- " string BizEnterName = $1.BizEnterName; //业务员名称",
- " string SourceType = $1.SourceType; //来源类型",
- " string BillType = $1.BillType; //计费类型",
- " string KqTradeSeq = $1.KqTradeSeq; //快钱交易流水号",
- " string InputModel = $1.InputModel; //输入模式",
- " string TerminalNo = $1.TerminalNo; //终端号",
- " string DeviceNetwork = $1.DeviceNetwork; //设备网络",
- " string ProductType = $1.ProductType; //产品类型",
- " string AgentNo = $1.AgentNo; //代理商编号",
- "}"
- ]
- },
- "查询某个流量卡分佣交易,并赋值": {
- "prefix": "ym-db-TradeFluxRecord-Update",
- "body": [
- "TradeFluxRecord $1 = db.TradeFluxRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " $1.TradeSerialNo = $2; //交易单号",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.TradeAmount = $5; //交易金额",
- " $1.TradeStatus = $6; //交易状态",
- " $1.TradeDate = $7; //交易日期",
- " $1.TradeTime = $8; //交易时间",
- " $1.BankCardType = $9; //银行卡类型",
- " $1.TradeSnNo = $10; //交易SN号",
- " $1.DigAmtFlag = $11; //挖款标识",
- " $1.DigAmt = $12; //挖款金额",
- " $1.BankCardNo = $13; //交易卡号",
- " $1.FeeAmount = $14; //手续费",
- " $1.SettleMethod = $15; //出款方式",
- " $1.SettleFee = $16; //出款手续费",
- " $1.SmallDouble = $17; //小额双免",
- " $1.BizEnterNo = $18; //业务员编号",
- " $1.BizEnterName = $19; //业务员名称",
- " $1.SourceType = $20; //来源类型",
- " $1.BillType = $21; //计费类型",
- " $1.KqTradeSeq = $22; //快钱交易流水号",
- " $1.InputModel = $23; //输入模式",
- " $1.TerminalNo = $24; //终端号",
- " $1.DeviceNetwork = $25; //设备网络",
- " $1.ProductType = $26; //产品类型",
- " $1.AgentNo = $27; //代理商编号",
- "}"
- ]
- },
- "获取流量卡分佣交易数量": {
- "prefix": "ym-db-TradeFluxRecord-FindAndCount",
- "body": [
- "int $1 = db.TradeFluxRecord.Count(m => $2);",
- ]
- },
- "添加流量卡分佣交易": {
- "prefix": "ym-db-TradeFluxRecord-Create",
- "body": [
- "db.TradeFluxRecord.Add(new TradeFluxRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TradeSerialNo = $1, //交易单号",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " TradeAmount = $4, //交易金额",
- " TradeStatus = $5, //交易状态",
- " TradeDate = $6, //交易日期",
- " TradeTime = $7, //交易时间",
- " BankCardType = $8, //银行卡类型",
- " TradeSnNo = $9, //交易SN号",
- " DigAmtFlag = $10, //挖款标识",
- " DigAmt = $11, //挖款金额",
- " BankCardNo = $12, //交易卡号",
- " FeeAmount = $13, //手续费",
- " SettleMethod = $14, //出款方式",
- " SettleFee = $15, //出款手续费",
- " SmallDouble = $16, //小额双免",
- " BizEnterNo = $17, //业务员编号",
- " BizEnterName = $18, //业务员名称",
- " SourceType = $19, //来源类型",
- " BillType = $20, //计费类型",
- " KqTradeSeq = $21, //快钱交易流水号",
- " InputModel = $22, //输入模式",
- " TerminalNo = $23, //终端号",
- " DeviceNetwork = $24, //设备网络",
- " ProductType = $25, //产品类型",
- " AgentNo = $26, //代理商编号",
- "});"
- ]
- },"删除某个流量卡分佣交易": {
- "prefix": "ym-db-TradeFluxRecord-Delete",
- "body": [
- "TradeFluxRecord $1 = db.TradeFluxRecord.FirstOrDefault(m => m.MerNo == $2);",
- "if ($1 != null)",
- "{",
- " db.TradeFluxRecord.Remove($1);",
- "}"
- ]
- },
- "查询交易记录列表": {
- "prefix": "ym-db-TradeRecord-Find",
- "body": [
- "List<TradeRecord> $1 = db.TradeRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (TradeRecord $3 in $1)",
- "{",
- "}"
- ]
- },
- "查询交易记录列表,并取值": {
- "prefix": "ym-db-TradeRecord-FindWithData",
- "body": [
- "List<TradeRecord> $1 = db.TradeRecord.Where(m => $2).OrderByDescending(m => m.Id).ToList();",
- "foreach (TradeRecord $3 in $1)",
- "{",
- " string TradeSerialNo = $3.TradeSerialNo; //交易单号",
- " string MerNo = $3.MerNo; //商户编号",
- " string MerName = $3.MerName; //商户名称",
- " decimal TradeAmount = $3.TradeAmount; //交易金额",
- " string TradeReferNo = $3.TradeReferNo; //交易参考号",
- " string BankAuthCode = $3.BankAuthCode; //银行授权码",
- " string DiscountRateFlag = $3.DiscountRateFlag; //优惠费率标识",
- " string TradeStatus = $3.TradeStatus; //交易状态",
- " string ErrorCode = $3.ErrorCode; //错误码",
- " string ErrorMsg = $3.ErrorMsg; //错误信息",
- " string TradeDate = $3.TradeDate; //交易日期",
- " string TradeTime = $3.TradeTime; //交易时间",
- " string TradeType = $3.TradeType; //交易类型",
- " string SerEntryMode = $3.SerEntryMode; //输入模式",
- " string BankCardType = $3.BankCardType; //银行卡类型",
- " string TradeSnNo = $3.TradeSnNo; //交易SN号",
- " string DeviceType = $3.DeviceType; //设备类型",
- " string MerMobile = $3.MerMobile; //商户手机号",
- " string DigAmtFlag = $3.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $3.DigAmt; //挖款金额",
- " string IsStoreCashier = $3.IsStoreCashier; //店面收银交易标识",
- " string ReceiptType = $3.ReceiptType; //设备类型",
- " string BankCardNo = $3.BankCardNo; //交易卡号",
- " decimal SettleFee = $3.SettleFee; //出款手续费",
- " string SettleMethod = $3.SettleMethod; //出款方式",
- " string Remark = $3.Remark; //备注",
- " string ProductType = $3.ProductType; //产品类型",
- " string AgentNo = $3.AgentNo; //代理商编号",
- " string ChannelSerial = $3.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询交易记录": {
- "prefix": "ym-db-TradeRecord-Exist",
- "body": [
- "bool $1 = db.TradeRecord.Any(m => m.Id == $2);",
- ]
- },
- "查询某个交易记录,并取值": {
- "prefix": "ym-db-TradeRecord-FindByPrimaryKey",
- "body": [
- "TradeRecord $1 = db.TradeRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " string TradeSerialNo = $1.TradeSerialNo; //交易单号",
- " string MerNo = $1.MerNo; //商户编号",
- " string MerName = $1.MerName; //商户名称",
- " decimal TradeAmount = $1.TradeAmount; //交易金额",
- " string TradeReferNo = $1.TradeReferNo; //交易参考号",
- " string BankAuthCode = $1.BankAuthCode; //银行授权码",
- " string DiscountRateFlag = $1.DiscountRateFlag; //优惠费率标识",
- " string TradeStatus = $1.TradeStatus; //交易状态",
- " string ErrorCode = $1.ErrorCode; //错误码",
- " string ErrorMsg = $1.ErrorMsg; //错误信息",
- " string TradeDate = $1.TradeDate; //交易日期",
- " string TradeTime = $1.TradeTime; //交易时间",
- " string TradeType = $1.TradeType; //交易类型",
- " string SerEntryMode = $1.SerEntryMode; //输入模式",
- " string BankCardType = $1.BankCardType; //银行卡类型",
- " string TradeSnNo = $1.TradeSnNo; //交易SN号",
- " string DeviceType = $1.DeviceType; //设备类型",
- " string MerMobile = $1.MerMobile; //商户手机号",
- " string DigAmtFlag = $1.DigAmtFlag; //挖款标识",
- " decimal DigAmt = $1.DigAmt; //挖款金额",
- " string IsStoreCashier = $1.IsStoreCashier; //店面收银交易标识",
- " string ReceiptType = $1.ReceiptType; //设备类型",
- " string BankCardNo = $1.BankCardNo; //交易卡号",
- " decimal SettleFee = $1.SettleFee; //出款手续费",
- " string SettleMethod = $1.SettleMethod; //出款方式",
- " string Remark = $1.Remark; //备注",
- " string ProductType = $1.ProductType; //产品类型",
- " string AgentNo = $1.AgentNo; //代理商编号",
- " string ChannelSerial = $1.ChannelSerial; //渠道流水号",
- "}"
- ]
- },
- "查询某个交易记录,并赋值": {
- "prefix": "ym-db-TradeRecord-Update",
- "body": [
- "TradeRecord $1 = db.TradeRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " $1.TradeSerialNo = $2; //交易单号",
- " $1.MerNo = $3; //商户编号",
- " $1.MerName = $4; //商户名称",
- " $1.TradeAmount = $5; //交易金额",
- " $1.TradeReferNo = $6; //交易参考号",
- " $1.BankAuthCode = $7; //银行授权码",
- " $1.DiscountRateFlag = $8; //优惠费率标识",
- " $1.TradeStatus = $9; //交易状态",
- " $1.ErrorCode = $10; //错误码",
- " $1.ErrorMsg = $11; //错误信息",
- " $1.TradeDate = $12; //交易日期",
- " $1.TradeTime = $13; //交易时间",
- " $1.TradeType = $14; //交易类型",
- " $1.SerEntryMode = $15; //输入模式",
- " $1.BankCardType = $16; //银行卡类型",
- " $1.TradeSnNo = $17; //交易SN号",
- " $1.DeviceType = $18; //设备类型",
- " $1.MerMobile = $19; //商户手机号",
- " $1.DigAmtFlag = $20; //挖款标识",
- " $1.DigAmt = $21; //挖款金额",
- " $1.IsStoreCashier = $22; //店面收银交易标识",
- " $1.ReceiptType = $23; //设备类型",
- " $1.BankCardNo = $24; //交易卡号",
- " $1.SettleFee = $25; //出款手续费",
- " $1.SettleMethod = $26; //出款方式",
- " $1.Remark = $27; //备注",
- " $1.ProductType = $28; //产品类型",
- " $1.AgentNo = $29; //代理商编号",
- " $1.ChannelSerial = $30; //渠道流水号",
- "}"
- ]
- },
- "获取交易记录数量": {
- "prefix": "ym-db-TradeRecord-FindAndCount",
- "body": [
- "int $1 = db.TradeRecord.Count(m => $2);",
- ]
- },
- "添加交易记录": {
- "prefix": "ym-db-TradeRecord-Create",
- "body": [
- "db.TradeRecord.Add(new TradeRecord()",
- "{",
- " CreateDate = DateTime.Now,",
- " UpdateDate = DateTime.Now,",
- " TradeSerialNo = $1, //交易单号",
- " MerNo = $2, //商户编号",
- " MerName = $3, //商户名称",
- " TradeAmount = $4, //交易金额",
- " TradeReferNo = $5, //交易参考号",
- " BankAuthCode = $6, //银行授权码",
- " DiscountRateFlag = $7, //优惠费率标识",
- " TradeStatus = $8, //交易状态",
- " ErrorCode = $9, //错误码",
- " ErrorMsg = $10, //错误信息",
- " TradeDate = $11, //交易日期",
- " TradeTime = $12, //交易时间",
- " TradeType = $13, //交易类型",
- " SerEntryMode = $14, //输入模式",
- " BankCardType = $15, //银行卡类型",
- " TradeSnNo = $16, //交易SN号",
- " DeviceType = $17, //设备类型",
- " MerMobile = $18, //商户手机号",
- " DigAmtFlag = $19, //挖款标识",
- " DigAmt = $20, //挖款金额",
- " IsStoreCashier = $21, //店面收银交易标识",
- " ReceiptType = $22, //设备类型",
- " BankCardNo = $23, //交易卡号",
- " SettleFee = $24, //出款手续费",
- " SettleMethod = $25, //出款方式",
- " Remark = $26, //备注",
- " ProductType = $27, //产品类型",
- " AgentNo = $28, //代理商编号",
- " ChannelSerial = $29, //渠道流水号",
- "});"
- ]
- },"删除某个交易记录": {
- "prefix": "ym-db-TradeRecord-Delete",
- "body": [
- "TradeRecord $1 = db.TradeRecord.FirstOrDefault(m => m.Id == $2);",
- "if ($1 != null)",
- "{",
- " db.TradeRecord.Remove($1);",
- "}"
- ]
- },
- }
|