From c75bf5ecb38991d05521bc9e7e906111de11675d Mon Sep 17 00:00:00 2001 From: Siryuanshao Date: Wed, 9 Jan 2019 20:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gzy/数据库/javaProject/MYSQL-CONNECT.iml | 20 ++++++ gzy/数据库/javaProject/out/.DS_Store | Bin 0 -> 6148 bytes .../javaProject/out/production/.DS_Store | Bin 0 -> 6148 bytes .../out/production/MYSQL-CONNECT/.DS_Store | Bin 0 -> 6148 bytes .../MYSQL-CONNECT/sqlconnect/Add.class | Bin 0 -> 2526 bytes .../MYSQL-CONNECT/sqlconnect/Constant.class | Bin 0 -> 506 bytes .../MYSQL-CONNECT/sqlconnect/Database.class | Bin 0 -> 1487 bytes .../MYSQL-CONNECT/sqlconnect/Del.class | Bin 0 -> 1757 bytes .../MYSQL-CONNECT/sqlconnect/Item.class | Bin 0 -> 1854 bytes .../MYSQL-CONNECT/sqlconnect/Main.class | Bin 0 -> 3416 bytes .../MYSQL-CONNECT/sqlconnect/Que.class | Bin 0 -> 3531 bytes .../MYSQL-CONNECT/sqlconnect/Readclass.class | Bin 0 -> 2872 bytes .../MYSQL-CONNECT/sqlconnect/SQLfilter.class | Bin 0 -> 560 bytes .../MYSQL-CONNECT/sqlconnect/Upd.class | Bin 0 -> 1907 bytes .../MYSQL-CONNECT/sqlconnect/variable | 7 ++ .../javaProject/src/sqlconnect/Add.java | 27 +++++++ .../javaProject/src/sqlconnect/Constant.java | 8 +++ .../javaProject/src/sqlconnect/Database.java | 34 +++++++++ .../javaProject/src/sqlconnect/Del.java | 19 +++++ .../javaProject/src/sqlconnect/Item.java | 23 ++++++ .../javaProject/src/sqlconnect/Main.java | 67 ++++++++++++++++++ .../javaProject/src/sqlconnect/Que.java | 58 +++++++++++++++ .../javaProject/src/sqlconnect/Readclass.java | 46 ++++++++++++ .../javaProject/src/sqlconnect/SQLfilter.java | 14 ++++ .../javaProject/src/sqlconnect/Upd.java | 23 ++++++ .../javaProject/src/sqlconnect/variable | 7 ++ 26 files changed, 353 insertions(+) create mode 100644 gzy/数据库/javaProject/MYSQL-CONNECT.iml create mode 100644 gzy/数据库/javaProject/out/.DS_Store create mode 100644 gzy/数据库/javaProject/out/production/.DS_Store create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/.DS_Store create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Add.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Constant.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Database.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Del.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Item.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Main.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Que.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Readclass.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/SQLfilter.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Upd.class create mode 100644 gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/variable create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Add.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Constant.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Database.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Del.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Item.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Main.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Que.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Readclass.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/SQLfilter.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/Upd.java create mode 100644 gzy/数据库/javaProject/src/sqlconnect/variable diff --git a/gzy/数据库/javaProject/MYSQL-CONNECT.iml b/gzy/数据库/javaProject/MYSQL-CONNECT.iml new file mode 100644 index 0000000..8669e29 --- /dev/null +++ b/gzy/数据库/javaProject/MYSQL-CONNECT.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gzy/数据库/javaProject/out/.DS_Store b/gzy/数据库/javaProject/out/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b5e70020670c11826e80a015d2257fba9bf2da9d GIT binary patch literal 6148 zcmeHK%}N6?5T4YkX+`Wo&|@xwhaTz=77<~o_25ld(SwTax;tLuD%;V>zACc-)*~`*RY+$-Ko$VUDLowq*-hx|BdwE9I|z^CR{x^1xTn)Bh|^Zb zB*#$;L(Wd(G}8Ts?xj)JjN{u5DNC|+QCS`g*6Z64C69T2#IjVw4E!3!Ec5_IQx(nP1%*gwi0%m6bm;S9KAOU_OB zck<^k1I)nRGeGBqLM8MZ<`&J-fsH8v5R2$Gf;RmwQjT)yIm|6$4~np;ekc{X|M!2d|4k4#%m6d+ zKN%3krr&Jf+}zzdHcPr|73w7_3B~0WKU2^!S24!YRlJO91pSH(M9*Pv5j`mUBVcIY Kh8g%%20j4n+G0xp literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/.DS_Store b/gzy/数据库/javaProject/out/production/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..364cc7f0313b46de7f832f5c9c5ff1125b3fdaa7 GIT binary patch literal 6148 zcmeHKU279T6upy1JBbwYAlS!wDfkc}t))RkSkm^P;3r!YQE7KgunXIrl583@M)q&$ zKk6^==d|a}Oo~$NqeQtU+&MQh_s;H~S!VVUk?M{6>qIRg(lF*)1I=&1<7`(@3q4C< z<>q)o_i3A+(=+@8|AGR%b}RIh-cU?0>F4#^#Y*n)<@Q6G+Z0j!iadhdJ9mJ0ZDu+d zorKJ@^d!$lWvBB))t2fvZZ2!x)XkOV`}oLC;xZ}6qh2z6%l}>^ z&lmxePX+r_6-o@{)6s82TokzS?9)kw;zNZit5BgRcXiBfTsW!7v$UdsDDbNST>Akn zKL2rZuX+!~0;Qv%W)pz2Z9-b|ntyi9s&sqaJgfTd-@_d;B#~sCp<)e5N=74^~ W4mb*2c}5Q)9|BGWX+(j)s=x)E#$WpY literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/.DS_Store b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e31deb6d9aacb26d63efdb1965608cef0fdbfe6f GIT binary patch literal 6148 zcmeHK!EVz)5S>i}-2@?WKx&VBsl*|Nv{a1{LbB3w=ncsg9B9?rO++mjZ;2funx^t^ zz#s7id=9+X-Bh5o*D69Y*6bV4&aAy}tz8chsljBpP1GSG4P|V!(A**1&$=Xy;8_DI zH-@DG*ND!kT8b9ODl))p*QS!bP>xmmYyA#$d!FVtML&NWuc0q~JArjiPC6|wL(b3i zGSAAY*ZZX!Yt2WG*R^iz_S5!Bd|{_?l~j{*kc>a_-Mgf^NP~T3ZGLMf>HBOnJ?%W- zw?&m?#c1r3v*8FK#~-p{Xr}`^DTbvRC-xm$w{+{YvpJjX^j~$&&hFm4Yi9j^uWNQ+ z?#<^dy|K0Z=J4$Ex2xIp{N}rx4k>)VPM!r^zz-OA67)457r8Ayp?{IP$Pp9?CU0@fbk Qfyj@5qd^*B;6WMq1EbAi82|tP literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Add.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Add.class new file mode 100644 index 0000000000000000000000000000000000000000..89f04d3c9a66a8b7352b843525726f9eb7a07286 GIT binary patch literal 2526 zcma)8U2_v<6n@?&=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=ioixUzD9)O2J zOv2U!2ixoyP%22Q-(hk-bN_X6t$DV_Aicf_U$rbrtz z%rMmdDP)-ao9sFmP*a9RsD^Gfxf>4LK`#j13oRZZ&9IwNJNs*U-oc@J)N=O^kKN{e zyV=}pd5JZB`y{wBePwAvtrRtMMwUy{=L(z1(SCsf8gz=FoemQo+7S{ rag{2Ojz#Y*MIOCrrnvJ0_MEkxqq~$P^Qci=`4XUxc_Lb5rds?2+ed2a literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Database.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Database.class new file mode 100644 index 0000000000000000000000000000000000000000..43550d2c1f3af3eb92c1487fbb44d30594d36d81 GIT binary patch literal 1487 zcmZuxT~pge6g>+zl4bE>89Ql98j>`Pp+pKH5DJteg?!K$@v@TBkkRD@1A?^-7Ej|?;n2wSiy4x71$aa9XAXt;--Nm z+|seEV@1bp1FQJ9fN881v5pO8eOJUL?r6AcU;_6P%+2=(O0boCOT)H?`vSRLc@ztj z>xc5Sbh?S(b{@&NMRZ-Du+vsbHw*&LO`M&? z>#T2*CZ`aAN-vxd&Q>qP4+FaMaUv6Dn9ltB3h8)3LigB)ANa|pz-VpmCCRqJ0|rml z{lMGnb{byvLN?k&ta|9m_DdQ0YTpNQNy}$>m0?}mGLa1#drFz27BKF=alNC2au}O; z+hI&T!KW`dt#A;-bK?}~zG9R5Y4i=Z-B)Sshuz5a9{5Vr_-QU%wb#U#xX4})^@xpN z^#L`Ucf*d|c}t(|9@>Wo4cFd|{MTNj;em;Vc%)&+#8pMGpuB5o?3&};TDEVm*o(`n z_R`|o($b9;C+Wtm?i*i*aVzYy$S4e%K!4knLEMs|h968kM%~2c_(H?3i9I|qF@p;l zo|?FpYD~xB)4EMOQ?AmPNik8yxlijlty^F!V|vm!vBr|H(6y=5(AhrG2EY zMP1lCFnK{B|q+OBjW& znhwqlcO&?Wd)_8(U0o#C9DN)&zGt~}xC*ZM`4159XpE2w7)wDNmuZ{509?UW+!fTQ zF>03f4%4aMC2RBqxgSrEx5g~Z(oax0hVdT8M-&B)VJc#g5?7I@Jd2 zHBqHZp&T??vqXO5D!5*M5A$!7`TmG;fnT9Np8p+_%#fnYGnJw5s7}$B_{>oAHLjy+ zavMdGmFcYzJI{zJEH{6S=4A j#Rh*f5PpTH)UWs_NgI;qBtZacHBe?z_@83?Y literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Del.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Del.class new file mode 100644 index 0000000000000000000000000000000000000000..93a36f2dc1ad5d7e4f899b9f40fcdb4641c35ed7 GIT binary patch literal 1757 zcma)7?NSq07=8{3*<@Kj0@iAa#TF@F8tYf9sBMW-)PT}ZXtiI5aFmtJZn}FyW&g(5$!e+T~s#B{d_> zl}!T8OVTTIO)$qPBedqVEG$mQQl$tB7X<8lP!0=f%r%uJS;2AR)WJS^2u9zEQ6_>rCRol)0^=6U{lo9KVvlSd-XSLB~?RuGU87&ZHn>#9w>p_7Qj#^9C zkFKj_4yb;>)!-uow;JOwM_Lt0F%^c}6Lo{kO|n5VIVFn>RV}{}7O+Z2$@BjcsKzA2 zlCHX{@>97xuBR2lB({XU`UJP^>R45SY|LO*;6RnQJ$J&O*duzrT~MLw5f=qdigHn9 z1HT~ktg9C&MOylrt-H2IgxvvlBLll3@|9ib@#e z*xoRWtztQi_DUNo%%2WrL0S0JQ1Eks-W}?={!*~0YPYmn>6k3&AY8WaB|Dl6g2i%) zl)TET9%elmMT+HrS6_b3N0sg4(x3NK)LS)t`Mqy2oL(-eJ=Aa4HEfG&bx_SkR(f9E z)oR4TR{}?O)wfq}0*7C&ha+g?+tz%VKz5^pPxE@sa1~se2Y-iHsT_CmnW%sf1DsXF)6Hv0tPK4DD>ux?#Ng2IGbDk@Riuvn z3A+iiKOucSZd4tr9*nP{b%iebZ~~|Jc8|fNaFT(U7i=bzhD9vJz&5(6(T7&*c2K*G ze+=!o$cjd(Wzs!On=?E=h(m~*n=b literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Item.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Item.class new file mode 100644 index 0000000000000000000000000000000000000000..68857cccddc97df1c90adc37ed19ef82e74b3ba5 GIT binary patch literal 1854 zcmb7EL2nyX5dNOM_S){IX`Lo%N@z<-z;Q@iN*hv~hNPyU1}7~z#HzTkah7D`&92#f zj%36Mao_}3&b@F3(Nrp;;@ls>{{R)}_jb3cO$`#VJa68-H{Z;BGjAXL_240Z1vGNV zVphj%IV3Qf#R<$QF|R}^i;H+YgG)NzP{)^bT*=exY7TFqti+NsU(>NHkZf69fzjH& zd1#h8(soL#zHfGGb|A|F*}A>!nzG|t0yBf|EJa4gbazX2>D%sZd6|Bi?6&Em1@`A$ zL{%WYWV^Oh0Shx*JgIm)JQ=RpuC>uQ*tYylbK9XMU-O!#vt|0W+Q&vs?%9FB$y)H4 z)AU@|YRXboS_h1jYBQ)5I9(W&URlKwHvjvKEDzcOIrC|KL>%jn#-!tjD}&JDV*6Pd z$bjNts4mTBYu#+ekd=WM{vS+LOs?*A{HC>LE3&eRgn89E1E(<|FfyQx22LVxU{r}Q zjO%#YzzSB`lIgii7lZQxCql2Vhqt!(Nv?tGsPx&R-qLj4^JE}>v%PM~J#Qx%PUD>n zZWvg@yE<+fsNy{X?_)v*tFgoXXjwmMH(&wmjMrfc;~})Y(rwjKhO|u8;^eNSP7Bp| z0(%nWG_PZW<0J}VMqvEFY*`i0ZJM%S%ROp=G+oI?FUI8e4(jux+Z!OB=BJ$YXGQYD zx%*ULX#n!aJS_<2Rut(i^f`CT0! zF_W6-wK|+^qso`zR~$14ESCITZ(=b<)U=zXyW?2FRODFhNj5IJ$I|Dx$ppr%htTr{$~-j66lEI2(20`4BrOIJiGvq$ zmaD)y>IoG?GDtnnUByg3D80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A@3~R)!17_UES-fzRO)*$xs!t{A3m3%M=QE3RNlwR4R+tC{5#oo=^9Ca*{^v>{EgE zzwoNegVC;Q^al@JhcbH=(cE>!X6dauejV}Io~zI%4pmWq0eiYRHe5pjsG@OZZS(JI zh>rJEk?gLb`7*U8@KFr%OUQSri|zmo{3uHBw+U@X60T;#w1;wSlx)Gr_#HHiwCD2u zgszPe{rE70+0Xe$C>NrPj4TGc07nCm6OC!<&I}3&l2<%*Tct*kC#l{WWsg{| zpq&WcMfCPEmvamu@E9}nG)Z@cr_YncFH_5T=Jz7` z{RSESCi#7p9NZu^Z}9dX$;dx3=YM8K|Hh2}lR5tv^L-N?l8l3riXo{U!}RE|)Py5a z3P(M*&}mxVha=>VOe@PCTjI1ePl-+z!bLnmuR2jryPv`_&KhX_VLZTDf^5N2<10TL@D9d#T1TJ$ zfeC5}(O;jrYyeUV(U~NY4|{yA3v7LowtV?1A}qN4IO6Z3%_H*kyHFLhO6hkH{x4sC zn}nJCKH(pV69v=!lc@hccy*JWg|{7pK83|L1y6_vYa)u1x0=&l)`s|rB=3D2DbbxI nFXw)DiqfMQ?$r@J(P&hj{t9p5*R0nkxNhLdlibt2=c)ezt0Wt6 literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Que.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Que.class new file mode 100644 index 0000000000000000000000000000000000000000..de22240bc0614e4730d307511f70430183cdd461 GIT binary patch literal 3531 zcmbuB{dW}A8OOh~JG--)3<=ppVkE#S#3Y*~Td~DLLMlWkk=+E?7^)&L*_|XqHZyT% z7Kwe)TH8wNTU+01Z7o!c{Yl92M6~C4{JH;!9M17C&{L(~J3HCTl33f*lkA;)pZh$| zJkRGo_ul#E*B^fZU^o7*VmopQ@+u<8HJ}}%q8SszqY93R!SMtNjW~#L6$%~_GZSKX zLJWVT;9(Wbc%%W3;-relaH;{PaV7y>#UzSCQc_?f`8HGNoNdG`%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3! z!+N<~;C0PQ;XMgmYw}w!HVIq*vmWl`*U)x;B>^(OhIqEKy_=&fpAw(3^oNkHvJ*i! z+qf@`qlbO1s(@akIa0;>NG%#m_aI75VCo-;Jp3V|`RLG=^aqeHAG zkXRYSI%3I&cd;qc*CBrdHG*qsT!waH5v^6x1|ez^qGzMh;?1jzNQ~}W#>UJQ#*x5D ze#bR42@z#K8rdfJry|MzHpZI41{^{YCMY{e>1k}l8ML5;RzI7={H)xD`*?lz(@Taq zW!Z~S`#8P>kIr{@9`;myJ;mNIEC+H4+-q0RIsT^1}GV%WDDY7K~)fu zz5#S$Q?%#PALDjlbO{|hKf)ahL>4GFOT4~X`Z68zHFWw!Z+^ZARZNmzpP<)|V;HZ| z+f7oyCdS`RPPgL@bf6QPNw$-kTbbiF3?oIG9kjZOM7Q$`yUV9I#C6|88^J{8Ow1=H zizKk0)?!s2!U5_?^taom7@<5%kNr${m7UOffLelGCu09XC)s^1+IFAb!7tG+(8U9E zhluWnHFW6!-KiCH>1)_>gn+gJ`6X=2kR8b-Q_B$O1hdRqW;^SdCHKmL`<=91W!H@d zk-vpq53}qg#WdPjPn(%pH*07Yt7wqzgJhFu=3}g&6J&6bbtCqZV7IHrZjAP#+622( zI2^E>z=+STja~#Xu`BQMDTdhztrd1D$T#UI=0l74Edd?`0)9<3eo^`qMR)}7@Trph WCA^EjarLJ-ZsN=|Wix*J_`d;7%YCx| literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Readclass.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Readclass.class new file mode 100644 index 0000000000000000000000000000000000000000..372b84006689ae6dd71def9db31def4b169709cd GIT binary patch literal 2872 zcmb7GS#uOs6#hE1^rUIB3?v~CWM4uUf+C0nf+T??Fd3G~LO{`G(n&g*bPv-#kpON8 z;)W}-s8765<%0-?!6K!_vwy%pV5$5BDJ6clrxSXLDNCnj?md0(S-*4cng03Fy`KPV z!Pg2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%|x8v>OZmIAxqmzi4uAbu!w@%gDcz>TKNLkaG7l}!siH|NBK+t E1NX?xvj6}9 literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/SQLfilter.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/SQLfilter.class new file mode 100644 index 0000000000000000000000000000000000000000..2cb7e1456e6a4e3a861427fd7944d1cf7941b35f GIT binary patch literal 560 zcmZutO-lk%6g^MJ&!#jp`&a~G_%VpHYmsI`&`Jt1-1I@?IN8WF(m1xM#CEmsFVwnd z5rovfpWz?yA4GRXF~Q*R-nr-9bI-l^`{&~mzy?*o44v6)Szj}DJBxxBdD8T9T7vBB3< zzxzxlE)072gWf~G`$&h9dAQ+W2>&+(L-22D`_%?bh$wB>MGI%}TS`Js!qkV&03yAN zSeNh)_DaBk8M@sz=>$)hA0}WHa}@ayK#&+e;WWLL*de@F_k@z4P&zPg8+#EN+pgI< U@(DTK;Iw?%gqovh!LAto1+flyaR2}S literal 0 HcmV?d00001 diff --git a/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Upd.class b/gzy/数据库/javaProject/out/production/MYSQL-CONNECT/sqlconnect/Upd.class new file mode 100644 index 0000000000000000000000000000000000000000..a85ca60ef4e4ffd1688854f755610f60f8650ff4 GIT binary patch literal 1907 zcmb_d?NS?67=8}<*sv^660oJV7%Q!OHnu7%v}zlQ)CO8iTC}z5NjR1*%Wm8~!Ey)f z9jMbEcBUQur!Wp`fAj*p4;Z`&_1Pqpq+owIGU1$epM5`{_dRF-`0Mc#0Anbc=){Ru zyov!6gBWVXFh&v>HE|Ld6R+V^l6r533S(_}3vU~ECxLMjZJ01{#=u#D_!--^^}7O* zfx&A6(X6+i1UhrJt7a?9MdcS{(IJw|c_rywlfE53*TJY>v;%CDyg z!UWw`$_rA{?&d)5wp@`JN4mE%dF|Wot%?5&2@@8K(bM4Y!kv;TYuj^~L`?7Gz9$6% zQ)*^YtY~$L>8?np5(>NM=^Zo_Sl?WQk=pZGmX>B@xk`Wm@@D3}ieFMwcF0nK)t?N5 zSvY_$1MgXQALk65w~)o8feRL<@B!J}T7R&0|K8TUC!2SF-u~&)_Jbb{Ok22!4-H(h zki!gVJ@0us(7r6sD81+{1f6lrCUDup70g-q2zdhq3s*rJQo9vCWkA5%y!-v1-#*-Y zxVHVvBMbBB66k2|6~pYBUM}8d3!9)?%NU@+Y*La~8L-|cso(&lY7MAp+sRDJV38>4 z@2Wa(1O?hSCR*BVa7nGQagD=K3qCP;y*d7Bpw%+RQ~CbWPTOAQ3MWZ3IVG1Fs#bn8 zEMSyFCC7axP<;x+>FI8$DnFO|(ss0BnD~xxqA|f8yM}42Lnc1PCjy6SL!TDuK`U2 zS-F~ICaZmGLdm7Nqe?t1|H37k)>&n{dO!-kEGYxm!%6*2pnrG5YSK^ zY0qCZ@CAv_dEQc`%*nmT+r-a0G6)nY`lgYhx{unSn3nE>qk{gL;q$MSCd0yNS?!~K zqk*uUiEM!CF0#^b^0rpIMy0^3AT81_d`3}}PqRH3>;%mdd!N`qp znHl9W+Z*LN9vvF(jSi1IMgka*t)sO!_B+fL%>RJocs#VVXxkg#K>HeFjNu$6`9+B! z%xRn@gqfL)nWTplr9*sslo=jFJHJvLwCJKu53Q2C4O5t91$pKj)-g@HDeCp&FugEq zyoe**L+L1`kcI;KD793jmncQ5QkqhfzWYdHSo1NWX+% value){ + if(Database.Maps.containsKey(table)==false){ + System.err.println("没有找到该表"); + return; + } + ArrayList Word=Readclass.getWord(table,value); + int sz=Word.size(); + StringBuffer sqlQue=new StringBuffer(); + sqlQue.append("insert into "+table+" values ("); + for(int i=0;i Maps = new HashMap(); + static Connection conn; + static Statement state; + public static void init() throws Exception { + Class.forName(Constant.mysql); + Readclass.init(); + conn = DriverManager.getConnection(Constant.url,Constant.user,Constant.passwd); + state = conn.createStatement(); + } + public static void close() { + if(state != null) { + try{ + state.close(); + }catch (Exception e) { + e.printStackTrace(); + } + } + if(conn != null) { + try{ + conn.close(); + }catch (Exception e) { + e.printStackTrace(); + } + } + } +} diff --git a/gzy/数据库/javaProject/src/sqlconnect/Del.java b/gzy/数据库/javaProject/src/sqlconnect/Del.java new file mode 100644 index 0000000..eb517a4 --- /dev/null +++ b/gzy/数据库/javaProject/src/sqlconnect/Del.java @@ -0,0 +1,19 @@ +package sqlconnect; + +public class Del { + public static void delete(String table,String attribute,String value){ + if(Database.Maps.containsKey(table)==false){ + System.err.println("没有找到该表"); + return; + } + attribute=SQLfilter.filter(attribute); + value=SQLfilter.filter(value); + String sqlQue="delete from "+table+" where "+attribute+"="+value; + try{ + Database.state.execute(sqlQue); + }catch (Exception e){ + System.err.println("删除失败"); + e.printStackTrace(); + } + } +} diff --git a/gzy/数据库/javaProject/src/sqlconnect/Item.java b/gzy/数据库/javaProject/src/sqlconnect/Item.java new file mode 100644 index 0000000..5da097c --- /dev/null +++ b/gzy/数据库/javaProject/src/sqlconnect/Item.java @@ -0,0 +1,23 @@ +package sqlconnect; + +import java.util.ArrayList; + +public class Item { + public ArrayList key=new ArrayList(); + public ArrayList type=new ArrayList(); + public int size=0; + public void print(ArrayList> arrayLists){ + for(int i=0;i tmp=arrayLists.get(i); + for(int j=0;j Type=new ArrayList(); + for(int i=0;i data=new ArrayList(); + data.add(BookID); + data.add(BookName); + data.add(Author); + data.add(Price); + data.add(Introduce); + data.add(typed); + Add.insert("Book",data); + } + } + } + Database.close(); + }catch (Exception e){ + e.printStackTrace(); + } + } +} diff --git a/gzy/数据库/javaProject/src/sqlconnect/Que.java b/gzy/数据库/javaProject/src/sqlconnect/Que.java new file mode 100644 index 0000000..ae7e319 --- /dev/null +++ b/gzy/数据库/javaProject/src/sqlconnect/Que.java @@ -0,0 +1,58 @@ +package sqlconnect; + +import java.sql.ResultSet; +import java.util.ArrayList; + +public class Que { + private static ArrayList getAttribute(Item item,ResultSet rs){ + ArrayList arrayList=new ArrayList<>(); + try{ + for(int i=0;i> QueryAll(String table){ + ArrayList> data=new ArrayList<>(); + if(Database.Maps.containsKey(table)==false){ + System.err.println("没有找到该表"); + return data; + } + Item item=Database.Maps.get(table); + String sqlQue="select * from "+table; + try{ + ResultSet rs=Database.state.executeQuery(sqlQue); + while(rs.next()){ + data.add(getAttribute(item,rs)); + } + }catch (Exception e){ + e.printStackTrace(); + } + return data; + } + public static ArrayList> QueryBook(String name){ + ArrayList> arrayLists=new ArrayList<>(); + name=SQLfilter.filter(name); + String sqlQue="select book.bookno,bookname,author from book " + + "join readinghistory rh on book.bookno=rh.bookno " + + "join student on rh.sno=student.sno where sname='"+name+"'"; + System.out.println(sqlQue); + Item item=Database.Maps.get("book"); + try{ + ResultSet rs=Database.state.executeQuery(sqlQue); + while(rs.next()){ + arrayLists.add(getAttribute(item,rs)); + } + }catch (Exception e){ + System.err.println("查询失败"); + e.printStackTrace(); + } + return arrayLists; + } +} diff --git a/gzy/数据库/javaProject/src/sqlconnect/Readclass.java b/gzy/数据库/javaProject/src/sqlconnect/Readclass.java new file mode 100644 index 0000000..76ae8c6 --- /dev/null +++ b/gzy/数据库/javaProject/src/sqlconnect/Readclass.java @@ -0,0 +1,46 @@ +package sqlconnect; + +import java.util.ArrayList; +import java.util.Scanner; +import java.io.File; + +public class Readclass { + public static void init(){ + try{ + Scanner fin=new Scanner(new File("src/sqlconnect/variable")); + while(fin.hasNext()){ + String className=fin.next(); + int count=fin.nextInt(); + Item item=new Item(); + item.size=count; + for(int i=0;i getWord(String table,ArrayList value){ + Item item=Database.Maps.get(table); + ArrayList arrayList=new ArrayList(); + for(int i=0;i