parent
f411784784
commit
75d0746174
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/../../../../:\D\info-manage-main\.idea/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
@ -0,0 +1 @@
|
||||
graduation
|
@ -0,0 +1,6 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="war" name="unnamed">
|
||||
<output-path>$PROJECT_DIR$/out/artifacts/unnamed</output-path>
|
||||
<root id="archive" name="unnamed.war" />
|
||||
</artifact>
|
||||
</component>
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="graduation" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<module name="graduation" options="-parameters" />
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="boss@localhost" uuid="a0c519ef-ad85-493e-8adb-cfd286af7571">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://localhost:3306/boss</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,945 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dataSource name="boss@localhost">
|
||||
<database-model serializer="dbm" dbms="MYSQL" family-id="MYSQL" format-version="4.49">
|
||||
<root id="1"/>
|
||||
<collation id="2" parent="1" name="armscii8_general_ci">
|
||||
<Charset>armscii8</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="3" parent="1" name="armscii8_bin">
|
||||
<Charset>armscii8</Charset>
|
||||
</collation>
|
||||
<collation id="4" parent="1" name="ascii_general_ci">
|
||||
<Charset>ascii</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="5" parent="1" name="ascii_bin">
|
||||
<Charset>ascii</Charset>
|
||||
</collation>
|
||||
<collation id="6" parent="1" name="big5_chinese_ci">
|
||||
<Charset>big5</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="7" parent="1" name="big5_bin">
|
||||
<Charset>big5</Charset>
|
||||
</collation>
|
||||
<collation id="8" parent="1" name="binary">
|
||||
<Charset>binary</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="9" parent="1" name="cp1250_general_ci">
|
||||
<Charset>cp1250</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="10" parent="1" name="cp1250_czech_cs">
|
||||
<Charset>cp1250</Charset>
|
||||
</collation>
|
||||
<collation id="11" parent="1" name="cp1250_croatian_ci">
|
||||
<Charset>cp1250</Charset>
|
||||
</collation>
|
||||
<collation id="12" parent="1" name="cp1250_bin">
|
||||
<Charset>cp1250</Charset>
|
||||
</collation>
|
||||
<collation id="13" parent="1" name="cp1250_polish_ci">
|
||||
<Charset>cp1250</Charset>
|
||||
</collation>
|
||||
<collation id="14" parent="1" name="cp1251_bulgarian_ci">
|
||||
<Charset>cp1251</Charset>
|
||||
</collation>
|
||||
<collation id="15" parent="1" name="cp1251_ukrainian_ci">
|
||||
<Charset>cp1251</Charset>
|
||||
</collation>
|
||||
<collation id="16" parent="1" name="cp1251_bin">
|
||||
<Charset>cp1251</Charset>
|
||||
</collation>
|
||||
<collation id="17" parent="1" name="cp1251_general_ci">
|
||||
<Charset>cp1251</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="18" parent="1" name="cp1251_general_cs">
|
||||
<Charset>cp1251</Charset>
|
||||
</collation>
|
||||
<collation id="19" parent="1" name="cp1256_general_ci">
|
||||
<Charset>cp1256</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="20" parent="1" name="cp1256_bin">
|
||||
<Charset>cp1256</Charset>
|
||||
</collation>
|
||||
<collation id="21" parent="1" name="cp1257_lithuanian_ci">
|
||||
<Charset>cp1257</Charset>
|
||||
</collation>
|
||||
<collation id="22" parent="1" name="cp1257_bin">
|
||||
<Charset>cp1257</Charset>
|
||||
</collation>
|
||||
<collation id="23" parent="1" name="cp1257_general_ci">
|
||||
<Charset>cp1257</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="24" parent="1" name="cp850_general_ci">
|
||||
<Charset>cp850</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="25" parent="1" name="cp850_bin">
|
||||
<Charset>cp850</Charset>
|
||||
</collation>
|
||||
<collation id="26" parent="1" name="cp852_general_ci">
|
||||
<Charset>cp852</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="27" parent="1" name="cp852_bin">
|
||||
<Charset>cp852</Charset>
|
||||
</collation>
|
||||
<collation id="28" parent="1" name="cp866_general_ci">
|
||||
<Charset>cp866</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="29" parent="1" name="cp866_bin">
|
||||
<Charset>cp866</Charset>
|
||||
</collation>
|
||||
<collation id="30" parent="1" name="cp932_japanese_ci">
|
||||
<Charset>cp932</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="31" parent="1" name="cp932_bin">
|
||||
<Charset>cp932</Charset>
|
||||
</collation>
|
||||
<collation id="32" parent="1" name="dec8_swedish_ci">
|
||||
<Charset>dec8</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="33" parent="1" name="dec8_bin">
|
||||
<Charset>dec8</Charset>
|
||||
</collation>
|
||||
<collation id="34" parent="1" name="eucjpms_japanese_ci">
|
||||
<Charset>eucjpms</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="35" parent="1" name="eucjpms_bin">
|
||||
<Charset>eucjpms</Charset>
|
||||
</collation>
|
||||
<collation id="36" parent="1" name="euckr_korean_ci">
|
||||
<Charset>euckr</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="37" parent="1" name="euckr_bin">
|
||||
<Charset>euckr</Charset>
|
||||
</collation>
|
||||
<collation id="38" parent="1" name="gb18030_chinese_ci">
|
||||
<Charset>gb18030</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="39" parent="1" name="gb18030_bin">
|
||||
<Charset>gb18030</Charset>
|
||||
</collation>
|
||||
<collation id="40" parent="1" name="gb18030_unicode_520_ci">
|
||||
<Charset>gb18030</Charset>
|
||||
</collation>
|
||||
<collation id="41" parent="1" name="gb2312_chinese_ci">
|
||||
<Charset>gb2312</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="42" parent="1" name="gb2312_bin">
|
||||
<Charset>gb2312</Charset>
|
||||
</collation>
|
||||
<collation id="43" parent="1" name="gbk_chinese_ci">
|
||||
<Charset>gbk</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="44" parent="1" name="gbk_bin">
|
||||
<Charset>gbk</Charset>
|
||||
</collation>
|
||||
<collation id="45" parent="1" name="geostd8_general_ci">
|
||||
<Charset>geostd8</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="46" parent="1" name="geostd8_bin">
|
||||
<Charset>geostd8</Charset>
|
||||
</collation>
|
||||
<collation id="47" parent="1" name="greek_general_ci">
|
||||
<Charset>greek</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="48" parent="1" name="greek_bin">
|
||||
<Charset>greek</Charset>
|
||||
</collation>
|
||||
<collation id="49" parent="1" name="hebrew_general_ci">
|
||||
<Charset>hebrew</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="50" parent="1" name="hebrew_bin">
|
||||
<Charset>hebrew</Charset>
|
||||
</collation>
|
||||
<collation id="51" parent="1" name="hp8_english_ci">
|
||||
<Charset>hp8</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="52" parent="1" name="hp8_bin">
|
||||
<Charset>hp8</Charset>
|
||||
</collation>
|
||||
<collation id="53" parent="1" name="keybcs2_general_ci">
|
||||
<Charset>keybcs2</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="54" parent="1" name="keybcs2_bin">
|
||||
<Charset>keybcs2</Charset>
|
||||
</collation>
|
||||
<collation id="55" parent="1" name="koi8r_general_ci">
|
||||
<Charset>koi8r</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="56" parent="1" name="koi8r_bin">
|
||||
<Charset>koi8r</Charset>
|
||||
</collation>
|
||||
<collation id="57" parent="1" name="koi8u_general_ci">
|
||||
<Charset>koi8u</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="58" parent="1" name="koi8u_bin">
|
||||
<Charset>koi8u</Charset>
|
||||
</collation>
|
||||
<collation id="59" parent="1" name="latin1_german1_ci">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="60" parent="1" name="latin1_swedish_ci">
|
||||
<Charset>latin1</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="61" parent="1" name="latin1_danish_ci">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="62" parent="1" name="latin1_german2_ci">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="63" parent="1" name="latin1_bin">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="64" parent="1" name="latin1_general_ci">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="65" parent="1" name="latin1_general_cs">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="66" parent="1" name="latin1_spanish_ci">
|
||||
<Charset>latin1</Charset>
|
||||
</collation>
|
||||
<collation id="67" parent="1" name="latin2_czech_cs">
|
||||
<Charset>latin2</Charset>
|
||||
</collation>
|
||||
<collation id="68" parent="1" name="latin2_general_ci">
|
||||
<Charset>latin2</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="69" parent="1" name="latin2_hungarian_ci">
|
||||
<Charset>latin2</Charset>
|
||||
</collation>
|
||||
<collation id="70" parent="1" name="latin2_croatian_ci">
|
||||
<Charset>latin2</Charset>
|
||||
</collation>
|
||||
<collation id="71" parent="1" name="latin2_bin">
|
||||
<Charset>latin2</Charset>
|
||||
</collation>
|
||||
<collation id="72" parent="1" name="latin5_turkish_ci">
|
||||
<Charset>latin5</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="73" parent="1" name="latin5_bin">
|
||||
<Charset>latin5</Charset>
|
||||
</collation>
|
||||
<collation id="74" parent="1" name="latin7_estonian_cs">
|
||||
<Charset>latin7</Charset>
|
||||
</collation>
|
||||
<collation id="75" parent="1" name="latin7_general_ci">
|
||||
<Charset>latin7</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="76" parent="1" name="latin7_general_cs">
|
||||
<Charset>latin7</Charset>
|
||||
</collation>
|
||||
<collation id="77" parent="1" name="latin7_bin">
|
||||
<Charset>latin7</Charset>
|
||||
</collation>
|
||||
<collation id="78" parent="1" name="macce_general_ci">
|
||||
<Charset>macce</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="79" parent="1" name="macce_bin">
|
||||
<Charset>macce</Charset>
|
||||
</collation>
|
||||
<collation id="80" parent="1" name="macroman_general_ci">
|
||||
<Charset>macroman</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="81" parent="1" name="macroman_bin">
|
||||
<Charset>macroman</Charset>
|
||||
</collation>
|
||||
<collation id="82" parent="1" name="sjis_japanese_ci">
|
||||
<Charset>sjis</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="83" parent="1" name="sjis_bin">
|
||||
<Charset>sjis</Charset>
|
||||
</collation>
|
||||
<collation id="84" parent="1" name="swe7_swedish_ci">
|
||||
<Charset>swe7</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="85" parent="1" name="swe7_bin">
|
||||
<Charset>swe7</Charset>
|
||||
</collation>
|
||||
<collation id="86" parent="1" name="tis620_thai_ci">
|
||||
<Charset>tis620</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="87" parent="1" name="tis620_bin">
|
||||
<Charset>tis620</Charset>
|
||||
</collation>
|
||||
<collation id="88" parent="1" name="ucs2_general_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="89" parent="1" name="ucs2_bin">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="90" parent="1" name="ucs2_unicode_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="91" parent="1" name="ucs2_icelandic_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="92" parent="1" name="ucs2_latvian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="93" parent="1" name="ucs2_romanian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="94" parent="1" name="ucs2_slovenian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="95" parent="1" name="ucs2_polish_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="96" parent="1" name="ucs2_estonian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="97" parent="1" name="ucs2_spanish_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="98" parent="1" name="ucs2_swedish_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="99" parent="1" name="ucs2_turkish_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="100" parent="1" name="ucs2_czech_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="101" parent="1" name="ucs2_danish_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="102" parent="1" name="ucs2_lithuanian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="103" parent="1" name="ucs2_slovak_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="104" parent="1" name="ucs2_spanish2_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="105" parent="1" name="ucs2_roman_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="106" parent="1" name="ucs2_persian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="107" parent="1" name="ucs2_esperanto_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="108" parent="1" name="ucs2_hungarian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="109" parent="1" name="ucs2_sinhala_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="110" parent="1" name="ucs2_german2_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="111" parent="1" name="ucs2_croatian_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="112" parent="1" name="ucs2_unicode_520_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="113" parent="1" name="ucs2_vietnamese_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="114" parent="1" name="ucs2_general_mysql500_ci">
|
||||
<Charset>ucs2</Charset>
|
||||
</collation>
|
||||
<collation id="115" parent="1" name="ujis_japanese_ci">
|
||||
<Charset>ujis</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="116" parent="1" name="ujis_bin">
|
||||
<Charset>ujis</Charset>
|
||||
</collation>
|
||||
<collation id="117" parent="1" name="utf16_general_ci">
|
||||
<Charset>utf16</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="118" parent="1" name="utf16_bin">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="119" parent="1" name="utf16_unicode_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="120" parent="1" name="utf16_icelandic_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="121" parent="1" name="utf16_latvian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="122" parent="1" name="utf16_romanian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="123" parent="1" name="utf16_slovenian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="124" parent="1" name="utf16_polish_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="125" parent="1" name="utf16_estonian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="126" parent="1" name="utf16_spanish_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="127" parent="1" name="utf16_swedish_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="128" parent="1" name="utf16_turkish_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="129" parent="1" name="utf16_czech_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="130" parent="1" name="utf16_danish_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="131" parent="1" name="utf16_lithuanian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="132" parent="1" name="utf16_slovak_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="133" parent="1" name="utf16_spanish2_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="134" parent="1" name="utf16_roman_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="135" parent="1" name="utf16_persian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="136" parent="1" name="utf16_esperanto_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="137" parent="1" name="utf16_hungarian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="138" parent="1" name="utf16_sinhala_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="139" parent="1" name="utf16_german2_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="140" parent="1" name="utf16_croatian_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="141" parent="1" name="utf16_unicode_520_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="142" parent="1" name="utf16_vietnamese_ci">
|
||||
<Charset>utf16</Charset>
|
||||
</collation>
|
||||
<collation id="143" parent="1" name="utf16le_general_ci">
|
||||
<Charset>utf16le</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="144" parent="1" name="utf16le_bin">
|
||||
<Charset>utf16le</Charset>
|
||||
</collation>
|
||||
<collation id="145" parent="1" name="utf32_general_ci">
|
||||
<Charset>utf32</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="146" parent="1" name="utf32_bin">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="147" parent="1" name="utf32_unicode_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="148" parent="1" name="utf32_icelandic_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="149" parent="1" name="utf32_latvian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="150" parent="1" name="utf32_romanian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="151" parent="1" name="utf32_slovenian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="152" parent="1" name="utf32_polish_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="153" parent="1" name="utf32_estonian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="154" parent="1" name="utf32_spanish_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="155" parent="1" name="utf32_swedish_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="156" parent="1" name="utf32_turkish_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="157" parent="1" name="utf32_czech_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="158" parent="1" name="utf32_danish_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="159" parent="1" name="utf32_lithuanian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="160" parent="1" name="utf32_slovak_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="161" parent="1" name="utf32_spanish2_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="162" parent="1" name="utf32_roman_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="163" parent="1" name="utf32_persian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="164" parent="1" name="utf32_esperanto_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="165" parent="1" name="utf32_hungarian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="166" parent="1" name="utf32_sinhala_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="167" parent="1" name="utf32_german2_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="168" parent="1" name="utf32_croatian_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="169" parent="1" name="utf32_unicode_520_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="170" parent="1" name="utf32_vietnamese_ci">
|
||||
<Charset>utf32</Charset>
|
||||
</collation>
|
||||
<collation id="171" parent="1" name="utf8mb3_general_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="172" parent="1" name="utf8mb3_tolower_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="173" parent="1" name="utf8mb3_bin">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="174" parent="1" name="utf8mb3_unicode_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="175" parent="1" name="utf8mb3_icelandic_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="176" parent="1" name="utf8mb3_latvian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="177" parent="1" name="utf8mb3_romanian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="178" parent="1" name="utf8mb3_slovenian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="179" parent="1" name="utf8mb3_polish_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="180" parent="1" name="utf8mb3_estonian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="181" parent="1" name="utf8mb3_spanish_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="182" parent="1" name="utf8mb3_swedish_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="183" parent="1" name="utf8mb3_turkish_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="184" parent="1" name="utf8mb3_czech_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="185" parent="1" name="utf8mb3_danish_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="186" parent="1" name="utf8mb3_lithuanian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="187" parent="1" name="utf8mb3_slovak_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="188" parent="1" name="utf8mb3_spanish2_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="189" parent="1" name="utf8mb3_roman_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="190" parent="1" name="utf8mb3_persian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="191" parent="1" name="utf8mb3_esperanto_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="192" parent="1" name="utf8mb3_hungarian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="193" parent="1" name="utf8mb3_sinhala_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="194" parent="1" name="utf8mb3_german2_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="195" parent="1" name="utf8mb3_croatian_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="196" parent="1" name="utf8mb3_unicode_520_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="197" parent="1" name="utf8mb3_vietnamese_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="198" parent="1" name="utf8mb3_general_mysql500_ci">
|
||||
<Charset>utf8mb3</Charset>
|
||||
</collation>
|
||||
<collation id="199" parent="1" name="utf8mb4_general_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="200" parent="1" name="utf8mb4_bin">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="201" parent="1" name="utf8mb4_unicode_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="202" parent="1" name="utf8mb4_icelandic_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="203" parent="1" name="utf8mb4_latvian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="204" parent="1" name="utf8mb4_romanian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="205" parent="1" name="utf8mb4_slovenian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="206" parent="1" name="utf8mb4_polish_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="207" parent="1" name="utf8mb4_estonian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="208" parent="1" name="utf8mb4_spanish_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="209" parent="1" name="utf8mb4_swedish_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="210" parent="1" name="utf8mb4_turkish_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="211" parent="1" name="utf8mb4_czech_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="212" parent="1" name="utf8mb4_danish_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="213" parent="1" name="utf8mb4_lithuanian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="214" parent="1" name="utf8mb4_slovak_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="215" parent="1" name="utf8mb4_spanish2_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="216" parent="1" name="utf8mb4_roman_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="217" parent="1" name="utf8mb4_persian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="218" parent="1" name="utf8mb4_esperanto_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="219" parent="1" name="utf8mb4_hungarian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="220" parent="1" name="utf8mb4_sinhala_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="221" parent="1" name="utf8mb4_german2_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="222" parent="1" name="utf8mb4_croatian_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="223" parent="1" name="utf8mb4_unicode_520_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="224" parent="1" name="utf8mb4_vietnamese_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="225" parent="1" name="utf8mb4_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
<DefaultForCharset>1</DefaultForCharset>
|
||||
</collation>
|
||||
<collation id="226" parent="1" name="utf8mb4_de_pb_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="227" parent="1" name="utf8mb4_is_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="228" parent="1" name="utf8mb4_lv_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="229" parent="1" name="utf8mb4_ro_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="230" parent="1" name="utf8mb4_sl_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="231" parent="1" name="utf8mb4_pl_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="232" parent="1" name="utf8mb4_et_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="233" parent="1" name="utf8mb4_es_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="234" parent="1" name="utf8mb4_sv_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="235" parent="1" name="utf8mb4_tr_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="236" parent="1" name="utf8mb4_cs_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="237" parent="1" name="utf8mb4_da_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="238" parent="1" name="utf8mb4_lt_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="239" parent="1" name="utf8mb4_sk_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="240" parent="1" name="utf8mb4_es_trad_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="241" parent="1" name="utf8mb4_la_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="242" parent="1" name="utf8mb4_eo_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="243" parent="1" name="utf8mb4_hu_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="244" parent="1" name="utf8mb4_hr_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="245" parent="1" name="utf8mb4_vi_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="246" parent="1" name="utf8mb4_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="247" parent="1" name="utf8mb4_de_pb_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="248" parent="1" name="utf8mb4_is_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="249" parent="1" name="utf8mb4_lv_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="250" parent="1" name="utf8mb4_ro_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="251" parent="1" name="utf8mb4_sl_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="252" parent="1" name="utf8mb4_pl_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="253" parent="1" name="utf8mb4_et_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="254" parent="1" name="utf8mb4_es_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="255" parent="1" name="utf8mb4_sv_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="256" parent="1" name="utf8mb4_tr_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="257" parent="1" name="utf8mb4_cs_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="258" parent="1" name="utf8mb4_da_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="259" parent="1" name="utf8mb4_lt_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="260" parent="1" name="utf8mb4_sk_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="261" parent="1" name="utf8mb4_es_trad_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="262" parent="1" name="utf8mb4_la_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="263" parent="1" name="utf8mb4_eo_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="264" parent="1" name="utf8mb4_hu_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="265" parent="1" name="utf8mb4_hr_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="266" parent="1" name="utf8mb4_vi_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="267" parent="1" name="utf8mb4_ja_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="268" parent="1" name="utf8mb4_ja_0900_as_cs_ks">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="269" parent="1" name="utf8mb4_0900_as_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="270" parent="1" name="utf8mb4_ru_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="271" parent="1" name="utf8mb4_ru_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="272" parent="1" name="utf8mb4_zh_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="273" parent="1" name="utf8mb4_0900_bin">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="274" parent="1" name="utf8mb4_nb_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="275" parent="1" name="utf8mb4_nb_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="276" parent="1" name="utf8mb4_nn_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="277" parent="1" name="utf8mb4_nn_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="278" parent="1" name="utf8mb4_sr_latn_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="279" parent="1" name="utf8mb4_sr_latn_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="280" parent="1" name="utf8mb4_bs_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="281" parent="1" name="utf8mb4_bs_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="282" parent="1" name="utf8mb4_bg_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="283" parent="1" name="utf8mb4_bg_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="284" parent="1" name="utf8mb4_gl_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="285" parent="1" name="utf8mb4_gl_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="286" parent="1" name="utf8mb4_mn_cyrl_0900_ai_ci">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<collation id="287" parent="1" name="utf8mb4_mn_cyrl_0900_as_cs">
|
||||
<Charset>utf8mb4</Charset>
|
||||
</collation>
|
||||
<schema id="288" parent="1" name="mysql">
|
||||
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="289" parent="1" name="information_schema">
|
||||
<CollationName>utf8mb3_general_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="290" parent="1" name="performance_schema">
|
||||
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="291" parent="1" name="sys">
|
||||
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="292" parent="1" name="boss">
|
||||
<Current>1</Current>
|
||||
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="293" parent="1" name="zhaopin_test">
|
||||
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
||||
</schema>
|
||||
<schema id="294" parent="1" name="ifmanage_design_wzq">
|
||||
<CollationName>utf8mb3_general_ci</CollationName>
|
||||
</schema>
|
||||
<user id="295" parent="1" name="mysql.infoschema">
|
||||
<CanLogin>0</CanLogin>
|
||||
<Host>localhost</Host>
|
||||
<Plugin>caching_sha2_password</Plugin>
|
||||
</user>
|
||||
<user id="296" parent="1" name="mysql.session">
|
||||
<CanLogin>0</CanLogin>
|
||||
<Host>localhost</Host>
|
||||
<Plugin>caching_sha2_password</Plugin>
|
||||
</user>
|
||||
<user id="297" parent="1" name="mysql.sys">
|
||||
<CanLogin>0</CanLogin>
|
||||
<Host>localhost</Host>
|
||||
<Plugin>caching_sha2_password</Plugin>
|
||||
</user>
|
||||
<user id="298" parent="1" name="root">
|
||||
<Host>localhost</Host>
|
||||
</user>
|
||||
</database-model>
|
||||
</dataSource>
|
@ -0,0 +1,2 @@
|
||||
#n:information_schema
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
@ -0,0 +1,2 @@
|
||||
#n:mysql
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
@ -0,0 +1,2 @@
|
||||
#n:performance_schema
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
@ -0,0 +1,2 @@
|
||||
#n:sys
|
||||
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://mirrors.huaweicloud.com/repository/maven/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,11 @@
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK" />
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/graduation.iml" filepath="$PROJECT_DIR$/graduation.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SqlDialectMappings">
|
||||
<file url="file://$PROJECT_DIR$/ifmanage_design_wzq.sql" dialect="MySQL" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="Spring" name="Spring">
|
||||
<configuration />
|
||||
</facet>
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,181 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.4.5</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
<groupId>com.sm</groupId>
|
||||
<artifactId>graduation</artifactId>
|
||||
<version>1.0</version>
|
||||
<name>graduation</name>
|
||||
<description>Graduation project information management of nursing home</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
||||
<commons.io.version>2.5</commons.io.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- SpringBoot Web容器 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot集成mybatis框架 -->
|
||||
<dependency>
|
||||
<groupId>org.mybatis.spring.boot</groupId>
|
||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||
<version>1.3.2</version>
|
||||
</dependency>
|
||||
<!-- SpringBoot 测试 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-pool2</artifactId>
|
||||
</dependency>
|
||||
<!-- knife4j -->
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||||
<version>2.0.7</version>
|
||||
</dependency>
|
||||
<!--GSON -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
</dependency>
|
||||
<!-- JSON 解 析 工 具 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.68</version>
|
||||
</dependency>
|
||||
<!-- pageHelper -->
|
||||
<dependency>
|
||||
<groupId>com.github.pagehelper</groupId>
|
||||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||||
<version>1.2.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.21</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- thymeleaf模版 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--常用工具类 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.4</version>
|
||||
</dependency>
|
||||
|
||||
<!--io常用工具类 -->
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons.io.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!--文件上传工具类 -->
|
||||
<dependency>
|
||||
<groupId>commons-fileupload</groupId>
|
||||
<artifactId>commons-fileupload</artifactId>
|
||||
<version>${commons.fileupload.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- 热部署 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-devtools</artifactId>
|
||||
<optional>false</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Hutool是一个Java工具包 http://hutool.cn/ -->
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>4.1.12</version>
|
||||
</dependency>
|
||||
<!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity</artifactId>
|
||||
<version>1.7</version>
|
||||
</dependency>
|
||||
<!-- websocket -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||||
</dependency>
|
||||
<!-- 配置文件读取 -->
|
||||
<dependency>
|
||||
<groupId>commons-configuration</groupId>
|
||||
<artifactId>commons-configuration</artifactId>
|
||||
<version>1.10</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--验证码
|
||||
https://gitee.com/whvse/EasyCaptcha?_from=gitee_search-->
|
||||
<dependency>
|
||||
<groupId>com.github.whvcse</groupId>
|
||||
<artifactId>easy-captcha</artifactId>
|
||||
<version>1.6.2</version>
|
||||
</dependency>
|
||||
<!-- 亚马逊aws-s3 -->
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
<artifactId>aws-java-sdk-s3</artifactId>
|
||||
<version>1.11.543</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
|
||||
</project>
|
@ -0,0 +1,15 @@
|
||||
package com.sm;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
@MapperScan("com.sm.graduation.*.dao")
|
||||
public class GraduationApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(GraduationApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.sm.graduation.accident.dao;
|
||||
|
||||
import com.sm.graduation.accident.pojo.AccidentRecord;
|
||||
import org.apache.ibatis.annotations.*;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Mapper
|
||||
public interface AccidentRecordMapper {
|
||||
|
||||
|
||||
List<AccidentRecord> listAll(Map map);
|
||||
|
||||
@Select("select id,accident,detail,acc_time,loss from accident_record where id=#{id}")
|
||||
AccidentRecord getById(Long id);
|
||||
|
||||
@Insert("insert into accident_record(accident,detail,acc_time,loss) values(#{accident},#{detail},#{accTime},#{loss})")
|
||||
int insert(AccidentRecord accidentRecord);
|
||||
|
||||
@Update("update accident_record set accident=#{accident},detail=#{detail}, acc_time=#{accTime}, loss=#{loss} where id=#{id}")
|
||||
int update(AccidentRecord accidentRecord);
|
||||
|
||||
@Delete("delete from accident_record where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.sm.graduation.accident.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class AccidentRecord {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 事故 */
|
||||
private String accident;
|
||||
private String detail;
|
||||
/** 年月 */
|
||||
private String accTime;
|
||||
/** 损失 */
|
||||
private Long loss;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.accident.service;
|
||||
|
||||
import com.sm.graduation.accident.pojo.AccidentRecord;
|
||||
import com.sm.graduation.accident.dao.AccidentRecordMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class AccidentRecordService {
|
||||
|
||||
@Autowired
|
||||
private AccidentRecordMapper accidentRecordMapper;
|
||||
|
||||
public List<AccidentRecord> listAll(Map map) {
|
||||
return accidentRecordMapper.listAll(map);
|
||||
}
|
||||
|
||||
public AccidentRecord getById(Long id) {
|
||||
return accidentRecordMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(AccidentRecord accidentRecord) {
|
||||
return accidentRecordMapper.insert(accidentRecord);
|
||||
}
|
||||
|
||||
public int update(AccidentRecord accidentRecord) {
|
||||
return accidentRecordMapper.update(accidentRecord);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return accidentRecordMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.sm.graduation.admin.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.sm.graduation.root.pojo.RootInfo;
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.admin.pojo.AdminInfo;
|
||||
|
||||
@Mapper
|
||||
public interface AdminInfoMapper {
|
||||
|
||||
@Select("select * from admin_info where admin_login=#{adminLogin}")
|
||||
AdminInfo sltName(AdminInfo adminInfo);
|
||||
|
||||
|
||||
@Select("select count(*) from admin_info where admin_login=#{adminLogin} and admin_pwd=#{adminPwd}")
|
||||
boolean loginIn(AdminInfo adminInfo);
|
||||
|
||||
|
||||
List<AdminInfo> listAll(Map map);
|
||||
|
||||
@Select("select * from admin_info where admin_id=#{adminID}")
|
||||
AdminInfo getById(Long adminId);
|
||||
|
||||
@Insert("insert into admin_info(admin_login,admin_name,admin_sex,admin_tel) values(#{adminLogin},#{adminName},#{adminSex},#{adminTel}) ")
|
||||
int insert(AdminInfo adminInfo);
|
||||
|
||||
@Update("update admin_info set admin_login=#{adminLogin}, admin_name=#{adminName},admin_sex=#{adminSex},admin_tel=#{adminTel} where admin_id=#{adminId}")
|
||||
int update(AdminInfo adminInfo);
|
||||
|
||||
@Delete("delete from admin_info where admin_id=#{adminId}")
|
||||
int delAdmin(Integer adminId);
|
||||
|
||||
@Update("update admin_info set admin_pwd=#{pwd} where admin_id=#{id}")
|
||||
int altPwd(Map map);
|
||||
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
package com.sm.graduation.admin.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class AdminInfo {
|
||||
/** 管理员编号 */
|
||||
private Long adminId;
|
||||
/** 登录名 */
|
||||
private String adminLogin;
|
||||
/** 密码 */
|
||||
private String adminPwd;
|
||||
/** 用户名 */
|
||||
private String adminName;
|
||||
private long adminTel;
|
||||
|
||||
private String adminSex;
|
||||
private short power;
|
||||
|
||||
public Long getAdminId() {
|
||||
return adminId;
|
||||
}
|
||||
|
||||
public void setAdminId(Long adminId) {
|
||||
this.adminId = adminId;
|
||||
}
|
||||
|
||||
public String getAdminLogin() {
|
||||
return adminLogin;
|
||||
}
|
||||
|
||||
public void setAdminLogin(String adminLogin) {
|
||||
this.adminLogin = adminLogin;
|
||||
}
|
||||
|
||||
public String getAdminPwd() {
|
||||
return adminPwd;
|
||||
}
|
||||
|
||||
public void setAdminPwd(String adminPwd) {
|
||||
this.adminPwd = adminPwd;
|
||||
}
|
||||
|
||||
public String getAdminName() {
|
||||
return adminName;
|
||||
}
|
||||
|
||||
public void setAdminName(String adminName) {
|
||||
this.adminName = adminName;
|
||||
}
|
||||
|
||||
public long getAdminTel() {
|
||||
return adminTel;
|
||||
}
|
||||
|
||||
public void setAdminTel(long adminTel) {
|
||||
this.adminTel = adminTel;
|
||||
}
|
||||
|
||||
public String getAdminSex() {
|
||||
return adminSex;
|
||||
}
|
||||
|
||||
public void setAdminSex(String adminSex) {
|
||||
this.adminSex = adminSex;
|
||||
}
|
||||
|
||||
public short getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(short power) {
|
||||
this.power = power;
|
||||
}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package com.sm.graduation.admin.service;
|
||||
|
||||
import com.sm.graduation.admin.pojo.AdminInfo;
|
||||
import com.sm.graduation.admin.dao.AdminInfoMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class AdminInfoService {
|
||||
|
||||
@Autowired
|
||||
private AdminInfoMapper adminInfoMapper;
|
||||
|
||||
public AdminInfo sltName(AdminInfo adminInfo){
|
||||
return adminInfoMapper.sltName(adminInfo);
|
||||
}
|
||||
|
||||
public boolean loginIn(AdminInfo adminInfo){
|
||||
return adminInfoMapper.loginIn(adminInfo);
|
||||
}
|
||||
|
||||
public List<AdminInfo> listAll(Map map) {
|
||||
return adminInfoMapper.listAll(map);
|
||||
}
|
||||
|
||||
public AdminInfo getById(Long adminId) {
|
||||
return adminInfoMapper.getById(adminId);
|
||||
}
|
||||
|
||||
public int insert(AdminInfo adminInfo) {
|
||||
return adminInfoMapper.insert(adminInfo);
|
||||
}
|
||||
|
||||
public int update(AdminInfo adminInfo) {
|
||||
return adminInfoMapper.update(adminInfo);
|
||||
}
|
||||
|
||||
public int delAdmin(Integer adminId) {
|
||||
return adminInfoMapper.delAdmin(adminId);
|
||||
}
|
||||
|
||||
public int altPwd(Map map) {
|
||||
return adminInfoMapper.altPwd(map);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.sm.graduation.checkin.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.checkin.pojo.CheckIn;
|
||||
|
||||
@Mapper
|
||||
public interface CheckInMapper {
|
||||
|
||||
|
||||
List<CheckIn> listAll(Map map);
|
||||
|
||||
@Select("select id,cost,year from check_in where id=#{id}")
|
||||
CheckIn getById(Long id);
|
||||
|
||||
@Insert("insert into check_in(cost,year) values(#{cost},#{year})")
|
||||
int insert(CheckIn checkIn);
|
||||
|
||||
@Update("update check_in set cost=#{cost}, year=#{year} where id=#{id}")
|
||||
int update(CheckIn checkIn);
|
||||
|
||||
@Delete("delete from check_in where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.sm.graduation.checkin.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class CheckIn {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 入住费用 */
|
||||
private Double cost;
|
||||
/** 年份 */
|
||||
private String year;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.checkin.service;
|
||||
|
||||
import com.sm.graduation.checkin.pojo.CheckIn;
|
||||
import com.sm.graduation.checkin.dao.CheckInMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class CheckInService {
|
||||
|
||||
@Autowired
|
||||
private CheckInMapper checkInMapper;
|
||||
|
||||
public List<CheckIn> listAll(Map map) {
|
||||
return checkInMapper.listAll(map);
|
||||
}
|
||||
|
||||
public CheckIn getById(Long id) {
|
||||
return checkInMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(CheckIn checkIn) {
|
||||
return checkInMapper.insert(checkIn);
|
||||
}
|
||||
|
||||
public int update(CheckIn checkIn) {
|
||||
return checkInMapper.update(checkIn);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return checkInMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sm.graduation.common.captcha;
|
||||
|
||||
|
||||
import com.wf.captcha.ArithmeticCaptcha;
|
||||
import com.wf.captcha.ChineseCaptcha;
|
||||
import com.wf.captcha.ChineseGifCaptcha;
|
||||
import com.wf.captcha.GifCaptcha;
|
||||
import org.springframework.http.HttpRequest;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import javax.servlet.ServletOutputStream;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.IOException;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/captcha")
|
||||
public class CaptchaController {
|
||||
|
||||
@RequestMapping("/getCode")
|
||||
public void getCode(HttpServletResponse response, HttpServletRequest request) throws IOException {
|
||||
ServletOutputStream outputStream = response.getOutputStream();
|
||||
// 动态英文和数字验证码
|
||||
GifCaptcha gifCaptcha = new GifCaptcha(120,40,4);
|
||||
|
||||
String captCode = gifCaptcha.text();
|
||||
request.getSession().setAttribute("captCode",captCode);
|
||||
|
||||
gifCaptcha.out(outputStream);
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.sm.graduation.common.interceptor;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.servlet.HandlerInterceptor;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.IOException;
|
||||
|
||||
@Component
|
||||
public class LoginInterceptor implements HandlerInterceptor {
|
||||
|
||||
@Override
|
||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws IOException {
|
||||
HttpSession session = request.getSession();
|
||||
Object user = session.getAttribute("username");
|
||||
|
||||
if (user == null) {
|
||||
System.out.println("拦截器拦截......");
|
||||
System.out.println("preHandle ::: " + null + " ::: " + request.getRequestURL());
|
||||
response.sendRedirect("/404");
|
||||
return false;
|
||||
} else {
|
||||
System.out.println("拦截器放行......");
|
||||
System.out.println("preHandle ::: " + user + " ::: " + request.getRequestURL());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package com.sm.graduation.common.loginpojo;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class LoginPojo {
|
||||
private String username;
|
||||
private String password;
|
||||
private String captcha;
|
||||
private Integer power;
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getCaptcha() {
|
||||
return captcha;
|
||||
}
|
||||
|
||||
public void setCaptcha(String captcha) {
|
||||
this.captcha = captcha;
|
||||
}
|
||||
|
||||
public Integer getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(Integer power) {
|
||||
this.power = power;
|
||||
}
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
package com.sm.graduation.common.result;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
public class AjaxResult extends HashMap<String, Object> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public AjaxResult() {}
|
||||
|
||||
/**
|
||||
* 500 --- 操作失败
|
||||
*/
|
||||
public static AjaxResult error() {
|
||||
return error(500, "操作失败");
|
||||
}
|
||||
|
||||
/**
|
||||
* 500 --- msg
|
||||
*/
|
||||
public static AjaxResult error(String msg)
|
||||
{
|
||||
return error(500, msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* code --- msg
|
||||
*/
|
||||
public static AjaxResult error(int code, String msg) {
|
||||
AjaxResult json = new AjaxResult();
|
||||
json.put("code", code);
|
||||
json.put("msg", msg);
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
public static AjaxResult success(int code, String msg) {
|
||||
AjaxResult json = new AjaxResult();
|
||||
json.put("code", code);
|
||||
json.put("msg", msg);
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 200 --- msg
|
||||
*/
|
||||
public static AjaxResult success(String msg)
|
||||
{
|
||||
AjaxResult json = new AjaxResult();
|
||||
json.put("msg", msg);
|
||||
json.put("code", 200);
|
||||
return json;
|
||||
}
|
||||
|
||||
/**
|
||||
* 200 --- 操作成功
|
||||
*/
|
||||
public static AjaxResult success()
|
||||
{
|
||||
return AjaxResult.success("操作成功");
|
||||
}
|
||||
|
||||
|
||||
|
||||
public static AjaxResult successData(long total, Object value){
|
||||
AjaxResult json = new AjaxResult();
|
||||
json.put("code", 0);
|
||||
json.put("msg","操作成功");
|
||||
json.put("count",total);
|
||||
json.put("data", value);
|
||||
return json;
|
||||
}
|
||||
|
||||
public static AjaxResult errorData(long total, Object data){
|
||||
AjaxResult json = new AjaxResult();
|
||||
json.put("code", 500);
|
||||
json.put("msg","操作失败");
|
||||
json.put("count",total);
|
||||
json.put("data", data);
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* put( k, v)
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult put(String key, Object value)
|
||||
{
|
||||
super.put(key, value);
|
||||
return this;
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.sm.graduation.dormitory.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.dormitory.pojo.DormitoryAllocation;
|
||||
|
||||
@Mapper
|
||||
public interface DormitoryAllocationMapper {
|
||||
|
||||
List<DormitoryAllocation> listAll(Map map);
|
||||
|
||||
|
||||
@Select("select id,dormitory,living,name from dormitory_allocation where id=#{id}")
|
||||
DormitoryAllocation getById(Long id);
|
||||
|
||||
|
||||
@Insert("insert into dormitory_allocation(dormitory,living,name) values(#{dormitory},#{living},#{name})")
|
||||
int insert(DormitoryAllocation dormitoryAllocation);
|
||||
|
||||
@Update("update dormitory_allocation set dormitory=#{dormitory}, living=#{living}, name=#{name} where id=#{id}")
|
||||
int update(DormitoryAllocation dormitoryAllocation);
|
||||
|
||||
|
||||
@Delete("delete from dormitory_allocation where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.sm.graduation.dormitory.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class DormitoryAllocation {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 宿舍 */
|
||||
private String dormitory;
|
||||
/** 0无人居住 1有人居住 */
|
||||
private Short living;
|
||||
private String name;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.dormitory.service;
|
||||
|
||||
import com.sm.graduation.dormitory.pojo.DormitoryAllocation;
|
||||
import com.sm.graduation.dormitory.dao.DormitoryAllocationMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class DormitoryAllocationService {
|
||||
|
||||
@Autowired
|
||||
private DormitoryAllocationMapper dormitoryAllocationMapper;
|
||||
|
||||
public List<DormitoryAllocation> listAll(Map map) {
|
||||
return dormitoryAllocationMapper.listAll(map);
|
||||
}
|
||||
|
||||
public DormitoryAllocation getById(Long id) {
|
||||
return dormitoryAllocationMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(DormitoryAllocation dormitoryAllocation) {
|
||||
return dormitoryAllocationMapper.insert(dormitoryAllocation);
|
||||
}
|
||||
|
||||
public int update(DormitoryAllocation dormitoryAllocation) {
|
||||
return dormitoryAllocationMapper.update(dormitoryAllocation);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return dormitoryAllocationMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.sm.graduation.food.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.food.pojo.MonthlyCatering;
|
||||
|
||||
@Mapper
|
||||
public interface MonthlyCateringMapper {
|
||||
|
||||
List<MonthlyCatering> listAll(Map map);
|
||||
|
||||
|
||||
|
||||
@Select("select id,mon_name,cost,mon_time from monthly_catering where id=#{id}")
|
||||
MonthlyCatering getById(Long id);
|
||||
|
||||
|
||||
@Insert("insert into monthly_catering(mon_name,cost,mon_time) values(#{monName},#{cost},#{monTime})")
|
||||
int insert(MonthlyCatering monthlyCatering);
|
||||
|
||||
|
||||
@Update("update monthly_catering set mon_name=#{monName}, cost=#{cost}, mon_time=#{monTime} where id=#{id}")
|
||||
int update(MonthlyCatering monthlyCatering);
|
||||
|
||||
|
||||
@Delete("delete from monthly_catering where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.sm.graduation.food.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class MonthlyCatering {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 菜肴 */
|
||||
private String monName;
|
||||
/** 费用 */
|
||||
private Integer cost;
|
||||
/** 日期 */
|
||||
private String monTime;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package com.sm.graduation.food.service;
|
||||
|
||||
import com.sm.graduation.food.pojo.MonthlyCatering;
|
||||
import com.sm.graduation.food.dao.MonthlyCateringMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class MonthlyCateringService {
|
||||
|
||||
@Autowired
|
||||
private MonthlyCateringMapper monthlyCateringMapper;
|
||||
|
||||
|
||||
public List<MonthlyCatering> listAll(Map map) {
|
||||
return monthlyCateringMapper.listAll(map);
|
||||
}
|
||||
|
||||
|
||||
public MonthlyCatering getById(Long id) {
|
||||
return monthlyCateringMapper.getById(id);
|
||||
}
|
||||
|
||||
|
||||
public int insert(MonthlyCatering monthlyCatering) {
|
||||
return monthlyCateringMapper.insert(monthlyCatering);
|
||||
}
|
||||
|
||||
|
||||
public int update(MonthlyCatering monthlyCatering) {
|
||||
return monthlyCateringMapper.update(monthlyCatering);
|
||||
}
|
||||
|
||||
|
||||
public int delete(Integer id) {
|
||||
return monthlyCateringMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.sm.graduation.health.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.health.pojo.HealthRecords;
|
||||
|
||||
@Mapper
|
||||
public interface HealthRecordsMapper {
|
||||
|
||||
|
||||
List<HealthRecords> listAll(Map map);
|
||||
|
||||
@Select("select id,name,sex,born,height,weight,blood_type,allergy,heart_rate,blood_pressure,blood_sugar,smoke,create_time from health_records where id=#{id}")
|
||||
HealthRecords getById(Long id);
|
||||
|
||||
|
||||
HealthRecords older_dorm(String olderName);
|
||||
|
||||
@Insert("insert into health_records(name,sex,born,height,weight,blood_type,allergy,heart_rate,blood_pressure,blood_sugar,smoke,create_time) " +
|
||||
"values(#{name},#{sex},#{born},#{height},#{weight},#{bloodType},#{allergy},#{heartRate},#{bloodPressure},#{bloodSugar},#{smoke},#{createTime})")
|
||||
int insert(HealthRecords healthRecords);
|
||||
|
||||
|
||||
@Update("update health_records set name=#{name}, sex=#{sex}, born=#{born},height=#{height},weight=#{weight},blood_type=#{bloodType},allergy=#{allergy},heart_rate=#{heartRate},blood_pressure=#{bloodPressure},blood_sugar=#{bloodSugar},smoke=#{smoke},create_time=#{createTime} where id=#{id}")
|
||||
int update(HealthRecords healthRecords);
|
||||
|
||||
|
||||
@Delete("delete from health_records where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.sm.graduation.health.service;
|
||||
|
||||
import com.sm.graduation.health.pojo.HealthRecords;
|
||||
import com.sm.graduation.health.dao.HealthRecordsMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class HealthRecordsService {
|
||||
|
||||
@Autowired
|
||||
private HealthRecordsMapper healthRecordsMapper;
|
||||
|
||||
public List<HealthRecords> listAll(Map map) {
|
||||
return healthRecordsMapper.listAll(map);
|
||||
}
|
||||
|
||||
public HealthRecords getById(Long id) {
|
||||
return healthRecordsMapper.getById(id);
|
||||
}
|
||||
|
||||
public HealthRecords older_dorm(String olderName) {
|
||||
return healthRecordsMapper.older_dorm(olderName);
|
||||
}
|
||||
|
||||
public int insert(HealthRecords healthRecords) {
|
||||
return healthRecordsMapper.insert(healthRecords);
|
||||
}
|
||||
|
||||
|
||||
public int update(HealthRecords healthRecords) {
|
||||
return healthRecordsMapper.update(healthRecords);
|
||||
}
|
||||
public int delete(Integer id) {
|
||||
return healthRecordsMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.sm.graduation.high.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.high.pojo.HighRisk;
|
||||
|
||||
@Mapper
|
||||
public interface HighRiskMapper {
|
||||
|
||||
|
||||
List<HighRisk> listAll(Map map);
|
||||
|
||||
@Select("select id,name,tel,high_case,relatives,re_tel from high_risk where id=#{id}")
|
||||
HighRisk getById(Long id);
|
||||
|
||||
@Insert("insert into high_risk(name,tel,high_case,relatives,re_tel) values(#{name},#{tel},#{highCase},#{relatives},#{reTel})")
|
||||
int insert(HighRisk highRisk);
|
||||
|
||||
@Update("update high_risk set name=#{name}, tel=#{tel}, high_case=#{highCase},relatives=#{relatives},re_tel=#{reTel} where id=#{id}")
|
||||
int update(HighRisk highRisk);
|
||||
|
||||
@Delete("delete from high_risk where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.sm.graduation.high.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HighRisk {
|
||||
/** 档案编号 */
|
||||
private Long id;
|
||||
/** 姓名 */
|
||||
private String name;
|
||||
/** 电话 */
|
||||
private Long tel;
|
||||
/** 病例 */
|
||||
private String highCase;
|
||||
/** 亲属 */
|
||||
private String relatives;
|
||||
/** 亲属电话 */
|
||||
private Long reTel;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.sm.graduation.medication.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.medication.pojo.Medication;
|
||||
|
||||
@Mapper
|
||||
public interface MedicationMapper {
|
||||
|
||||
|
||||
List<Medication> listAll(Map map);
|
||||
|
||||
|
||||
@Select("select id,medication,create_time,expiration_time,cost from medication where id=#{id}")
|
||||
Medication getById(Long id);
|
||||
|
||||
|
||||
@Insert("insert into medication(medication,create_time,expiration_time,cost) values(#{medication},#{createTime},#{expirationTime},#{cost})")
|
||||
int insert(Medication medication);
|
||||
|
||||
|
||||
@Update("update medication set medication=#{medication}, create_time=#{createTime}, expiration_time=#{expirationTime},cost=#{cost} where id=#{id}")
|
||||
int update(Medication medication);
|
||||
|
||||
@Delete("delete from medication where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.sm.graduation.medication.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class Medication {
|
||||
/** 药品编号 */
|
||||
private Long id;
|
||||
/** 药名 */
|
||||
private String medication;
|
||||
|
||||
private String createTime;
|
||||
|
||||
private String expirationTime;
|
||||
/** 价格 */
|
||||
private Double cost;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.medication.service;
|
||||
|
||||
import com.sm.graduation.medication.pojo.Medication;
|
||||
import com.sm.graduation.medication.dao.MedicationMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class MedicationService {
|
||||
|
||||
@Autowired
|
||||
private MedicationMapper medicationMapper;
|
||||
|
||||
public List<Medication> listAll(Map map) {
|
||||
return medicationMapper.listAll(map);
|
||||
}
|
||||
|
||||
public Medication getById(Long id) {
|
||||
return medicationMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(Medication medication) {
|
||||
return medicationMapper.insert(medication);
|
||||
}
|
||||
|
||||
public int update(Medication medication) {
|
||||
return medicationMapper.update(medication);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return medicationMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.sm.graduation.nurse.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.nurse.pojo.Nursing;
|
||||
|
||||
@Mapper
|
||||
public interface NursingMapper {
|
||||
|
||||
List<Nursing> listAll(Map map);
|
||||
|
||||
@Select("select id,nurse_rank,cost from nursing where id=#{id}")
|
||||
Nursing getById(Long id);
|
||||
|
||||
@Insert("insert into nursing(nurse_rank,cost) values(#{nurseRank},#{cost})")
|
||||
int insert(Nursing nursing);
|
||||
|
||||
@Update("update nursing set nurse_rank=#{nurseRank}, cost=#{cost} where id=#{id}")
|
||||
int update(Nursing nursing);
|
||||
|
||||
@Delete("delete from nursing where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package com.sm.graduation.nurse.pojo;
|
||||
|
||||
|
||||
public class Nursing {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 等级 */
|
||||
private String nurseRank;
|
||||
/** 费用 */
|
||||
private Integer cost;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setNurseRank(String nurseRank) {
|
||||
this.nurseRank = nurseRank;
|
||||
}
|
||||
|
||||
public String getNurseRank() {
|
||||
return this.nurseRank;
|
||||
}
|
||||
|
||||
public void setCost(Integer cost) {
|
||||
this.cost = cost;
|
||||
}
|
||||
|
||||
public Integer getCost() {
|
||||
return this.cost;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) { return true; }
|
||||
if (o == null || getClass() != o.getClass()) {return false;}
|
||||
Nursing that = (Nursing) o;
|
||||
return id.equals(that.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return java.util.Objects.hash(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Nursing{" +
|
||||
"id=" + id +
|
||||
",nurseRank='" + nurseRank + "'" +
|
||||
",cost='" + cost + "'" +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package com.sm.graduation.nurse.service;
|
||||
|
||||
import com.sm.graduation.nurse.pojo.Nursing;
|
||||
import com.sm.graduation.nurse.dao.NursingMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class NursingService {
|
||||
|
||||
@Autowired
|
||||
private NursingMapper nursingMapper;
|
||||
|
||||
|
||||
public List<Nursing> listAll(Map map) {
|
||||
return nursingMapper.listAll(map);
|
||||
}
|
||||
|
||||
|
||||
public Nursing getById(Long id) {
|
||||
return nursingMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(Nursing nursing) {
|
||||
return nursingMapper.insert(nursing);
|
||||
}
|
||||
|
||||
public int update(Nursing nursing) {
|
||||
return nursingMapper.update(nursing);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return nursingMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.sm.graduation.older.dao;
|
||||
|
||||
import com.sm.graduation.older.pojo.OlderInfo;
|
||||
import org.apache.ibatis.annotations.*;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Mapper
|
||||
public interface OlderInfoMapper {
|
||||
|
||||
List<OlderInfo> listAll(Map map);
|
||||
|
||||
|
||||
@Select("select older_id,older_name,older_sex,older_tel,older_addr,older_idcard,in_time,out_time from older_info where older_id=#{olderId}")
|
||||
OlderInfo getById(Long olderId);
|
||||
|
||||
@Insert("insert into older_info(older_name,older_sex,older_tel,older_addr,older_idcard,in_time,out_time) values(#{olderName},#{olderSex},#{olderTel},#{olderAddr},#{olderIdcard},#{inTime},#{outTime})")
|
||||
int insert(OlderInfo olderInfo);
|
||||
|
||||
|
||||
@Update("update older_info set older_name=#{olderName}, older_sex=#{olderSex}, older_tel=#{olderTel},older_addr=#{olderAddr},older_idcard=#{olderIdcard},in_time=#{inTime},out_time=#{outTime} where older_id=#{olderId}")
|
||||
int update(OlderInfo olderInfo);
|
||||
|
||||
|
||||
@Delete("delete from older_info where older_id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.sm.graduation.older.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class OlderInfo {
|
||||
/** 编号 */
|
||||
private Long olderId;
|
||||
/** 姓名 */
|
||||
private String olderName;
|
||||
private String olderSex;
|
||||
/** 电话 */
|
||||
private Long olderTel;
|
||||
/** 住址 */
|
||||
private String olderAddr;
|
||||
/** 身份证号码 */
|
||||
private String olderIdcard;
|
||||
private String inTime;
|
||||
private String outTime;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.older.service;
|
||||
|
||||
import com.sm.graduation.older.pojo.OlderInfo;
|
||||
import com.sm.graduation.older.dao.OlderInfoMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class OlderInfoService {
|
||||
|
||||
@Autowired
|
||||
private OlderInfoMapper olderInfoMapper;
|
||||
|
||||
public List<OlderInfo> listAll(Map map) {
|
||||
return olderInfoMapper.listAll(map);
|
||||
}
|
||||
|
||||
public OlderInfo getById(Long olderId) {
|
||||
return olderInfoMapper.getById(olderId);
|
||||
}
|
||||
|
||||
public int insert(OlderInfo olderInfo) {
|
||||
return olderInfoMapper.insert(olderInfo);
|
||||
}
|
||||
|
||||
public int update(OlderInfo olderInfo) {
|
||||
return olderInfoMapper.update(olderInfo);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return olderInfoMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.sm.graduation.out.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.out.pojo.GoOut;
|
||||
|
||||
@Mapper
|
||||
public interface GoOutMapper {
|
||||
|
||||
List<GoOut> listAll(Map map);
|
||||
|
||||
List<GoOut> go_listAll(Map map);
|
||||
|
||||
@Select("select id,event,event_time,name,back_time from go_out where id=#{id}")
|
||||
GoOut getById(Long id);
|
||||
|
||||
@Insert("insert into go_out(event,event_time,back_time,name) values(#{event},#{eventTime},#{backTime},#{name})")
|
||||
int insert(GoOut goOut);
|
||||
|
||||
@Update("update go_out set event=#{event}, event_time=#{eventTime}, name=#{name}, back_time=#{backTime} where id=#{id}")
|
||||
int update(GoOut goOut);
|
||||
|
||||
@Delete("delete from go_out where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package com.sm.graduation.out.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class GoOut {
|
||||
/** 编号记录 */
|
||||
private Long id;
|
||||
/** 外出事件 */
|
||||
private String event;
|
||||
/** 日期 */
|
||||
private String eventTime;
|
||||
/** 姓名 */
|
||||
private String name;
|
||||
private String backTime;
|
||||
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
||||
package com.sm.graduation.root.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.sm.graduation.root.pojo.RootInfo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
|
||||
|
||||
@Mapper
|
||||
public interface RootInfoMapper {
|
||||
|
||||
|
||||
|
||||
@Select("select * from root_info where name=#{name}")
|
||||
RootInfo sltName(RootInfo rootInfo);
|
||||
|
||||
|
||||
@Select("select count(*) from root_info where name=#{name} and pwd=#{pwd}")
|
||||
boolean loginIn(RootInfo rootInfo);
|
||||
|
||||
|
||||
|
||||
@Update("update root_info set pwd=#{pwd} where id=1")
|
||||
int altPwd(String pwd);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.sm.graduation.root.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class RootInfo {
|
||||
/** 超级管理员 */
|
||||
private Short id;
|
||||
/** 登录名 */
|
||||
private String name;
|
||||
/** 密码 */
|
||||
private String pwd;
|
||||
/** 绰号 */
|
||||
private String nickName;
|
||||
/** 权限 */
|
||||
private short power;
|
||||
|
||||
public Short getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Short id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPwd() {
|
||||
return pwd;
|
||||
}
|
||||
|
||||
public void setPwd(String pwd) {
|
||||
this.pwd = pwd;
|
||||
}
|
||||
|
||||
public String getNickName() {
|
||||
return nickName;
|
||||
}
|
||||
|
||||
public void setNickName(String nickName) {
|
||||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
public short getPower() {
|
||||
return power;
|
||||
}
|
||||
|
||||
public void setPower(short power) {
|
||||
this.power = power;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.sm.graduation.root.service;
|
||||
|
||||
import com.sm.graduation.root.dao.RootInfoMapper;
|
||||
import com.sm.graduation.root.pojo.RootInfo;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class RootInfoService {
|
||||
|
||||
@Autowired
|
||||
private RootInfoMapper rootInfoMapper;
|
||||
|
||||
|
||||
public RootInfo sltName(RootInfo rootInfo) {
|
||||
return rootInfoMapper.sltName(rootInfo);
|
||||
}
|
||||
|
||||
public boolean loginIn(RootInfo rootInfo){
|
||||
return rootInfoMapper.loginIn(rootInfo);
|
||||
}
|
||||
|
||||
public int altPwd(String pwd) {
|
||||
return rootInfoMapper.altPwd(pwd);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.sm.graduation.usr.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.sm.graduation.root.pojo.RootInfo;
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.usr.pojo.UsrInfo;
|
||||
|
||||
@Mapper
|
||||
public interface UsrInfoMapper {
|
||||
|
||||
|
||||
@Select("select * from usr_info where usr_login=#{usrLogin}")
|
||||
UsrInfo sltName(UsrInfo usrInfo);
|
||||
|
||||
|
||||
@Select("select count(*) from usr_info where usr_login=#{usrLogin} and usr_pwd=#{usrPwd}")
|
||||
boolean loginIn(UsrInfo usrInfo);
|
||||
|
||||
List<UsrInfo> listAll(Map map);
|
||||
|
||||
@Select("select usr_id,usr_login,usr_name,usr_sex,usr_tel,usr_addr,older_name from usr_info where usr_id=#{usrId}")
|
||||
UsrInfo getById(Long usrId);
|
||||
|
||||
@Insert("insert into usr_info(usr_login,usr_name,usr_sex,usr_tel,usr_addr,older_name) values(#{usrLogin},#{usrName},#{usrSex},#{usrTel},#{usrAddr},#{olderName})")
|
||||
int insert(UsrInfo usrInfo);
|
||||
|
||||
@Update("update usr_info set usr_login=#{usrLogin}, usr_name=#{usrName}, usr_sex=#{usrSex},usr_tel=#{usrTel},usr_addr=#{usrAddr},older_name=#{olderName} where usr_id=#{usrId}")
|
||||
int update(UsrInfo usrInfo);
|
||||
|
||||
@Delete("delete from usr_info where usr_id=#{usrId}")
|
||||
int delete(Integer usrId);
|
||||
|
||||
@Update("update usr_info set usr_pwd=#{pwd} where usr_id=#{id}")
|
||||
int altPwd(Map map);
|
||||
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package com.sm.graduation.usr.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class UsrInfo {
|
||||
/** 编号 */
|
||||
private Long usrId;
|
||||
/** 登录名 */
|
||||
private String usrLogin;
|
||||
/** 用户名 */
|
||||
private String usrName;
|
||||
private String usrSex;
|
||||
/** 登录密码 */
|
||||
private String usrPwd;
|
||||
/** 电话 */
|
||||
private Long usrTel;
|
||||
/** 地址 */
|
||||
private String usrAddr;
|
||||
private String olderName;
|
||||
|
||||
public Long getUsrId() {
|
||||
return usrId;
|
||||
}
|
||||
|
||||
public void setUsrId(Long usrId) {
|
||||
this.usrId = usrId;
|
||||
}
|
||||
|
||||
public String getUsrLogin() {
|
||||
return usrLogin;
|
||||
}
|
||||
|
||||
public void setUsrLogin(String usrLogin) {
|
||||
this.usrLogin = usrLogin;
|
||||
}
|
||||
|
||||
public String getUsrName() {
|
||||
return usrName;
|
||||
}
|
||||
|
||||
public void setUsrName(String usrName) {
|
||||
this.usrName = usrName;
|
||||
}
|
||||
|
||||
public String getUsrSex() {
|
||||
return usrSex;
|
||||
}
|
||||
|
||||
public void setUsrSex(String usrSex) {
|
||||
this.usrSex = usrSex;
|
||||
}
|
||||
|
||||
public String getUsrPwd() {
|
||||
return usrPwd;
|
||||
}
|
||||
|
||||
public void setUsrPwd(String usrPwd) {
|
||||
this.usrPwd = usrPwd;
|
||||
}
|
||||
|
||||
public Long getUsrTel() {
|
||||
return usrTel;
|
||||
}
|
||||
|
||||
public void setUsrTel(Long usrTel) {
|
||||
this.usrTel = usrTel;
|
||||
}
|
||||
|
||||
public String getUsrAddr() {
|
||||
return usrAddr;
|
||||
}
|
||||
|
||||
public void setUsrAddr(String usrAddr) {
|
||||
this.usrAddr = usrAddr;
|
||||
}
|
||||
|
||||
public String getOlderName() {
|
||||
return olderName;
|
||||
}
|
||||
|
||||
public void setOlderName(String olderName) {
|
||||
this.olderName = olderName;
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package com.sm.graduation.usr.service;
|
||||
|
||||
import com.sm.graduation.usr.pojo.UsrInfo;
|
||||
import com.sm.graduation.usr.dao.UsrInfoMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class UsrInfoService {
|
||||
|
||||
@Autowired
|
||||
private UsrInfoMapper usrInfoMapper;
|
||||
|
||||
public UsrInfo sltName(UsrInfo usrInfo) {
|
||||
return usrInfoMapper.sltName(usrInfo);
|
||||
}
|
||||
|
||||
public boolean loginIn(UsrInfo usrInfo) {
|
||||
return usrInfoMapper.loginIn(usrInfo);
|
||||
}
|
||||
|
||||
|
||||
public List<UsrInfo> listAll(Map map) {
|
||||
return usrInfoMapper.listAll(map);
|
||||
}
|
||||
|
||||
public UsrInfo getById(Long usrId) {
|
||||
return usrInfoMapper.getById(usrId);
|
||||
}
|
||||
|
||||
public int insert(UsrInfo usrInfo) {
|
||||
return usrInfoMapper.insert(usrInfo);
|
||||
}
|
||||
|
||||
public int update(UsrInfo usrInfo) {
|
||||
return usrInfoMapper.update(usrInfo);
|
||||
}
|
||||
|
||||
public int delete(Integer usrId) {
|
||||
return usrInfoMapper.delete(usrId);
|
||||
}
|
||||
|
||||
public int altPwd(Map map) {
|
||||
return usrInfoMapper.altPwd(map);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.sm.graduation.view;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
|
||||
@Controller
|
||||
public class InitController {
|
||||
|
||||
/** 登录跳转 **/
|
||||
@GetMapping("/")
|
||||
public String login(HttpSession session) {
|
||||
session.invalidate();
|
||||
return "login";
|
||||
}
|
||||
|
||||
/** 首页跳转 **/
|
||||
@GetMapping("/indexR")
|
||||
public String indexr() {
|
||||
return "index-root";
|
||||
}
|
||||
@GetMapping("/indexA")
|
||||
public String indexa() {
|
||||
return "index-admin";
|
||||
}
|
||||
@GetMapping("/indexU")
|
||||
public String indexu() {
|
||||
return "index-usr";
|
||||
}
|
||||
|
||||
/** 404跳转 **/
|
||||
@GetMapping("/404")
|
||||
public String error() {
|
||||
return "page/404";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,421 @@
|
||||
package com.sm.graduation.view;
|
||||
|
||||
|
||||
import com.sm.graduation.accident.pojo.AccidentRecord;
|
||||
import com.sm.graduation.accident.service.AccidentRecordService;
|
||||
import com.sm.graduation.admin.pojo.AdminInfo;
|
||||
import com.sm.graduation.admin.service.AdminInfoService;
|
||||
import com.sm.graduation.checkin.pojo.CheckIn;
|
||||
import com.sm.graduation.checkin.service.CheckInService;
|
||||
import com.sm.graduation.dormitory.pojo.DormitoryAllocation;
|
||||
import com.sm.graduation.dormitory.service.DormitoryAllocationService;
|
||||
import com.sm.graduation.food.pojo.MonthlyCatering;
|
||||
import com.sm.graduation.food.service.MonthlyCateringService;
|
||||
import com.sm.graduation.health.pojo.HealthRecords;
|
||||
import com.sm.graduation.health.service.HealthRecordsService;
|
||||
import com.sm.graduation.high.pojo.HighRisk;
|
||||
import com.sm.graduation.high.service.HighRiskService;
|
||||
import com.sm.graduation.medication.pojo.Medication;
|
||||
import com.sm.graduation.medication.service.MedicationService;
|
||||
import com.sm.graduation.nurse.pojo.Nursing;
|
||||
import com.sm.graduation.nurse.service.NursingService;
|
||||
import com.sm.graduation.older.pojo.OlderInfo;
|
||||
import com.sm.graduation.older.service.OlderInfoService;
|
||||
import com.sm.graduation.out.pojo.GoOut;
|
||||
import com.sm.graduation.out.service.GoOutService;
|
||||
import com.sm.graduation.usr.pojo.UsrInfo;
|
||||
import com.sm.graduation.usr.service.UsrInfoService;
|
||||
import com.sm.graduation.visitor.pojo.Visitor;
|
||||
import com.sm.graduation.visitor.service.VisitorService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
|
||||
/** 试图跳转 */
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/view")
|
||||
public class ViewController {
|
||||
|
||||
@Autowired
|
||||
private AdminInfoService adminInfoService;
|
||||
|
||||
@Autowired
|
||||
private UsrInfoService usrInfoService;
|
||||
|
||||
@Autowired
|
||||
private HealthRecordsService healthRecordsService;
|
||||
|
||||
@Autowired
|
||||
private HighRiskService highRiskService;
|
||||
|
||||
@Autowired
|
||||
private MedicationService medicationService;
|
||||
|
||||
@Autowired
|
||||
private MonthlyCateringService monthlyCateringService;
|
||||
|
||||
@Autowired
|
||||
private GoOutService goOutService;
|
||||
|
||||
@Autowired
|
||||
private OlderInfoService olderInfoService;
|
||||
|
||||
@Autowired
|
||||
private DormitoryAllocationService dormitoryAllocationService;
|
||||
|
||||
@Autowired
|
||||
private AccidentRecordService accidentRecordService;
|
||||
|
||||
@Autowired
|
||||
private VisitorService visitorService;
|
||||
|
||||
@Autowired
|
||||
private CheckInService checkInService;
|
||||
|
||||
@Autowired
|
||||
private NursingService nursingService;
|
||||
|
||||
|
||||
/** 首页跳转 **/
|
||||
@GetMapping("/welcome")
|
||||
public String welcome() {
|
||||
return "page/welcome";
|
||||
}
|
||||
|
||||
@GetMapping("/welcome1")
|
||||
public String welcome1() {
|
||||
return "page/welcome1";
|
||||
}
|
||||
|
||||
/** admin --- list */
|
||||
@GetMapping("/adminList")
|
||||
public String adminList() {
|
||||
return "page/adminList";
|
||||
}
|
||||
|
||||
/** user --- list */
|
||||
@GetMapping("/usrList")
|
||||
public String userList(){
|
||||
return "page/usrList";
|
||||
}
|
||||
|
||||
/** 健康档案 */
|
||||
@GetMapping("/healthRisk")
|
||||
public String healthRisk(){
|
||||
return "page/healthRisk";
|
||||
}
|
||||
|
||||
/** 高危存档 */
|
||||
@GetMapping("/highRisk")
|
||||
public String heightRisk(){
|
||||
return "page/highRisk";
|
||||
}
|
||||
|
||||
/** 药品管理 */
|
||||
@GetMapping("/medication")
|
||||
public String medication(){
|
||||
return "page/medication";
|
||||
}
|
||||
|
||||
/** 每月餐饮 */
|
||||
@GetMapping("/catering")
|
||||
public String catering(){
|
||||
return "page/catering";
|
||||
}
|
||||
|
||||
/** 外出报备 */
|
||||
@GetMapping("/goOut")
|
||||
public String goOut(){
|
||||
return "page/goOut";
|
||||
}
|
||||
|
||||
@GetMapping("/goOutUsr")
|
||||
public String goOutUsr(){
|
||||
return "page/goOut-usr";
|
||||
}
|
||||
|
||||
/** 入住登记 */
|
||||
@GetMapping("/register")
|
||||
public String register(){
|
||||
return "page/register";
|
||||
}
|
||||
|
||||
/** 寝室分配 */
|
||||
@GetMapping("/dormitory")
|
||||
public String dormitory(){
|
||||
return "page/dormitory";
|
||||
}
|
||||
|
||||
/** 事故记录 */
|
||||
@GetMapping("/accident")
|
||||
public String accident(){
|
||||
return "page/accident";
|
||||
}
|
||||
|
||||
/** 访客 */
|
||||
@GetMapping("/visitor")
|
||||
public String visitor(){
|
||||
return "page/visitor";
|
||||
}
|
||||
|
||||
/** 入住登记 */
|
||||
@GetMapping("/checkIn")
|
||||
public String checkIn(){
|
||||
return "page/checkIn";
|
||||
}
|
||||
|
||||
/** 护理 */
|
||||
@GetMapping("/nursing")
|
||||
public String nursing(){
|
||||
return "page/nursing";
|
||||
}
|
||||
|
||||
|
||||
|
||||
//===============跳转模块: 添加功能===================
|
||||
|
||||
|
||||
/** 添 加 管 理 员 */
|
||||
@GetMapping("/addAdmin")
|
||||
public String addAdmin(){
|
||||
return "page/add/addAdmin";
|
||||
}
|
||||
|
||||
/** 添 加 用 户 */
|
||||
@GetMapping("/addUsr")
|
||||
public String addUsr(){
|
||||
return "page/add/addUsr";
|
||||
}
|
||||
|
||||
/** 添 加 健 康 档 案 */
|
||||
@GetMapping("/addHealth")
|
||||
public String addHealth(){
|
||||
return "page/add/addHealth";
|
||||
}
|
||||
|
||||
/** 添 加 高 危 档 案 */
|
||||
@GetMapping("/addHigh")
|
||||
public String addHigh(){
|
||||
return "page/add/addHigh";
|
||||
}
|
||||
|
||||
/** 添 加 药 品 */
|
||||
@GetMapping("/addMedication")
|
||||
public String addMedication(){
|
||||
return "page/add/addMedication";
|
||||
}
|
||||
|
||||
/** 添 加 餐 饮 信 息 */
|
||||
@GetMapping("/addMon")
|
||||
public String addCatering(){
|
||||
return "page/add/addCatering";
|
||||
}
|
||||
|
||||
/** 添 加 外 出 报 备 */
|
||||
@GetMapping("/addOut")
|
||||
public String addGoOut(){
|
||||
return "page/add/addOut";
|
||||
}
|
||||
|
||||
@GetMapping("/addOlder")
|
||||
public String addOlder(){
|
||||
return "page/add/addOlder";
|
||||
}
|
||||
|
||||
/** 添 加 寝 室 */
|
||||
@GetMapping("/addDorm")
|
||||
public String addDormitory(){
|
||||
return "page/add/addDormitory";
|
||||
}
|
||||
|
||||
/** 添 加 事 故 记 录 */
|
||||
@GetMapping("/addAcc")
|
||||
public String addAccident(){
|
||||
return "page/add/addAccident";
|
||||
}
|
||||
|
||||
/** 添 加 访 客 */
|
||||
@GetMapping("/addVis")
|
||||
public String addVisitor(){
|
||||
return "page/add/addVisitor";
|
||||
}
|
||||
|
||||
@GetMapping("/addCheck")
|
||||
public String addCheck(){
|
||||
return "page/add/addCheckIn";
|
||||
}
|
||||
|
||||
@GetMapping("/addNurs")
|
||||
public String addVis(){
|
||||
return "page/add/addNursing";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//================编辑功能==================
|
||||
|
||||
/** 修 改 管 理 员 */
|
||||
@GetMapping("/modifyAdmin")
|
||||
public String modifyAdmin(@RequestParam(value = "adminId") long adminId,
|
||||
Model model){
|
||||
AdminInfo adminInfo = adminInfoService.getById(adminId);
|
||||
model.addAttribute("adminInfo",adminInfo);
|
||||
return "page/modify/modifyAdmin";
|
||||
}
|
||||
|
||||
@GetMapping("/modifyUsr")
|
||||
public String modifyUsr(@RequestParam(value = "usrId") long usrId,
|
||||
Model model){
|
||||
UsrInfo usrInfo = usrInfoService.getById(usrId);
|
||||
model.addAttribute("usrInfo",usrInfo);
|
||||
return "page/modify/modifyUsr";
|
||||
}
|
||||
|
||||
@GetMapping("/modifyHealth")
|
||||
public String modifyHealth(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
HealthRecords healthRecord = healthRecordsService.getById(id);
|
||||
model.addAttribute("healthRecord",healthRecord);
|
||||
return "page/modify/modifyHealth";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyHigh")
|
||||
public String modifyHigh(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
HighRisk highRisk = highRiskService.getById(id);
|
||||
model.addAttribute("highRisk",highRisk);
|
||||
return "page/modify/modifyHigh";
|
||||
}
|
||||
|
||||
@GetMapping("/modifyMedication")
|
||||
public String modifyMedication(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
Medication medication = medicationService.getById(id);
|
||||
model.addAttribute("medication",medication);
|
||||
return "page/modify/modifyMedication";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyMon")
|
||||
public String modifyMon(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
MonthlyCatering monthlyCatering = monthlyCateringService.getById(id);
|
||||
model.addAttribute("monthlyCatering",monthlyCatering);
|
||||
return "page/modify/modifyCatering";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyOut")
|
||||
public String modifyOut(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
GoOut goOut = goOutService.getById(id);
|
||||
model.addAttribute("goOut",goOut);
|
||||
return "page/modify/modifyOut";
|
||||
}
|
||||
|
||||
@GetMapping("/modifyOlder")
|
||||
public String modifyOlder(@RequestParam(value = "olderId") long olderId,
|
||||
Model model){
|
||||
OlderInfo olderInfo = olderInfoService.getById(olderId);
|
||||
model.addAttribute("olderInfo",olderInfo);
|
||||
return "page/modify/modifyOlder";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@GetMapping("/modifyDorm")
|
||||
public String modifyDorm(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
DormitoryAllocation dormitoryAllocation = dormitoryAllocationService.getById(id);
|
||||
model.addAttribute("dormitoryAllocation",dormitoryAllocation);
|
||||
return "page/modify/modifyDormitory";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyAcc")
|
||||
public String modifyAcc(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
AccidentRecord accidentRecord = accidentRecordService.getById(id);
|
||||
model.addAttribute("accidentRecord",accidentRecord);
|
||||
return "page/modify/modifyAccident";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyVis")
|
||||
public String modifyVis(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
Visitor visitor = visitorService.getById(id);
|
||||
model.addAttribute("visitor",visitor);
|
||||
return "page/modify/modifyVisitor";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyCheck")
|
||||
public String modifyCheck(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
CheckIn checkIn = checkInService.getById(id);
|
||||
model.addAttribute("checkIn",checkIn);
|
||||
return "page/modify/modifyCheckIn";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/modifyNurs")
|
||||
public String modifyNurs(@RequestParam(value = "id") long id,
|
||||
Model model){
|
||||
Nursing nursing = nursingService.getById(id);
|
||||
model.addAttribute("nursing",nursing);
|
||||
return "page/modify/modifyNursing";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@GetMapping("/rootInfo")
|
||||
public String info() {
|
||||
return "page/rootInfo";
|
||||
}
|
||||
|
||||
@GetMapping("/admin")
|
||||
public String admin() {
|
||||
return "page/admin";
|
||||
}
|
||||
|
||||
@GetMapping("/usr")
|
||||
public String usr() {
|
||||
return "page/usr";
|
||||
}
|
||||
|
||||
@GetMapping("/older")
|
||||
public String older() {
|
||||
return "page/older";
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/rootAltPwd")
|
||||
public String rootAltPwd() {
|
||||
return "page/modify/rootAltPwd";
|
||||
}
|
||||
|
||||
@GetMapping("/adminAltPwd")
|
||||
public String adminAltPwd() {
|
||||
return "page/modify/adminAltPwd";
|
||||
}
|
||||
|
||||
@GetMapping("/usrAltPwd")
|
||||
public String usrAltPwd() {
|
||||
return "page/modify/usrAltPwd";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.sm.graduation.visitor.dao;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.ibatis.annotations.*;
|
||||
import com.sm.graduation.visitor.pojo.Visitor;
|
||||
|
||||
@Mapper
|
||||
public interface VisitorMapper {
|
||||
|
||||
List<Visitor> listAll(Map map);
|
||||
|
||||
@Select("select id,name,target,vi_time from visitor where id=#{id}")
|
||||
Visitor getById(Long id);
|
||||
|
||||
@Insert("insert into visitor(name,target,vi_time) values(#{name},#{target},#{viTime})")
|
||||
int insert(Visitor visitor);
|
||||
|
||||
@Update("update visitor set name=#{name}, target=#{target}, vi_time=#{viTime} where id=#{id}")
|
||||
int update(Visitor visitor);
|
||||
|
||||
@Delete("delete from visitor where id=#{id}")
|
||||
int delete(Integer id);
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.sm.graduation.visitor.pojo;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class Visitor {
|
||||
/** 编号 */
|
||||
private Long id;
|
||||
/** 访客姓名 */
|
||||
private String name;
|
||||
/** 访问对象 */
|
||||
private String target;
|
||||
/** 日期 */
|
||||
private String viTime;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package com.sm.graduation.visitor.service;
|
||||
|
||||
import com.sm.graduation.visitor.pojo.Visitor;
|
||||
import com.sm.graduation.visitor.dao.VisitorMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Service
|
||||
public class VisitorService {
|
||||
|
||||
@Autowired
|
||||
private VisitorMapper visitorMapper;
|
||||
|
||||
public List<Visitor> listAll(Map map) {
|
||||
return visitorMapper.listAll(map);
|
||||
}
|
||||
|
||||
public Visitor getById(Long id) {
|
||||
return visitorMapper.getById(id);
|
||||
}
|
||||
|
||||
public int insert(Visitor visitor) {
|
||||
return visitorMapper.insert(visitor);
|
||||
}
|
||||
|
||||
public int update(Visitor visitor) {
|
||||
return visitorMapper.update(visitor);
|
||||
}
|
||||
|
||||
public int delete(Integer id) {
|
||||
return visitorMapper.delete(id);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
spring:
|
||||
datasource:
|
||||
username: root
|
||||
password: 123456
|
||||
url: jdbc:mysql://localhost:3306/ifmanage_design_wzq?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
# Mybatis
|
||||
mybatis:
|
||||
type-aliases-package: com.sm.graduation.admin.pojo,com.sm.graduation.usr.pojo,com.sm.graduation.health.pojo,com.sm.graduation.high.pojo,com.sm.graduation.medication.pojo,com.sm.graduation.food.pojo,com.sm.graduation.out.pojo,com.sm.graduation.checkin.pojo,com.sm.graduation.dormitory.pojo,com.sm.graduation.accident.pojo,com.sm.graduation.visitor.pojo,com.sm.graduation.older.pojo,com.sm.graduation.nurse.pojo
|
||||
mapper-locations: classpath:/mapper/*.xml
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
@ -0,0 +1,29 @@
|
||||
#端口
|
||||
server:
|
||||
port: 8080
|
||||
#spring
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
devtools:
|
||||
restart:
|
||||
#热部署开关
|
||||
enabled: true
|
||||
#指定热部署的目录
|
||||
additional-paths: src/main/java
|
||||
#指定目录不更新
|
||||
exclude: test/**
|
||||
#资源访问
|
||||
mvc:
|
||||
static-path-pattern: /static/**
|
||||
# 显示sql
|
||||
logging:
|
||||
level:
|
||||
com.sm.graduation.*: debug
|
||||
|
||||
pagehelper:
|
||||
helper-dialect: mysql
|
||||
reasonable: true
|
||||
support-methods-arguments: true
|
||||
params: count=countSql
|
||||
|
@ -0,0 +1,3 @@
|
||||
,--. ,-----. ,---. ,--. ,--.
|
||||
| |,-. | .--''.-. \ / \ | |,-.
|
||||
| / '--. `\ .-' .'| () || /
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.accident.dao.AccidentRecordMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="AccidentRecord">
|
||||
select * from accident_record
|
||||
<where>
|
||||
<if test="usr!=''">acc_time like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.admin.dao.AdminInfoMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="AdminInfo">
|
||||
select * from admin_info
|
||||
<where>
|
||||
<if test="user!=''">admin_name like concat("%",#{user},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.checkin.dao.CheckInMapper">
|
||||
|
||||
<select id="listAll" resultType="CheckIn">
|
||||
select * from check_in
|
||||
<where>
|
||||
<if test="usr!=''">year like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.dormitory.dao.DormitoryAllocationMapper">
|
||||
|
||||
<select id="listAll" resultType="DormitoryAllocation">
|
||||
select * from dormitory_allocation
|
||||
<where>
|
||||
<if test="usr!=''">dormitory like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.out.dao.GoOutMapper">
|
||||
|
||||
<select id="listAll" resultType="GoOut">
|
||||
select * from go_out
|
||||
<where>
|
||||
<if test="usr!=''">name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="go_listAll" resultType="GoOut">
|
||||
select * from go_out where name like concat("%",#{olderName},"%")
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.health.dao.HealthRecordsMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="HealthRecords">
|
||||
select * from health_records
|
||||
<where>
|
||||
<if test="usr!='' and usr!=null">name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<resultMap id="older_d" type="com.sm.graduation.health.pojo.HealthRecords">
|
||||
<id property="id" column="id"></id>
|
||||
<result property="name" column="name"></result>
|
||||
<result property="sex" column="sex"></result>
|
||||
<result property="born" column="born"></result>
|
||||
<result property="height" column="height"></result>
|
||||
<result property="weight" column="weight"></result>
|
||||
<result property="bloodType" column="blood_type"></result>
|
||||
<result property="allergy" column="allergy"></result>
|
||||
<result property="heartRate" column="heart_rate"></result>
|
||||
<result property="bloodPressure" column="blood_pressure"></result>
|
||||
<result property="bloodSugar" column="blood_sugar"></result>
|
||||
<result property="smoke" column="smoke"></result>
|
||||
<result property="createTime" column="create_time"></result>
|
||||
<association property="dorm" javaType="com.sm.graduation.dormitory.pojo.DormitoryAllocation">
|
||||
<id property="id" column="id"></id>
|
||||
<result property="dormitory" column="dormitory"></result>
|
||||
<result property="living" column="living"></result>
|
||||
<result property="name" column="name"></result>
|
||||
</association>
|
||||
</resultMap>
|
||||
|
||||
<select id="older_dorm" resultMap="older_d">
|
||||
select h.id,h.name,sex,born,height,weight,blood_type,allergy,heart_rate,blood_pressure,blood_sugar,smoke,create_time,d.id,d.dormitory,d.living,d.name
|
||||
from health_records h,dormitory_allocation d
|
||||
where h.name=d.name and h.name=#{olderName}
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.high.dao.HighRiskMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="HighRisk">
|
||||
select * from high_risk
|
||||
<where>
|
||||
<if test="usr!=''">name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.medication.dao.MedicationMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="Medication">
|
||||
select * from medication
|
||||
<where>
|
||||
<if test="usr!=''">medication like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.food.dao.MonthlyCateringMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="MonthlyCatering">
|
||||
select * from monthly_catering
|
||||
<where>
|
||||
<if test="usr!=''">mon_time like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.nurse.dao.NursingMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="Nursing">
|
||||
select * from nursing
|
||||
<where>
|
||||
<if test="usr!=''">nurse_rank like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.older.dao.OlderInfoMapper">
|
||||
|
||||
<select id="listAll" resultType="OlderInfo">
|
||||
select * from older_info
|
||||
<where>
|
||||
<if test="usr!=''">older_name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.usr.dao.UsrInfoMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="UsrInfo">
|
||||
select usr_id,usr_login,usr_name,usr_sex,usr_tel,usr_addr,older_name from usr_info
|
||||
<where>
|
||||
<if test="usr!=''">usr_name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC
|
||||
"-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="com.sm.graduation.visitor.dao.VisitorMapper">
|
||||
|
||||
|
||||
<select id="listAll" resultType="Visitor">
|
||||
select * from visitor
|
||||
<where>
|
||||
<if test="usr!=''">name like concat("%",#{usr},"%") </if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"code": 1,
|
||||
"msg": "服务端清理缓存成功"
|
||||
}
|
@ -0,0 +1,147 @@
|
||||
{
|
||||
"homeInfo": {
|
||||
"title": "首页",
|
||||
"href": "view/welcome"
|
||||
},
|
||||
"logoInfo": {
|
||||
"title": "信息管理平台",
|
||||
"image": "static/images/lg.png",
|
||||
"href": ""
|
||||
},
|
||||
"menuInfo": [
|
||||
{
|
||||
"title": "",
|
||||
"icon": "fa fa-address-book",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "账号管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-home",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "管理员账号",
|
||||
"href": "view/adminList",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "用户账号",
|
||||
"href": "view/usrList",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "健康管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-window-maximize",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "健康档案",
|
||||
"href": "view/healthRisk",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "病历档案",
|
||||
"href": "view/highRisk",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "药品管理",
|
||||
"href": "view/medication",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "生活管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-gears",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "每月餐饮",
|
||||
"href": "view/catering",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "外出报备",
|
||||
"href": "view/goOut",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "入住管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-file-text",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "入住登记",
|
||||
"href": "view/register",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "寝室分配",
|
||||
"href": "view/dormitory",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "安全管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-calendar",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "事故记录",
|
||||
"href": "view/accident",
|
||||
"icon": "fa fa-list-alt",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "访客记录",
|
||||
"href": "view/visitor",
|
||||
"icon": "fa fa-navicon",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "收费标准",
|
||||
"href": "",
|
||||
"icon": "fa fa-flag-o",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "入住费用",
|
||||
"href": "view/checkIn",
|
||||
"icon": "fa fa-stumbleupon-circle",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "护理费用",
|
||||
"href": "view/nursing",
|
||||
"icon": "fa fa-viacoin",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,147 @@
|
||||
{
|
||||
"homeInfo": {
|
||||
"title": "首页",
|
||||
"href": "view/welcome"
|
||||
},
|
||||
"logoInfo": {
|
||||
"title": "信息管理平台",
|
||||
"image": "static/images/lg.png",
|
||||
"href": ""
|
||||
},
|
||||
"menuInfo": [
|
||||
{
|
||||
"title": "",
|
||||
"icon": "fa fa-address-book",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "账号管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-home",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "管理员账号",
|
||||
"href": "view/adminList",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "用户账号",
|
||||
"href": "view/usrList",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "健康管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-window-maximize",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "健康档案",
|
||||
"href": "view/healthRisk",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "病历档案",
|
||||
"href": "view/highRisk",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "药品管理",
|
||||
"href": "view/medication",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "生活管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-gears",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "每月餐饮",
|
||||
"href": "view/catering",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "外出报备",
|
||||
"href": "view/goOut",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "入住管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-file-text",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "入住登记",
|
||||
"href": "view/register",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "寝室分配",
|
||||
"href": "view/dormitory",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "安全管理",
|
||||
"href": "",
|
||||
"icon": "fa fa-calendar",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "事故记录",
|
||||
"href": "view/accident",
|
||||
"icon": "fa fa-list-alt",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "访客记录",
|
||||
"href": "view/visitor",
|
||||
"icon": "fa fa-navicon",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "收费标准",
|
||||
"href": "",
|
||||
"icon": "fa fa-flag-o",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "入住费用",
|
||||
"href": "view/checkIn",
|
||||
"icon": "fa fa-stumbleupon-circle",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "护理费用",
|
||||
"href": "view/nursing",
|
||||
"icon": "fa fa-viacoin",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
{
|
||||
"homeInfo": {
|
||||
"title": "首页",
|
||||
"href": "view/welcome1"
|
||||
},
|
||||
"logoInfo": {
|
||||
"title": "用户中心",
|
||||
"image": "static/images/lg.png",
|
||||
"href": ""
|
||||
},
|
||||
"menuInfo": [
|
||||
{
|
||||
"title": "",
|
||||
"icon": "fa fa-address-book",
|
||||
"href": "",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "基本信息",
|
||||
"href": "",
|
||||
"icon": "fa fa-gears",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "个人信息",
|
||||
"href": "view/usr",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "家人情况",
|
||||
"href": "view/older",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "生活情况",
|
||||
"href": "",
|
||||
"icon": "fa fa-gears",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "每月餐饮",
|
||||
"href": "view/catering",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "外出报备",
|
||||
"href": "view/goOutUsr",
|
||||
"icon": "fa fa-tachometer",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "收费标准",
|
||||
"href": "",
|
||||
"icon": "fa fa-flag-o",
|
||||
"target": "_self",
|
||||
"child": [
|
||||
{
|
||||
"title": "入住费用",
|
||||
"href": "view/checkIn",
|
||||
"icon": "fa fa-stumbleupon-circle",
|
||||
"target": "_self"
|
||||
},
|
||||
{
|
||||
"title": "护理费用",
|
||||
"href": "view/nursing",
|
||||
"icon": "fa fa-viacoin",
|
||||
"target": "_self"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
body {
|
||||
margin: 15px 15px 15px 15px;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.layuimini-container {
|
||||
border: 1px solid #f2f2f2;
|
||||
border-radius: 5px;
|
||||
background-color: #ffffff
|
||||
}
|
||||
|
||||
.layuimini-main {
|
||||
margin: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
/**必填红点 */
|
||||
.layuimini-form > .layui-form-item > .required:after {
|
||||
content: '*';
|
||||
color: red;
|
||||
position: absolute;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
line-height: 1.8em;
|
||||
top: 6px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-form-label {
|
||||
width: 120px !important;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-input-block {
|
||||
margin-left: 150px !important;
|
||||
}
|
||||
|
||||
.layuimini-form > .layui-form-item > .layui-input-block > tip {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
line-height: 10px;
|
||||
font-size: 10px;
|
||||
color: #a29c9c;
|
||||
}
|
||||
|
||||
/**搜索框*/
|
||||
.layuimini-container .table-search-fieldset {
|
||||
margin: 0;
|
||||
border: 1px solid #e6e6e6;
|
||||
padding: 10px 20px 5px 20px;
|
||||
color: #6b6b6b;
|
||||
}
|
||||
|
||||
/**自定义滚动条样式 */
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
-webkit-border-radius: 2em;
|
||||
-moz-border-radius: 2em;
|
||||
border-radius: 2em;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #9c9da0;
|
||||
-webkit-border-radius: 2em;
|
||||
-moz-border-radius: 2em;
|
||||
border-radius: 2em
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
/*头部右侧背景色 headerRightBg */
|
||||
.layui-layout-admin .layui-header {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
||||
/*头部右侧选中背景色 headerRightBgThis */
|
||||
.layui-layout-admin .layui-header .layuimini-header-content > ul > .layui-nav-item.layui-this, .layuimini-tool i:hover {
|
||||
background-color: #e4e4e4 !important;
|
||||
}
|
||||
|
||||
/*头部右侧字体颜色 headerRightColor */
|
||||
.layui-layout-admin .layui-header .layui-nav .layui-nav-item a {
|
||||
color: rgba(107, 107, 107, 0.7);
|
||||
}
|
||||
|
||||
/**头部右侧下拉字体颜色 headerRightChildColor */
|
||||
.layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child a {
|
||||
color: rgba(107, 107, 107, 0.7) !important;
|
||||
}
|
||||
|
||||
/*头部右侧鼠标选中 headerRightColorThis */
|
||||
.layui-header .layuimini-menu-header-pc.layui-nav .layui-nav-item a:hover, .layui-header .layuimini-header-menu.layuimini-pc-show.layui-nav .layui-this a {
|
||||
color: #565656 !important;
|
||||
}
|
||||
|
||||
/*头部右侧更多下拉颜色 headerRightNavMore */
|
||||
.layui-header .layui-nav .layui-nav-more {
|
||||
border-top-color: rgba(160, 160, 160, 0.7) !important;
|
||||
}
|
||||
|
||||
/*头部右侧更多下拉颜色 headerRightNavMore */
|
||||
.layui-header .layui-nav .layui-nav-mored, .layui-header .layui-nav-itemed > a .layui-nav-more {
|
||||
border-color: transparent transparent rgba(160, 160, 160, 0.7) !important;
|
||||
}
|
||||
|
||||
/**头部右侧更多下拉配置色 headerRightNavMoreBg headerRightNavMoreColor */
|
||||
.layui-header .layui-nav .layui-nav-child dd.layui-this a, .layui-header .layui-nav-child dd.layui-this, .layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||
background-color: #1E9FFF !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/*头部缩放按钮样式 headerRightToolColor */
|
||||
.layui-layout-admin .layui-header .layuimini-tool i {
|
||||
color: #565656;
|
||||
}
|
||||
|
||||
/*logo背景颜色 headerLogoBg */
|
||||
.layui-layout-admin .layuimini-logo {
|
||||
background-color: #192027 !important;
|
||||
}
|
||||
|
||||
/*logo字体颜色 headerLogoColor */
|
||||
.layui-layout-admin .layuimini-logo h1 {
|
||||
color: rgb(191, 187, 187);
|
||||
}
|
||||
|
||||
/*左侧菜单更多下拉样式 leftMenuNavMore */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-more, .layuimini-menu-left-zoom.layui-nav .layui-nav-more {
|
||||
border-top-color: rgb(191, 187, 187);
|
||||
}
|
||||
|
||||
/*左侧菜单更多下拉样式 leftMenuNavMore */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-mored, .layuimini-menu-left .layui-nav-itemed > a .layui-nav-more, .layuimini-menu-left-zoom.layui-nav .layui-nav-mored, .layuimini-menu-left-zoom.layui-nav-itemed > a .layui-nav-more {
|
||||
border-color: transparent transparent rgb(191, 187, 187) !important;
|
||||
}
|
||||
|
||||
/*左侧菜单背景 leftMenuBg */
|
||||
.layui-side.layui-bg-black, .layui-side.layui-bg-black > .layuimini-menu-left > ul, .layuimini-menu-left-zoom > ul {
|
||||
background-color: #28333E !important;
|
||||
}
|
||||
|
||||
/*左侧菜单选中背景 leftMenuBgThis */
|
||||
.layuimini-menu-left .layui-nav-tree .layui-this, .layuimini-menu-left .layui-nav-tree .layui-this > a, .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this, .layuimini-menu-left .layui-nav-tree .layui-nav-child dd.layui-this a, .layuimini-menu-left-zoom.layui-nav-tree .layui-this, .layuimini-menu-left-zoom.layui-nav-tree .layui-this > a, .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this, .layuimini-menu-left-zoom.layui-nav-tree .layui-nav-child dd.layui-this a {
|
||||
background-color: #1E9FFF !important
|
||||
}
|
||||
|
||||
/*左侧菜单子菜单背景 leftMenuChildBg */
|
||||
.layuimini-menu-left .layui-nav-itemed > .layui-nav-child {
|
||||
background-color: #0c0f13 !important;
|
||||
}
|
||||
|
||||
/*左侧菜单字体颜色 leftMenuColor */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-item a, .layuimini-menu-left-zoom.layui-nav .layui-nav-item a {
|
||||
color: rgb(191, 187, 187) !important;
|
||||
}
|
||||
|
||||
/*左侧菜单选中字体颜色 leftMenuColorThis */
|
||||
.layuimini-menu-left .layui-nav .layui-nav-item a:hover, .layuimini-menu-left .layui-nav .layui-this a, .layuimini-menu-left-zoom.layui-nav .layui-nav-item a:hover, .layuimini-menu-left-zoom.layui-nav .layui-this a {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
/**tab选项卡选中颜色 tabActiveColor */
|
||||
.layuimini-tab .layui-tab-title .layui-this .layuimini-tab-active {
|
||||
background-color: #1e9fff;
|
||||
}
|
After Width: | Height: | Size: 1.5 MiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 8.9 KiB |
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* date:2019/08/16
|
||||
* author:Mr.Chung
|
||||
* description:此处放layui自定义扩展
|
||||
* version:2.0.4
|
||||
*/
|
||||
|
||||
window.rootPath = (function (src) {
|
||||
src = document.scripts[document.scripts.length - 1].src;
|
||||
return src.substring(0, src.lastIndexOf("/") + 1);
|
||||
})();
|
||||
|
||||
layui.config({
|
||||
base: rootPath + "lay-module/",
|
||||
version: true
|
||||
}).extend({
|
||||
miniAdmin: "layuimini/miniAdmin", // layuimini后台扩展
|
||||
miniMenu: "layuimini/miniMenu", // layuimini菜单扩展
|
||||
miniTab: "layuimini/miniTab", // layuimini tab扩展
|
||||
miniTheme: "layuimini/miniTheme", // layuimini 主题扩展
|
||||
miniTongji: "layuimini/miniTongji", // layuimini 统计扩展
|
||||
step: 'step-lay/step', // 分步表单扩展
|
||||
treetable: 'treetable-lay/treetable', //table树形扩展
|
||||
tableSelect: 'tableSelect/tableSelect', // table选择扩展
|
||||
iconPickerFa: 'iconPicker/iconPickerFa', // fa图标选择扩展
|
||||
echarts: 'echarts/echarts', // echarts图表扩展
|
||||
echartsTheme: 'echarts/echartsTheme', // echarts图表主题扩展
|
||||
wangEditor: 'wangEditor/wangEditor', // wangEditor富文本扩展
|
||||
layarea: 'layarea/layarea', // 省市县区三级联动下拉选择器
|
||||
});
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue