diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 872ba96..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,57 +0,0 @@
-.DS_Store
-node_modules
-/dist
-
-
-# local env files
-.env.local
-.env.*.local
-
-# Log files
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-
-# Editor directories and files
-.idea
-.vscode
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
-
-test/
-target/
-!.mvn/wrapper/maven-wrapper.jar
-!**/src/main/**/target/
-!**/src/test/**/target/
-
-### STS ###
-.apt_generated
-.classpath
-.factorypath
-.project
-.settings
-.springBeans
-.sts4-cache
-
-### IntelliJ IDEA ###
-*.iws
-*.iml
-*.ipr
-*.rdb
-
-### NetBeans ###
-/nbproject/private/
-/nbbuild/
-/dist/
-/nbdist/
-/.nb-gradle/
-build/
-!**/src/main/**/build/
-!**/src/test/**/build/
-
-### VS Code ###
-.vscode/
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index f288702..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,674 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
diff --git a/README.md b/README.md
index db795b3..0985e9a 100644
--- a/README.md
+++ b/README.md
@@ -1,271 +1,2 @@
-### 日志
+# human-resource-management-system
-#### v1.0-221229
-
-1. 解决了第一次点击导航栏,页面出现空白的问题
-2. 取消使用自定义的封装组件CommonForm、CommonTable
-3. 优化了一些对话框布局
-4. 增加修改头像功能,员工未设置头像时,显示默认头像
-5. 删除了att_leave_type、sal_deduct_type、att_work_time、att_overtime_type等数据库表,具体原因见项目文档的总结部分
-6. token过期直接退出登录
-7. 实现了当访问不存在的路由时,出现404页面的功能
-
-#### v1.1-240323
-
-1. 解决了一些关于路由warning的问题 2023/2/3
-2. 优化了界面,增强了搜索功能 2023/2/15
-3. 解决了添加子部门时,出现异常的问题 2023/2/17
-4. 解决了不能修改密码的问题 2023/3/10
-5. 解决了不能添加参保城市的问题 2023/4/6
-
-#### v1.2-240402
-
-1. 完成了项目的加班模块 2024/3/23
-2. 解决了当数据表格的列fixed时,行未对齐的问题 2024/3/26
-
-#### v2.0-240428
-
-1. 整合了spring security,实现了基于jwt的认证以及授权 2024/4/3
-2. 解决了文件上传、下载,数据导入、导出的跨域问题 2024/4/5
-3. 实现了自定义的认证、授权失败处理器,认证失败直接退出登录 2024/4/7
-4. 结合自定义指令,实现了功能点的权限控制 2024/4/11
-5. 修复了一些小bug,完善了权限控制 2024/4/13
-6. 整合了redis,实现了验证码登录功能 2024/4/18
-
-#### master
-
-1. 整合了activiti,实现了基于工作流的请假审批 2024/5/1
-2. 指明技术栈版本 2025/8/17
-
-### 项目介绍
-
-#### 项目概述
-
-本项目是一款基于Spring
-Boot+Vue+ElementUI的人力资源管理系统,有权限管理、财务管理、系统管理、考勤管理等功能模块。
-
-#### 技术栈
-
-1. 前端
-
-| 技术 | 版本 |
- |:----------:|:-------:|
-| Vue | 2.6.14 |
-| Axios | 0.25.0 |
-| ElementUI | 2.15.7 |
-| Vue-Router | 3.5.3 |
-| Vuex | 3.6.2 |
-| ECharts | 5.3.0 |
-| node | 22.14.0 |
-| npm | 11.3.0 |
-
-2. 后端
-
-| 技术 | 版本 |
-|:---------------:|:--------:|
-| Spring Boot | 2.5.6 |
-| jdk | 17.0.12 |
-| Jwt | 0.11.5 |
-| MyBatis-Plus | 3.5.1 |
-| Hutool | 5.8.25 |
-| Spring Security | 5.5.3 |
-| Activiti | 7.0.0.GA |
-| Swagger | 2.9.2 |
-| MySQL | 8.1.0 |
-| Redis | 5.0.14.1 |
-
-### 系统设计
-
-#### 功能模块
-
-
-
-本系统主要分四个模块,分别是权限管理、财务管理、系统管理、考勤管理。
-
-### 系统展示
-
-#### 首页
-
-
-
-首页主要展示了员工以及系统的一些基本信息。
-
-#### 请假
-
-
-
-在请假面板中,员工可以进行请假。在右侧的请假记录中可以查看以往的请假申请,或对当前未被审核的申请进行撤销。
-
-
-
-对员工的请假进行审批,比如通过或驳回。员工申请请假之后,等待相关人员进行审批。如果审批通过,则将员工休假时间段的考勤状态设置为休假(但当请假类型是调休时,考勤状态要设为调休)。
-
-#### 五险一金
-
-
-
-
-
-实现了对员工的五险一金进行管理,以及员工五险一金报表的导出。
-
-#### 薪资管理
-
-
-
-
-
-实现了对员工的薪资进行管理,以及员工月薪资报表的导出。
-
-#### 考勤表现
-
-
-
-实现了考勤数据的导入,以及月考勤报表的导出,员工考勤状态的查看与修改。
-
-
-
-通过导入员工的考勤记录表,系统就会将员工的上下班时间与员工所在部门规定的上班时间进行比对,判断员工是否迟到、早退、旷工。
-(这是数据导入的模板,需要按照此格式填写数据。系统只会读取上下班时间的时间部分,并以考勤日期作为打卡日期)
-
-另外,介绍一下考勤规则:
-
-* 若考勤日期对应的是周末,则不判读员工考勤状态,默认为休假。
-* 若考勤日期对应的是员工请假的日期,则员工考勤状态设为休假。
-* 若考勤日期对应的是员工调休的日期,则员工考勤状态设为调休。
-* 若员工的四个打卡时间,只要有一个为空,则员工考勤状态设为旷工。
-* 若员工既迟到又早退,则员工考勤状态设为旷工。
-* 若员工迟到,则员工考勤状态设为迟到。
-* 若员工早退,则员工考勤状态设为早退。
-* 若不是以上任何情况,则员工考勤状态设为正常。
-
-#### 加班详情
-
-
-
-实现了加班数据的导入,以及月加班报表的导出,员工加班状态的查看与加班信息的修改。
-
-
-
-通过导入员工的加班记录表(导入数据时,数据项有缺失的加班记录会被直接丢弃),系统会首先计算员工当天的加班总时长,然后再根据员工所在部门的加班规则等信息,对员工的加班状态进行判断。
-
-加班类型:
-
-* 节假日加班:根据国家的节假日安排来判断当天是否是节假日。
-* 休息日加班:将周末视为休息日;如果是休息日加班,部门可以选择不调休或者调休;当选择调休时,只有当员工当天的总加班时长不少于8个小时时,才可以获得一天的调休,否则没有调休。
-* 工作日加班:工作日就是周一到周五。
-
-加班费计算方式:
-
-* 以小时为单位:员工当天的总加班时长不能少于2小时,否则没有加班费;加班费 = 时薪 x 时长 x 倍数 + 奖金
-* 以日为单位:员工当天的总加班时长不能少于8个小时,否则没有加班费;加班费 = 日薪 x 倍数 + 奖金
-
-加班状态:
-
-* 若当天是休息日加班,部门选择了调休,并且员工当天的加班总时长不少于8个小时,则员工获得一天的调休,当天的加班状态设置为调休。
-* 其他情况下,若员工当天的加班时长大于0,当天的加班状态设置为加班。
-* 若不是以上任何情况,则员工加班状态设置为正常。
-
-### 项目搭建
-
-#### 项目配置
-
-1. 前端
-
- 在`.env`文件中
-
- ```xml
- # 修改端口号,此端口号与在application.yml中配置的端口号相同
- VUE_APP_PORT = 8888
- ```
-
-2. 后端
-
- 在`application.yml`中进行相关的配置
-
- ```xml
- # 这是后端项目的运行端口,可自行修改
- server:
- port: 8888
-
- # 配置多数据源,hrm是主数据库,保存系统业务信息;hrm_activiti是从数据库,保存工作流信息
- datasource:
- master:
- jdbc-url: jdbc:mysql://127.0.0.1:3306/hrm?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2b8
- username: root
- password: 123456
- driver-class-name: com.mysql.cj.jdbc.Driver
- type: com.zaxxer.hikari.HikariDataSource
- activiti:
- jdbc-url: jdbc:mysql://127.0.0.1:3306/hrm_activiti?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2b8
- username: root
- password: 123456
- driver-class-name: com.mysql.cj.jdbc.Driver
- type: com.zaxxer.hikari.HikariDataSource
-
- # redis配置
- redis:
- host: localhost
- port: 6379
- password: 123456
- database: 0
- lettuce:
- pool:
- max-idle: 16
- max-active: 32
- min-idle: 8
-
- # 因为此项目涉及到了文件上传与下载,此路径用来存储上传的文件。
- file-path: E:/project/idea/hrm/file/ # 修改为自己的路径
-
- # 因为每年的法定节假日是不确定的,这里我只列举了2024年的节假日,其他年份的可根据个人需要添加即可
- holidays:
- - 2024-01-01
- - 2024-02-10
- - 2024-02-11
- - 2024-02-12
- - 2024-02-13
- - 2024-02-14
- - 2024-02-15
- - 2024-02-16
- - 2024-02-17
- - 2024-04-04
- - 2024-04-05
- - 2024-04-06
- - 2024-05-01
- - 2024-05-02
- - 2024-05-03
- - 2024-05-04
- - 2024-05-05
- - 2024-06-08
- - 2024-06-09
- - 2024-06-10
- - 2024-09-15
- - 2024-09-16
- - 2024-09-17
- - 2024-10-01
- - 2024-10-02
- - 2024-10-03
- - 2024-10-04
- - 2024-10-05
- - 2024-10-06
- - 2024-10-07
- ```
-
-#### 项目启动
-
-1. 新建数据库,执行数据库文件,启动mysql
-2. 配置redis,启动redis
-3. 在/hrm/vue-elementui-hrm目录下
-
- ```bash
- # 下载依赖
- npm install
- # 启动
- npm run serve
- ```
-
-4. 启动后端项目
-5. 项目启动成功之后,访问
-
- 账号:admin
- 密码:123 (其他账号的密码也为123)
diff --git a/file/11daf7f3aa4fbfaf876c.xlsx b/file/11daf7f3aa4fbfaf876c.xlsx
deleted file mode 100644
index 81a2634..0000000
Binary files a/file/11daf7f3aa4fbfaf876c.xlsx and /dev/null differ
diff --git a/file/277e41bceb435b833a6f.txt b/file/277e41bceb435b833a6f.txt
deleted file mode 100644
index 9f28c85..0000000
--- a/file/277e41bceb435b833a6f.txt
+++ /dev/null
@@ -1 +0,0 @@
-你好✌
\ No newline at end of file
diff --git a/file/50c3cd7ced46abbe4093.jpg b/file/50c3cd7ced46abbe4093.jpg
deleted file mode 100644
index 6e187c4..0000000
Binary files a/file/50c3cd7ced46abbe4093.jpg and /dev/null differ
diff --git a/file/5dcc0999734b09b08aee.xlsx b/file/5dcc0999734b09b08aee.xlsx
deleted file mode 100644
index a38dc53..0000000
Binary files a/file/5dcc0999734b09b08aee.xlsx and /dev/null differ
diff --git a/file/646cec1d674c5fa595a5.png b/file/646cec1d674c5fa595a5.png
deleted file mode 100644
index 1bd2047..0000000
Binary files a/file/646cec1d674c5fa595a5.png and /dev/null differ
diff --git a/file/64a85e1a3c4dfb83d267.jpg b/file/64a85e1a3c4dfb83d267.jpg
deleted file mode 100644
index a6a36a6..0000000
Binary files a/file/64a85e1a3c4dfb83d267.jpg and /dev/null differ
diff --git a/file/693c2156904974a5734f.jpg b/file/693c2156904974a5734f.jpg
deleted file mode 100644
index 7c5c180..0000000
Binary files a/file/693c2156904974a5734f.jpg and /dev/null differ
diff --git a/file/6e2a56b137425e87f0b9.jpg b/file/6e2a56b137425e87f0b9.jpg
deleted file mode 100644
index 1bd6f7a..0000000
Binary files a/file/6e2a56b137425e87f0b9.jpg and /dev/null differ
diff --git a/file/7318a077ab4e8499e8b9.jpg b/file/7318a077ab4e8499e8b9.jpg
deleted file mode 100644
index e6c9e45..0000000
Binary files a/file/7318a077ab4e8499e8b9.jpg and /dev/null differ
diff --git a/file/75bf86e97c43c88f2fa5.xlsx b/file/75bf86e97c43c88f2fa5.xlsx
deleted file mode 100644
index d66122f..0000000
Binary files a/file/75bf86e97c43c88f2fa5.xlsx and /dev/null differ
diff --git a/file/826f7fffbd435284d3c7.jpg b/file/826f7fffbd435284d3c7.jpg
deleted file mode 100644
index 5285c7c..0000000
Binary files a/file/826f7fffbd435284d3c7.jpg and /dev/null differ
diff --git a/file/83fcdbcb4b450da4390e.png b/file/83fcdbcb4b450da4390e.png
deleted file mode 100644
index 74f0f1a..0000000
Binary files a/file/83fcdbcb4b450da4390e.png and /dev/null differ
diff --git a/file/90b02643334e5aa802c3.xlsx b/file/90b02643334e5aa802c3.xlsx
deleted file mode 100644
index aa49709..0000000
Binary files a/file/90b02643334e5aa802c3.xlsx and /dev/null differ
diff --git a/file/b2f66ce7ec4b54a0fea7.png b/file/b2f66ce7ec4b54a0fea7.png
deleted file mode 100644
index 3199ef3..0000000
Binary files a/file/b2f66ce7ec4b54a0fea7.png and /dev/null differ
diff --git a/file/cf27a645464dafa957ff.png b/file/cf27a645464dafa957ff.png
deleted file mode 100644
index 9758104..0000000
Binary files a/file/cf27a645464dafa957ff.png and /dev/null differ
diff --git a/file/fdc2f2fd3e42779c4ca1.jpg b/file/fdc2f2fd3e42779c4ca1.jpg
deleted file mode 100644
index b85ab3d..0000000
Binary files a/file/fdc2f2fd3e42779c4ca1.jpg and /dev/null differ
diff --git a/hrm.sql b/hrm.sql
deleted file mode 100644
index 74b9c93..0000000
--- a/hrm.sql
+++ /dev/null
@@ -1,1266 +0,0 @@
-/*
- Navicat Premium Data Transfer
-
- Source Server : mysql
- Source Server Type : MySQL
- Source Server Version : 80100
- Source Host : localhost:3306
- Source Schema : hrm
-
- Target Server Type : MySQL
- Target Server Version : 80100
- File Encoding : 65001
-
- Date: 28/04/2024 22:46:22
-*/
-
-SET NAMES utf8mb4;
-SET FOREIGN_KEY_CHECKS = 0;
-
--- ----------------------------
--- Table structure for att_attendance
--- ----------------------------
-DROP TABLE IF EXISTS `att_attendance`;
-CREATE TABLE `att_attendance` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `staff_id` int NULL DEFAULT NULL COMMENT '员工id',
- `mor_start_time` time NULL DEFAULT NULL COMMENT '上午上班时间',
- `mor_end_time` time NULL DEFAULT NULL COMMENT '上午下班时间',
- `aft_start_time` time NULL DEFAULT NULL COMMENT '下午上班时间',
- `aft_end_time` time NULL DEFAULT NULL COMMENT '下午下班时间',
- `attendance_date` date NOT NULL COMMENT '考勤日期',
- `status` tinyint NULL DEFAULT NULL COMMENT '0正常,1迟到,2早退,3旷工,4休假,5补休',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 308 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工考勤表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of att_attendance
--- ----------------------------
-INSERT INTO `att_attendance` VALUES (197, 1, '07:30:00', '11:30:00', '13:30:00', '18:00:00', '2022-05-09', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 17:35:20', 0);
-INSERT INTO `att_attendance` VALUES (198, 1, '06:50:00', '12:00:00', '13:00:00', '17:00:16', '2022-05-10', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (199, 1, '09:00:00', '10:30:00', '13:01:55', '16:00:16', '2022-05-11', 3, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (200, 2, '07:00:00', '12:35:00', '13:12:55', '19:20:16', '2022-05-09', 1, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (201, 2, '07:40:00', '12:20:00', '13:09:55', '18:10:16', '2022-05-10', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (202, 2, '07:40:00', '12:30:00', NULL, '18:49:00', '2022-05-11', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (203, 3, '06:12:00', '11:00:00', '13:01:55', '16:00:16', '2022-05-09', 2, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (204, 3, '07:00:00', '11:30:00', '13:30:00', '18:00:00', '2022-05-10', 3, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (205, 3, '07:20:00', '12:30:00', '13:00:00', '18:00:16', '2022-05-11', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (206, 4, '09:30:00', '10:40:00', '13:10:55', '16:30:16', '2022-05-09', 3, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (207, 4, '05:00:00', '12:35:00', '13:00:55', '19:20:16', '2022-05-10', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (208, 4, '05:40:00', '13:00:00', '13:00:55', '18:10:16', '2022-05-11', 0, NULL, '2022-05-06 16:52:25', '2022-05-06 16:52:25', 0);
-INSERT INTO `att_attendance` VALUES (209, 1, NULL, NULL, NULL, NULL, '2022-05-06', 0, NULL, '2022-05-06 17:35:20', '2022-05-06 17:35:20', 0);
-INSERT INTO `att_attendance` VALUES (210, 1, NULL, NULL, NULL, NULL, '2022-05-16', 0, NULL, '2022-05-06 17:38:40', '2022-05-06 17:38:40', 0);
-INSERT INTO `att_attendance` VALUES (211, 1, NULL, NULL, NULL, NULL, '2022-05-17', 1, NULL, '2022-05-06 17:38:40', '2022-05-06 17:38:40', 0);
-INSERT INTO `att_attendance` VALUES (212, 3, '07:20:00', '12:30:00', '13:00:00', '18:00:16', '2022-04-06', 0, NULL, '2022-05-06 17:54:37', '2022-05-13 15:09:39', 0);
-INSERT INTO `att_attendance` VALUES (213, 4, NULL, NULL, NULL, NULL, '2022-04-12', 0, NULL, '2022-05-06 17:54:43', '2022-05-06 17:54:43', 0);
-INSERT INTO `att_attendance` VALUES (214, 1, NULL, NULL, NULL, NULL, '2022-04-12', 2, NULL, '2022-05-06 17:54:50', '2022-05-06 17:54:50', 0);
-INSERT INTO `att_attendance` VALUES (215, 2, NULL, NULL, NULL, NULL, '2022-04-14', 1, NULL, '2022-05-06 17:54:56', '2022-05-06 17:54:56', 0);
-INSERT INTO `att_attendance` VALUES (216, 6, NULL, NULL, NULL, NULL, '2022-04-13', 3, NULL, '2022-05-06 17:55:03', '2022-05-06 17:55:03', 0);
-INSERT INTO `att_attendance` VALUES (217, 6, NULL, NULL, NULL, NULL, '2022-05-13', 2, NULL, '2022-05-06 18:05:27', '2022-05-06 18:05:27', 0);
-INSERT INTO `att_attendance` VALUES (218, 9, NULL, NULL, NULL, NULL, '2022-05-13', 1, NULL, '2022-05-06 18:05:34', '2022-05-06 18:05:34', 0);
-INSERT INTO `att_attendance` VALUES (219, 1, '06:00:00', '12:00:00', '13:00:55', '18:00:16', '2022-07-08', 0, NULL, '2022-05-12 20:50:04', '2024-04-04 22:18:12', 0);
-INSERT INTO `att_attendance` VALUES (220, 1, '09:00:00', '10:30:00', '13:01:55', '16:00:16', '2022-07-11', 3, NULL, '2022-05-12 20:50:04', '2024-04-06 11:22:29', 0);
-INSERT INTO `att_attendance` VALUES (221, 2, '06:45:00', '11:40:00', '13:10:55', '16:30:16', '2022-07-08', 1, NULL, '2022-05-12 20:50:04', '2024-04-06 11:22:29', 0);
-INSERT INTO `att_attendance` VALUES (222, 2, '07:40:00', '12:30:00', NULL, '18:49:16', '2022-07-11', 3, NULL, '2022-05-12 20:50:04', '2024-04-06 11:22:29', 0);
-INSERT INTO `att_attendance` VALUES (223, 3, '07:34:00', '12:10:00', '15:11:55', '21:00:16', '2022-07-08', 1, NULL, '2022-05-12 20:50:04', '2024-04-04 22:25:37', 0);
-INSERT INTO `att_attendance` VALUES (224, 3, '07:20:00', '12:30:00', '13:00:00', '18:00:16', '2022-07-11', 1, NULL, '2022-05-12 20:50:04', '2024-04-04 22:25:37', 0);
-INSERT INTO `att_attendance` VALUES (225, 4, '08:00:00', '11:00:00', '13:01:55', '16:00:16', '2022-07-08', 3, NULL, '2022-05-12 20:50:04', '2024-04-06 11:22:29', 0);
-INSERT INTO `att_attendance` VALUES (226, 4, '05:40:00', '13:00:00', '13:00:55', '18:10:16', '2022-07-11', 0, NULL, '2022-05-12 20:50:04', '2022-05-12 20:50:04', 0);
-INSERT INTO `att_attendance` VALUES (227, 4, NULL, NULL, NULL, NULL, '2022-04-26', 2, NULL, '2022-05-12 20:53:46', '2022-05-12 20:53:46', 0);
-INSERT INTO `att_attendance` VALUES (228, 1, NULL, NULL, NULL, NULL, '2022-04-20', 3, NULL, '2022-05-13 09:27:18', '2022-05-13 09:27:18', 0);
-INSERT INTO `att_attendance` VALUES (229, 5, NULL, NULL, NULL, NULL, '2022-05-05', 2, NULL, '2022-05-13 14:20:43', '2022-05-13 14:20:43', 0);
-INSERT INTO `att_attendance` VALUES (230, 1, '07:30:00', '11:30:00', '13:30:00', '18:00:00', '2022-04-04', 3, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (231, 1, '06:50:00', '12:00:00', '13:00:00', '17:00:16', '2022-04-05', 0, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (232, 1, '09:00:00', '10:30:00', '13:01:55', '16:00:16', '2022-04-06', 3, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (233, 2, '07:00:00', '12:35:00', '13:12:55', '19:20:16', '2022-04-04', 1, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (234, 2, '07:40:00', '12:20:00', '13:09:55', '18:10:16', '2022-04-05', 0, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (235, 2, '07:40:00', '12:30:00', NULL, '18:49:16', '2022-04-06', 3, NULL, '2022-05-13 15:09:38', '2022-05-13 15:09:38', 0);
-INSERT INTO `att_attendance` VALUES (236, 3, '06:12:00', '11:00:00', '13:01:55', '16:00:16', '2022-04-04', 2, NULL, '2022-05-13 15:09:39', '2022-05-13 15:09:39', 0);
-INSERT INTO `att_attendance` VALUES (237, 3, '07:00:00', '11:30:00', '13:30:00', '18:00:00', '2022-04-05', 3, NULL, '2022-05-13 15:09:39', '2022-05-13 15:09:39', 0);
-INSERT INTO `att_attendance` VALUES (238, 4, '09:30:00', '10:40:00', '13:10:55', '16:30:16', '2022-04-04', 3, NULL, '2022-05-13 15:09:40', '2022-05-13 15:09:40', 0);
-INSERT INTO `att_attendance` VALUES (239, 4, '05:00:00', '12:35:00', '13:00:55', '19:20:16', '2022-04-05', 0, NULL, '2022-05-13 15:09:40', '2022-05-13 15:09:40', 0);
-INSERT INTO `att_attendance` VALUES (240, 4, '05:40:00', '13:00:00', '13:00:55', '18:10:16', '2022-04-06', 0, NULL, '2022-05-13 15:09:40', '2022-05-13 15:09:40', 0);
-INSERT INTO `att_attendance` VALUES (241, 1, NULL, NULL, NULL, NULL, '2022-05-19', 4, NULL, '2022-05-13 15:12:39', '2022-05-13 15:12:39', 0);
-INSERT INTO `att_attendance` VALUES (242, 1, NULL, NULL, NULL, NULL, '2022-05-20', 4, NULL, '2022-05-13 15:12:39', '2022-05-13 15:12:39', 0);
-INSERT INTO `att_attendance` VALUES (247, 1, NULL, NULL, NULL, NULL, '2023-01-01', 2, NULL, '2023-01-02 13:50:02', '2023-01-02 13:50:02', 0);
-INSERT INTO `att_attendance` VALUES (250, 1, NULL, NULL, NULL, NULL, '2023-01-02', 1, NULL, '2023-01-25 21:13:29', '2023-01-25 21:13:29', 0);
-INSERT INTO `att_attendance` VALUES (251, 3, NULL, NULL, NULL, NULL, '2023-01-04', 4, NULL, '2023-01-25 21:17:59', '2023-01-25 21:17:59', 0);
-INSERT INTO `att_attendance` VALUES (252, 2, NULL, NULL, NULL, NULL, '2023-02-07', 3, NULL, '2023-02-14 12:10:00', '2023-02-14 12:10:00', 0);
-INSERT INTO `att_attendance` VALUES (253, 1, NULL, NULL, NULL, NULL, '2023-02-16', 4, NULL, '2023-02-14 22:07:48', '2023-02-14 22:07:48', 0);
-INSERT INTO `att_attendance` VALUES (254, 1, NULL, NULL, NULL, NULL, '2023-02-17', 3, NULL, '2023-02-14 22:07:49', '2023-02-14 22:07:49', 0);
-INSERT INTO `att_attendance` VALUES (255, 1, NULL, NULL, NULL, NULL, '2023-02-15', 4, NULL, '2023-02-14 22:09:39', '2023-02-14 22:09:39', 0);
-INSERT INTO `att_attendance` VALUES (256, 1, NULL, NULL, NULL, NULL, '2023-02-21', 4, NULL, '2023-02-14 22:15:58', '2023-02-14 22:15:58', 0);
-INSERT INTO `att_attendance` VALUES (257, 1, NULL, NULL, NULL, NULL, '2023-02-22', 4, NULL, '2023-02-14 22:15:58', '2023-02-14 22:15:58', 0);
-INSERT INTO `att_attendance` VALUES (258, 1, NULL, NULL, NULL, NULL, '2023-02-08', 2, NULL, '2023-02-15 01:04:56', '2023-02-15 01:04:56', 0);
-INSERT INTO `att_attendance` VALUES (259, 1, NULL, NULL, NULL, NULL, '2023-02-23', 1, NULL, '2023-02-15 01:05:17', '2023-02-15 01:05:17', 0);
-INSERT INTO `att_attendance` VALUES (260, 5, NULL, NULL, NULL, NULL, '2024-03-07', 2, NULL, '2024-03-05 11:40:37', '2024-03-05 11:40:37', 0);
-INSERT INTO `att_attendance` VALUES (261, 7, NULL, NULL, NULL, NULL, '2024-03-13', 1, NULL, '2024-03-05 11:40:43', '2024-03-05 11:40:43', 0);
-INSERT INTO `att_attendance` VALUES (262, 9, NULL, NULL, NULL, NULL, '2024-03-04', 2, NULL, '2024-03-05 11:40:50', '2024-03-05 11:40:50', 0);
-INSERT INTO `att_attendance` VALUES (263, 3, NULL, NULL, NULL, NULL, '2024-03-15', 1, NULL, '2024-03-05 11:40:56', '2024-03-05 11:40:56', 0);
-INSERT INTO `att_attendance` VALUES (264, 3, NULL, NULL, NULL, NULL, '2024-03-12', 3, NULL, '2024-03-05 11:41:02', '2024-03-05 11:41:02', 0);
-INSERT INTO `att_attendance` VALUES (265, 7, NULL, NULL, NULL, NULL, '2024-03-20', 3, NULL, '2024-03-05 11:41:08', '2024-03-05 11:41:08', 0);
-INSERT INTO `att_attendance` VALUES (266, 7, NULL, NULL, NULL, NULL, '2024-03-21', 3, NULL, '2024-03-05 11:41:12', '2024-03-05 11:41:12', 0);
-INSERT INTO `att_attendance` VALUES (267, 7, NULL, NULL, NULL, NULL, '2024-03-19', 3, NULL, '2024-03-05 11:41:16', '2024-03-05 11:41:16', 0);
-INSERT INTO `att_attendance` VALUES (268, 3, NULL, NULL, NULL, NULL, '2024-03-05', 2, NULL, '2024-03-05 11:54:37', '2024-03-05 11:54:37', 0);
-INSERT INTO `att_attendance` VALUES (269, 4, NULL, NULL, NULL, NULL, '2024-03-05', 3, NULL, '2024-03-05 11:54:41', '2024-03-05 11:54:41', 0);
-INSERT INTO `att_attendance` VALUES (270, 5, NULL, NULL, NULL, NULL, '2024-03-05', 3, NULL, '2024-03-05 11:54:46', '2024-03-05 11:54:46', 0);
-INSERT INTO `att_attendance` VALUES (271, 8, NULL, NULL, NULL, NULL, '2024-03-05', 1, NULL, '2024-03-05 11:54:53', '2024-03-05 11:54:53', 0);
-INSERT INTO `att_attendance` VALUES (272, 1, NULL, NULL, NULL, NULL, '2024-03-22', 4, NULL, '2024-03-22 21:27:16', '2024-03-22 21:27:16', 0);
-INSERT INTO `att_attendance` VALUES (273, 1, NULL, NULL, NULL, NULL, '2024-03-25', 4, NULL, '2024-03-22 21:27:16', '2024-03-22 21:27:16', 0);
-INSERT INTO `att_attendance` VALUES (274, 1, NULL, NULL, NULL, NULL, '2024-03-26', 1, NULL, '2024-03-22 22:43:52', '2024-03-22 22:43:52', 0);
-INSERT INTO `att_attendance` VALUES (275, 1, NULL, NULL, NULL, NULL, '2024-03-29', 5, NULL, '2024-03-22 23:37:32', '2024-03-22 23:37:32', 0);
-INSERT INTO `att_attendance` VALUES (276, 1, NULL, NULL, NULL, NULL, '2024-04-05', 5, NULL, '2024-03-23 08:52:27', '2024-03-23 08:52:27', 0);
-INSERT INTO `att_attendance` VALUES (277, 1, NULL, NULL, NULL, NULL, '2024-03-28', 5, NULL, '2024-03-23 13:06:53', '2024-03-23 13:06:53', 0);
-INSERT INTO `att_attendance` VALUES (278, 1, NULL, NULL, NULL, NULL, '2024-03-05', 2, NULL, '2024-03-23 22:48:47', '2024-03-23 22:48:47', 0);
-INSERT INTO `att_attendance` VALUES (279, 4, NULL, NULL, NULL, NULL, '2024-03-26', 3, NULL, '2024-03-26 11:54:11', '2024-03-26 11:54:11', 0);
-INSERT INTO `att_attendance` VALUES (280, 5, NULL, NULL, NULL, NULL, '2024-03-26', 3, NULL, '2024-03-26 11:54:15', '2024-03-26 11:54:15', 0);
-INSERT INTO `att_attendance` VALUES (281, 15, NULL, NULL, NULL, NULL, '2024-03-26', 1, NULL, '2024-03-26 11:54:23', '2024-03-26 11:54:23', 0);
-INSERT INTO `att_attendance` VALUES (282, 27, NULL, NULL, NULL, NULL, '2024-03-26', 2, NULL, '2024-03-26 11:54:32', '2024-03-26 11:54:32', 0);
-INSERT INTO `att_attendance` VALUES (283, 23, NULL, NULL, NULL, NULL, '2024-03-26', 2, NULL, '2024-03-26 11:54:37', '2024-03-26 11:54:37', 0);
-INSERT INTO `att_attendance` VALUES (284, 29, NULL, NULL, NULL, NULL, '2024-03-26', 2, NULL, '2024-03-26 11:54:42', '2024-03-26 11:54:42', 0);
-INSERT INTO `att_attendance` VALUES (285, 1, NULL, NULL, NULL, NULL, '2022-07-14', 5, NULL, '2024-04-05 14:52:19', '2024-04-05 14:52:19', 0);
-INSERT INTO `att_attendance` VALUES (286, 1, NULL, NULL, NULL, NULL, '2024-04-24', 3, NULL, '2024-04-05 14:58:33', '2024-04-05 14:58:33', 0);
-INSERT INTO `att_attendance` VALUES (287, 1, NULL, NULL, NULL, NULL, '2024-04-25', 3, NULL, '2024-04-05 14:58:38', '2024-04-05 14:58:38', 0);
-INSERT INTO `att_attendance` VALUES (288, 13, NULL, NULL, NULL, NULL, '2024-04-10', 3, NULL, '2024-04-09 17:35:04', '2024-04-09 17:35:04', 0);
-INSERT INTO `att_attendance` VALUES (289, 12, NULL, NULL, NULL, NULL, '2024-03-28', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (290, 12, NULL, NULL, NULL, NULL, '2024-03-29', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (291, 12, NULL, NULL, NULL, NULL, '2024-04-01', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (292, 12, NULL, NULL, NULL, NULL, '2024-04-02', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (293, 12, NULL, NULL, NULL, NULL, '2024-04-03', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (294, 12, NULL, NULL, NULL, NULL, '2024-04-04', 4, NULL, '2024-04-26 10:28:23', '2024-04-26 10:28:23', 0);
-INSERT INTO `att_attendance` VALUES (295, 1, NULL, NULL, NULL, NULL, '2024-04-29', 4, NULL, '2024-04-26 23:04:05', '2024-04-26 23:04:05', 0);
-INSERT INTO `att_attendance` VALUES (296, 1, NULL, NULL, NULL, NULL, '2024-04-30', 4, NULL, '2024-04-26 23:04:05', '2024-04-26 23:04:05', 0);
-INSERT INTO `att_attendance` VALUES (297, 2, NULL, NULL, NULL, NULL, '2024-04-30', 4, NULL, '2024-04-26 23:04:06', '2024-04-26 23:04:06', 0);
-INSERT INTO `att_attendance` VALUES (298, 2, NULL, NULL, NULL, NULL, '2024-05-01', 4, NULL, '2024-04-26 23:04:06', '2024-04-26 23:04:06', 0);
-INSERT INTO `att_attendance` VALUES (299, 2, NULL, NULL, NULL, NULL, '2024-05-02', 4, NULL, '2024-04-26 23:04:06', '2024-04-26 23:04:06', 0);
-INSERT INTO `att_attendance` VALUES (300, 2, NULL, NULL, NULL, NULL, '2024-05-03', 4, NULL, '2024-04-26 23:04:06', '2024-04-26 23:04:06', 0);
-INSERT INTO `att_attendance` VALUES (301, 12, NULL, NULL, NULL, NULL, '2024-04-30', 4, NULL, '2024-04-26 23:04:07', '2024-04-26 23:04:07', 0);
-INSERT INTO `att_attendance` VALUES (302, 12, NULL, NULL, NULL, NULL, '2024-05-01', 4, NULL, '2024-04-26 23:04:07', '2024-04-26 23:04:07', 0);
-INSERT INTO `att_attendance` VALUES (303, 12, NULL, NULL, NULL, NULL, '2024-05-02', 4, NULL, '2024-04-26 23:04:07', '2024-04-26 23:04:07', 0);
-INSERT INTO `att_attendance` VALUES (308, 1, NULL, NULL, NULL, NULL, '2024-05-06', 4, NULL, '2024-04-28 19:10:08', '2024-04-28 19:10:08', 0);
-INSERT INTO `att_attendance` VALUES (309, 1, NULL, NULL, NULL, NULL, '2024-05-07', 4, NULL, '2024-04-28 19:10:08', '2024-04-28 19:10:08', 0);
-INSERT INTO `att_attendance` VALUES (310, 1, NULL, NULL, NULL, NULL, '2024-05-08', 4, NULL, '2024-04-28 19:10:08', '2024-04-28 19:10:08', 0);
-INSERT INTO `att_attendance` VALUES (311, 1, NULL, NULL, NULL, NULL, '2024-05-09', 4, NULL, '2024-04-28 19:10:08', '2024-04-28 19:10:08', 0);
-INSERT INTO `att_attendance` VALUES (312, 3, NULL, NULL, NULL, NULL, '2025-04-02', 4, NULL, '2024-04-28 22:12:29', '2024-04-28 22:12:29', 0);
-INSERT INTO `att_attendance` VALUES (313, 3, NULL, NULL, NULL, NULL, '2025-04-03', 4, NULL, '2024-04-28 22:12:29', '2024-04-28 22:12:29', 0);
-INSERT INTO `att_attendance` VALUES (314, 3, NULL, NULL, NULL, NULL, '2025-04-04', 4, NULL, '2024-04-28 22:12:29', '2024-04-28 22:12:29', 0);
-INSERT INTO `att_attendance` VALUES (315, 3, NULL, NULL, NULL, NULL, '2025-04-07', 4, NULL, '2024-04-28 22:12:29', '2024-04-28 22:12:29', 0);
-
--- ----------------------------
--- Table structure for att_leave
--- ----------------------------
-DROP TABLE IF EXISTS `att_leave`;
-CREATE TABLE `att_leave` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `dept_id` int NULL DEFAULT NULL COMMENT '部门id',
- `days` int UNSIGNED NULL DEFAULT NULL COMMENT '休假天数',
- `type_num` tinyint UNSIGNED NULL DEFAULT NULL COMMENT '休假类型',
- `status` tinyint UNSIGNED NULL DEFAULT 1 COMMENT '0禁用,1正常,默认1',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '请假表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of att_leave
--- ----------------------------
-INSERT INTO `att_leave` VALUES (1, 2, 40, 1, 1, NULL, '2022-03-26 11:53:04', '2022-03-26 11:53:46', 0);
-INSERT INTO `att_leave` VALUES (2, 2, 4, 2, 0, NULL, '2022-03-26 12:00:32', '2022-03-26 12:00:32', 0);
-INSERT INTO `att_leave` VALUES (3, 3, 4, 1, 1, NULL, '2022-03-27 08:58:39', '2024-03-22 21:59:15', 0);
-INSERT INTO `att_leave` VALUES (4, 3, 5, 4, 1, NULL, '2022-03-27 08:58:46', '2024-03-22 22:00:38', 0);
-INSERT INTO `att_leave` VALUES (5, 3, 4, 5, 1, NULL, '2022-03-27 08:58:58', '2024-03-22 21:59:19', 0);
-INSERT INTO `att_leave` VALUES (6, 2, 3, 4, 0, NULL, '2022-03-27 12:03:52', '2022-03-27 12:03:52', 0);
-INSERT INTO `att_leave` VALUES (7, 2, 10, 0, 1, NULL, '2022-03-27 12:05:14', '2022-12-30 11:02:33', 0);
-INSERT INTO `att_leave` VALUES (8, 2, 4, 3, 1, NULL, '2022-03-27 13:50:04', '2022-03-27 13:50:04', 0);
-INSERT INTO `att_leave` VALUES (9, 5, 10, 2, 1, NULL, '2022-04-08 20:22:36', '2022-04-08 20:22:36', 0);
-INSERT INTO `att_leave` VALUES (10, 5, 10, 4, 0, NULL, '2022-04-08 20:22:49', '2022-04-08 20:22:49', 0);
-INSERT INTO `att_leave` VALUES (11, 5, 10, 0, 1, NULL, '2022-04-08 20:23:01', '2022-12-30 11:02:38', 0);
-INSERT INTO `att_leave` VALUES (12, 5, 30, 1, 0, NULL, '2022-05-06 15:21:20', '2022-05-06 15:21:20', 0);
-INSERT INTO `att_leave` VALUES (13, 5, 10, 3, 1, NULL, '2022-05-06 15:21:34', '2022-05-06 15:21:34', 0);
-INSERT INTO `att_leave` VALUES (14, 12, 10, 2, 1, NULL, '2022-05-06 17:33:14', '2022-05-06 17:33:14', 0);
-INSERT INTO `att_leave` VALUES (15, 12, 10, 4, 1, NULL, '2022-05-06 17:33:27', '2023-01-02 21:11:58', 0);
-INSERT INTO `att_leave` VALUES (16, 12, 8, 0, 1, NULL, '2022-05-06 17:33:36', '2022-12-30 11:02:41', 0);
-INSERT INTO `att_leave` VALUES (17, 2, 2, 5, 1, NULL, '2023-01-01 19:49:15', '2023-01-01 19:49:45', 0);
-INSERT INTO `att_leave` VALUES (18, 12, 3, 6, 1, NULL, '2024-03-22 22:30:05', '2024-03-22 22:30:05', 0);
-INSERT INTO `att_leave` VALUES (19, 12, 10, 3, 1, NULL, '2024-04-27 09:33:14', '2024-04-27 09:33:14', 0);
-INSERT INTO `att_leave` VALUES (20, 12, 15, 5, 1, NULL, '2024-04-27 09:34:13', '2024-04-27 09:34:13', 0);
-INSERT INTO `att_leave` VALUES (21, 13, 10, 0, 1, NULL, '2024-04-27 09:34:56', '2024-04-27 09:34:56', 0);
-INSERT INTO `att_leave` VALUES (22, 13, 7, 3, 1, NULL, '2024-04-27 09:35:05', '2024-04-27 09:35:05', 0);
-INSERT INTO `att_leave` VALUES (23, 13, 10, 4, 1, NULL, '2024-04-27 09:35:15', '2024-04-27 09:35:15', 0);
-
--- ----------------------------
--- Table structure for att_overtime
--- ----------------------------
-DROP TABLE IF EXISTS `att_overtime`;
-CREATE TABLE `att_overtime` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `salary_multiple` decimal(5, 2) NULL DEFAULT NULL COMMENT '工资倍数,如按照小时计算,就是员工平均小时工资乘以倍数',
- `bonus` decimal(10, 3) UNSIGNED NOT NULL DEFAULT 0.000 COMMENT '加班奖金',
- `type_num` tinyint NULL DEFAULT NULL COMMENT '加班类型,0工作日加班,1节假日加班,2休息日加班',
- `dept_id` int NULL DEFAULT NULL COMMENT '部门id',
- `count_type` tinyint NULL DEFAULT NULL COMMENT '0小时,1天,默认0,计数加班工资的类型',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0,
- `is_time_off` tinyint UNSIGNED NULL DEFAULT NULL COMMENT '休息日加班是否调休,0不补休,1补休,默认0',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '加班表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of att_overtime
--- ----------------------------
-INSERT INTO `att_overtime` VALUES (1, 4.00, 200.000, 1, 2, 1, NULL, '2022-03-28 19:16:06', '2024-03-21 12:06:11', 0, 0);
-INSERT INTO `att_overtime` VALUES (3, 3.00, 0.000, 1, 5, 0, NULL, '2022-03-28 22:24:08', '2024-03-21 12:06:12', 0, 0);
-INSERT INTO `att_overtime` VALUES (4, 2.00, 0.000, 2, 5, 1, NULL, '2022-03-28 22:26:03', '2022-03-28 22:26:03', 0, 0);
-INSERT INTO `att_overtime` VALUES (5, 2.00, 0.000, 2, 2, 1, NULL, '2022-03-28 22:28:01', '2024-03-21 14:44:58', 0, 0);
-INSERT INTO `att_overtime` VALUES (7, 2.00, 150.000, 0, 2, 0, NULL, '2023-02-14 20:44:26', '2024-03-21 12:06:17', 0, 0);
-INSERT INTO `att_overtime` VALUES (8, 1.50, 70.000, 0, 12, 0, NULL, '2024-03-21 11:48:43', '2024-03-21 11:48:43', 0, 0);
-INSERT INTO `att_overtime` VALUES (9, 3.00, 100.000, 1, 12, 1, NULL, '2024-03-21 11:50:15', '2024-03-21 11:50:15', 0, 0);
-INSERT INTO `att_overtime` VALUES (10, 2.00, 0.000, 2, 12, 0, NULL, '2024-03-21 11:50:49', '2024-03-21 14:45:35', 0, 1);
-INSERT INTO `att_overtime` VALUES (11, 1.60, 0.000, 0, 5, 0, NULL, '2024-03-21 11:52:13', '2024-03-21 14:33:51', 0, 0);
-INSERT INTO `att_overtime` VALUES (12, 1.50, 100.000, 0, 9, 1, NULL, '2024-03-21 11:59:30', '2024-03-21 11:59:30', 0, 0);
-INSERT INTO `att_overtime` VALUES (13, 3.00, 120.000, 1, 9, 1, NULL, '2024-03-21 12:00:36', '2024-03-21 12:00:36', 0, 0);
-INSERT INTO `att_overtime` VALUES (14, 2.00, 80.000, 2, 9, 0, NULL, '2024-03-21 12:01:17', '2024-03-21 12:01:17', 0, 0);
-INSERT INTO `att_overtime` VALUES (15, 1.50, 90.000, 0, 3, 0, NULL, '2024-03-21 12:02:42', '2024-03-21 12:02:42', 0, 0);
-INSERT INTO `att_overtime` VALUES (16, 3.00, 80.000, 1, 3, 0, NULL, '2024-03-21 12:02:58', '2024-03-21 12:02:58', 0, 0);
-INSERT INTO `att_overtime` VALUES (17, 2.00, 0.000, 2, 3, 0, NULL, '2024-03-21 12:03:07', '2024-03-21 14:46:22', 0, 1);
-INSERT INTO `att_overtime` VALUES (18, 1.50, 80.000, 0, 6, 0, NULL, '2024-03-21 19:45:33', '2024-03-21 19:45:33', 0, 0);
-INSERT INTO `att_overtime` VALUES (19, 3.00, 80.000, 1, 6, 0, NULL, '2024-03-21 19:45:33', '2024-03-21 19:45:33', 0, 0);
-INSERT INTO `att_overtime` VALUES (20, 2.00, 80.000, 2, 6, 0, NULL, '2024-03-21 19:45:33', '2024-03-21 19:45:33', 0, 0);
-INSERT INTO `att_overtime` VALUES (21, 1.50, 80.000, 0, 8, 0, NULL, '2024-03-21 19:48:24', '2024-03-21 19:48:24', 0, 0);
-INSERT INTO `att_overtime` VALUES (22, 3.00, 80.000, 1, 8, 0, NULL, '2024-03-21 19:48:24', '2024-03-21 19:48:24', 0, 0);
-INSERT INTO `att_overtime` VALUES (23, 2.00, 80.000, 2, 8, 0, NULL, '2024-03-21 19:48:24', '2024-03-21 19:48:24', 0, 0);
-INSERT INTO `att_overtime` VALUES (24, 1.50, 90.000, 0, 10, 0, NULL, '2024-03-21 19:49:30', '2024-03-21 19:49:30', 0, 0);
-INSERT INTO `att_overtime` VALUES (25, 3.00, 90.000, 1, 10, 0, NULL, '2024-03-21 19:49:30', '2024-03-21 19:49:30', 0, 0);
-INSERT INTO `att_overtime` VALUES (26, 2.00, 90.000, 2, 10, 0, NULL, '2024-03-21 19:49:30', '2024-03-21 19:49:30', 0, 0);
-INSERT INTO `att_overtime` VALUES (27, 1.50, 95.000, 0, 13, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (28, 3.00, 95.000, 1, 13, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (29, 2.00, 95.000, 2, 13, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (30, 1.50, 90.000, 0, 14, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (31, 3.00, 90.000, 1, 14, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (32, 2.00, 90.000, 2, 14, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (33, 1.50, 80.000, 0, 15, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (34, 3.00, 95.000, 1, 15, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (35, 2.00, 90.000, 2, 15, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (36, 1.50, 80.000, 0, 17, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (37, 3.00, 90.000, 1, 17, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (38, 2.00, 90.000, 2, 17, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (39, 1.50, 90.000, 0, 18, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (40, 3.00, 80.000, 1, 18, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (41, 2.00, 90.000, 2, 18, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (42, 1.50, 90.000, 0, 19, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (43, 3.00, 70.000, 1, 19, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (44, 2.00, 90.000, 2, 19, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (45, 1.50, 90.000, 0, 20, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (46, 3.00, 95.000, 1, 20, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-INSERT INTO `att_overtime` VALUES (47, 2.00, 90.000, 2, 20, 0, NULL, '2024-03-21 19:55:28', '2024-03-21 19:55:28', 0, 0);
-
--- ----------------------------
--- Table structure for att_staff_leave
--- ----------------------------
-DROP TABLE IF EXISTS `att_staff_leave`;
-CREATE TABLE `att_staff_leave` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `staff_id` int NULL DEFAULT NULL COMMENT '员工id',
- `days` int NULL DEFAULT NULL COMMENT '请假的天数',
- `type_num` tinyint NULL DEFAULT NULL COMMENT '请假类型',
- `start_date` date NULL DEFAULT NULL COMMENT '请假的开始日期',
- `status` tinyint UNSIGNED NULL DEFAULT 0 COMMENT '0待审核,1审核通过,2驳回,3撤销,4审核中',
- `audit_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审批意见',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工请假表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of att_staff_leave
--- ----------------------------
-INSERT INTO `att_staff_leave` VALUES (67, 1, 7, 5, '2024-04-30', 1, NULL, NULL, '2024-04-28 19:25:36', '2024-04-28 19:26:12', 0);
-INSERT INTO `att_staff_leave` VALUES (68, 1, 6, 0, '2024-04-30', 3, '厉害!', NULL, '2024-04-28 19:29:31', '2024-04-28 21:43:52', 1);
-INSERT INTO `att_staff_leave` VALUES (69, 1, 10, 3, '2024-04-30', 3, NULL, NULL, '2024-04-28 21:43:35', '2024-04-28 21:43:35', 0);
-INSERT INTO `att_staff_leave` VALUES (70, 1, 6, 5, '2024-05-02', 1, NULL, NULL, '2024-04-28 21:44:26', '2024-04-28 21:44:44', 0);
-INSERT INTO `att_staff_leave` VALUES (71, 1, 5, 0, '2024-04-30', 4, NULL, NULL, '2024-04-28 21:46:31', '2024-04-28 22:21:19', 0);
-INSERT INTO `att_staff_leave` VALUES (72, 2, 4, 0, '2024-04-30', 4, NULL, NULL, '2024-04-28 22:07:34', '2024-04-28 22:08:32', 0);
-INSERT INTO `att_staff_leave` VALUES (73, 3, 6, 3, '2025-04-02', 1, NULL, NULL, '2024-04-28 22:08:03', '2024-04-28 22:12:28', 0);
-INSERT INTO `att_staff_leave` VALUES (74, 5, 10, 3, '2024-04-30', 0, NULL, NULL, '2024-04-28 22:21:55', '2024-04-28 22:21:55', 0);
-
--- ----------------------------
--- Table structure for att_staff_overtime
--- ----------------------------
-DROP TABLE IF EXISTS `att_staff_overtime`;
-CREATE TABLE `att_staff_overtime` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `staff_id` int NULL DEFAULT NULL COMMENT '员工id',
- `mor_start_time` time NULL DEFAULT NULL COMMENT '上午上班时间',
- `mor_end_time` time NULL DEFAULT NULL COMMENT '上午下班时间',
- `aft_start_time` time NULL DEFAULT NULL COMMENT '下午上班时间',
- `aft_end_time` time NULL DEFAULT NULL COMMENT '下午下班时间',
- `overtime_date` date NOT NULL COMMENT '加班日期',
- `total_overtime` decimal(3, 1) NULL DEFAULT NULL COMMENT '加班时长',
- `overtime_salary` decimal(10, 3) NULL DEFAULT NULL COMMENT '加班工资',
- `type_num` tinyint NULL DEFAULT NULL COMMENT '加班类型,0工作日加班、1节假日加班、2休息日加班',
- `status` tinyint NULL DEFAULT NULL COMMENT '加班状态,0正常、1加班、2调休',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 302 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工加班表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of att_staff_overtime
--- ----------------------------
-INSERT INTO `att_staff_overtime` VALUES (278, 1, '06:00:00', '12:00:00', '13:00:55', '18:00:16', '2023-07-08', 11.0, 0.000, 2, 2, NULL, '2024-03-21 14:35:25', '2024-03-22 23:37:32', 1);
-INSERT INTO `att_staff_overtime` VALUES (279, 1, '07:30:00', '11:30:00', '13:30:00', '18:00:00', '2023-07-09', 8.5, 0.000, 2, 2, NULL, '2024-03-21 14:35:25', '2024-03-23 08:52:27', 1);
-INSERT INTO `att_staff_overtime` VALUES (280, 1, '06:50:00', '12:00:00', '13:00:00', '17:00:16', '2023-07-10', 9.2, 860.609, 0, 1, NULL, '2024-03-21 14:35:25', '2024-03-21 14:35:25', 0);
-INSERT INTO `att_staff_overtime` VALUES (281, 1, '09:00:00', '10:30:00', '13:01:55', '16:00:16', '2023-07-11', 4.5, 455.559, 0, 1, NULL, '2024-03-21 14:35:25', '2024-03-21 14:35:25', 0);
-INSERT INTO `att_staff_overtime` VALUES (282, 2, '06:45:00', '11:40:00', '13:10:55', '16:30:16', '2023-07-08', 8.2, 1103.448, 2, 1, NULL, '2024-03-21 14:35:25', '2024-04-05 15:53:20', 0);
-INSERT INTO `att_staff_overtime` VALUES (283, 2, '07:00:00', '12:35:00', '13:12:55', '19:20:16', '2023-07-09', 11.7, 1103.448, 2, 1, NULL, '2024-03-21 14:35:25', '2024-03-21 14:35:25', 0);
-INSERT INTO `att_staff_overtime` VALUES (284, 2, '07:40:00', '12:20:00', '13:09:55', '18:10:16', '2023-07-10', 9.7, 1067.318, 0, 1, NULL, '2024-03-21 14:35:25', '2024-04-05 15:50:49', 0);
-INSERT INTO `att_staff_overtime` VALUES (285, 3, '07:34:00', '12:10:00', '15:11:55', '21:00:16', '2023-07-08', 10.4, 1515.297, 2, 1, NULL, '2024-03-21 14:35:25', '2024-04-05 15:53:20', 0);
-INSERT INTO `att_staff_overtime` VALUES (286, 3, '06:12:00', '11:00:00', '13:01:55', '16:00:16', '2023-07-09', 7.8, 1152.076, 2, 1, NULL, '2024-03-21 14:35:25', '2024-04-05 15:50:49', 0);
-INSERT INTO `att_staff_overtime` VALUES (287, 3, '07:00:00', '11:30:00', '13:30:00', '18:00:00', '2023-07-10', 9.0, 927.586, 0, 1, NULL, '2024-03-21 14:35:26', '2024-04-05 15:53:20', 0);
-INSERT INTO `att_staff_overtime` VALUES (288, 3, '07:20:00', '12:30:00', '13:00:00', '18:00:16', '2023-07-11', 10.2, 927.586, 0, 1, NULL, '2024-03-21 14:35:26', '2024-03-21 14:35:26', 0);
-INSERT INTO `att_staff_overtime` VALUES (289, 4, '08:00:00', '11:00:00', '13:01:55', '16:00:16', '2023-07-08', 6.0, 0.000, 2, 1, NULL, '2024-03-21 14:35:26', '2024-03-22 20:06:41', 0);
-INSERT INTO `att_staff_overtime` VALUES (290, 4, '09:30:00', '10:40:00', '13:10:55', '16:30:16', '2023-07-09', 4.5, 0.000, 2, 1, NULL, '2024-03-21 14:35:26', '2024-03-22 20:06:44', 0);
-INSERT INTO `att_staff_overtime` VALUES (291, 4, '05:00:00', '12:35:00', '13:00:55', '19:20:16', '2023-07-10', 13.9, 1648.420, 0, 1, NULL, '2024-03-21 14:35:26', '2024-03-21 14:35:26', 0);
-INSERT INTO `att_staff_overtime` VALUES (292, 4, '05:40:00', '13:00:00', '13:00:55', '18:10:16', '2023-07-11', 12.5, 1489.655, 0, 1, NULL, '2024-03-21 14:35:26', '2024-03-21 14:35:26', 0);
-INSERT INTO `att_staff_overtime` VALUES (293, 1, NULL, NULL, NULL, NULL, '2024-03-03', 9.0, 0.000, 2, 2, NULL, '2024-03-22 17:25:08', '2024-03-23 13:06:53', 1);
-INSERT INTO `att_staff_overtime` VALUES (294, 2, NULL, NULL, NULL, NULL, '2024-03-01', 3.0, 331.037, 0, 1, NULL, '2024-03-22 17:39:35', '2024-03-22 17:39:35', 0);
-INSERT INTO `att_staff_overtime` VALUES (295, 1, NULL, NULL, NULL, NULL, '2024-03-05', 3.0, 328.620, 0, 1, NULL, '2024-03-22 18:00:46', '2024-03-22 18:00:46', 0);
-INSERT INTO `att_staff_overtime` VALUES (296, 1, NULL, NULL, NULL, NULL, '2024-03-06', 1.0, 0.000, 0, 1, NULL, '2024-03-22 18:06:34', '2024-03-22 18:06:34', 0);
-INSERT INTO `att_staff_overtime` VALUES (297, 1, NULL, NULL, NULL, NULL, '2024-03-09', 7.0, 0.000, 2, 1, NULL, '2024-03-23 08:54:18', '2024-03-23 08:54:18', 0);
-INSERT INTO `att_staff_overtime` VALUES (298, 1, NULL, NULL, NULL, NULL, '2024-03-10', 8.0, 0.000, 2, 2, NULL, '2024-03-23 08:54:26', '2024-03-23 13:06:53', 1);
-INSERT INTO `att_staff_overtime` VALUES (299, 1, '06:00:00', '12:00:00', '13:00:55', '18:00:16', '2023-07-08', 11.0, 0.000, 2, 2, NULL, '2024-03-23 17:58:34', '2024-04-05 15:54:48', 0);
-INSERT INTO `att_staff_overtime` VALUES (300, 1, '07:30:00', '11:30:00', '13:30:00', '18:00:00', '2023-07-09', 8.5, 0.000, 2, 2, NULL, '2024-03-23 17:58:34', '2024-04-05 15:54:48', 0);
-INSERT INTO `att_staff_overtime` VALUES (301, 1, NULL, NULL, NULL, NULL, '2024-10-03', 7.0, 0.000, 1, 1, NULL, '2024-03-23 19:50:40', '2024-03-23 19:50:40', 0);
-
--- ----------------------------
--- Table structure for per_menu
--- ----------------------------
-DROP TABLE IF EXISTS `per_menu`;
-CREATE TABLE `per_menu` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '菜单id',
- `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单编码',
- `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
- `icon` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `permission` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限标识',
- `parent_id` int UNSIGNED NULL DEFAULT 0 COMMENT '父菜单id,0代表根菜单,默认0',
- `level` tinyint NULL DEFAULT NULL COMMENT '0一级菜单,1二级菜单,2权限点',
- `status` tinyint UNSIGNED NOT NULL DEFAULT 1 COMMENT '权限点是否启用,0禁用、1正常,默认1',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of per_menu
--- ----------------------------
-INSERT INTO `per_menu` VALUES (1, 'staff', '员工管理', 'user', 'system:staff:list', 5, 1, 1, NULL, '2022-02-22 19:47:58', '2024-04-11 16:50:00', 0);
-INSERT INTO `per_menu` VALUES (2, 'docs', '文件管理', 'folder', 'system:docs:list', 5, 1, 1, NULL, '2022-12-22 19:48:47', '2024-04-11 16:50:07', 0);
-INSERT INTO `per_menu` VALUES (3, 'role', '角色管理', 's-custom', 'permission:role:list', 6, 1, 1, '', '2022-10-22 19:49:42', '2024-04-11 16:50:18', 0);
-INSERT INTO `per_menu` VALUES (4, 'menu', '菜单管理', 'collection', 'permission:menu:list', 6, 1, 1, NULL, '2022-01-27 14:32:37', '2024-04-11 16:50:27', 0);
-INSERT INTO `per_menu` VALUES (5, 'system', '系统管理', 's-management', '', 0, 0, 1, '', '2022-01-27 14:36:17', '2024-04-11 16:53:43', 0);
-INSERT INTO `per_menu` VALUES (6, 'permission', '权限管理', 's-cooperation\r\n', NULL, 0, 0, 1, NULL, '2022-11-20 18:00:21', '2024-04-10 14:49:53', 0);
-INSERT INTO `per_menu` VALUES (13, 'department', '部门管理', 's-operation', 'system:department:list', 5, 1, 1, NULL, '2022-03-07 15:36:59', '2024-04-11 16:50:38', 0);
-INSERT INTO `per_menu` VALUES (14, 'performance', '考勤管理', 's-check', NULL, 0, 0, 1, NULL, '2022-03-21 23:30:38', '2024-04-10 19:00:51', 0);
-INSERT INTO `per_menu` VALUES (15, 'insurance', '五险一金', 's-data', 'money:insurance:list', 17, 1, 1, NULL, '2022-03-21 23:33:59', '2024-04-11 16:50:53', 0);
-INSERT INTO `per_menu` VALUES (16, 'salary', '薪资管理', 'data-line', 'money:salary:list', 17, 1, 1, NULL, '2022-03-21 23:34:56', '2024-04-11 16:51:00', 0);
-INSERT INTO `per_menu` VALUES (17, 'money', '财务管理', 's-finance\r\n', NULL, 0, 0, 1, NULL, '2022-03-22 11:42:06', '2024-04-10 14:49:53', 0);
-INSERT INTO `per_menu` VALUES (18, 'city', '参保城市', 'coordinate\r\n', 'money:city:list', 17, 1, 1, NULL, '2022-03-22 18:27:13', '2024-04-11 16:51:11', 0);
-INSERT INTO `per_menu` VALUES (19, 'leave', '请假审批', 'suitcase', 'performance:leave:list', 14, 1, 1, NULL, '2022-03-26 09:40:15', '2024-04-11 16:51:30', 0);
-INSERT INTO `per_menu` VALUES (20, 'attendance', '考勤表现', 'reading', 'performance:attendance:list', 14, 1, 1, NULL, '2022-03-26 09:46:24', '2024-04-11 16:51:33', 0);
-INSERT INTO `per_menu` VALUES (21, 'overtime', '加班详情', 'time', 'performance:overtime:list', 14, 1, 1, NULL, '2024-03-20 19:21:16', '2024-04-11 16:51:38', 0);
-INSERT INTO `per_menu` VALUES (23, 'staff_add', '新增员工', 'circle-plus-outline', 'system:staff:add', 1, 2, 1, NULL, '2024-04-10 16:22:46', '2024-04-10 18:06:53', 0);
-INSERT INTO `per_menu` VALUES (24, 'staff_delete', '删除员工', 'remove-outline', 'system:staff:delete', 1, 2, 1, NULL, '2024-04-10 16:24:27', '2024-04-10 18:14:05', 0);
-INSERT INTO `per_menu` VALUES (25, 'staff_edit', '员工信息编辑', 'edit', 'system:staff:edit', 1, 2, 1, NULL, '2024-04-10 16:25:19', '2024-04-10 18:14:11', 0);
-INSERT INTO `per_menu` VALUES (26, 'staff_search', '查询', 'search', 'system:staff:search', 1, 2, 1, NULL, '2024-04-10 16:26:07', '2024-04-13 11:23:46', 0);
-INSERT INTO `per_menu` VALUES (27, 'staff_import', '数据导入', 'bottom', 'system:staff:import', 1, 2, 1, NULL, '2024-04-10 16:27:05', '2024-04-10 18:04:56', 0);
-INSERT INTO `per_menu` VALUES (28, 'staff_export', '数据导出', 'top', 'system:staff:export', 1, 2, 1, NULL, '2024-04-10 16:27:34', '2024-04-10 18:04:48', 0);
-INSERT INTO `per_menu` VALUES (33, 'docs_delete', '文件删除', 'remove-outline', 'system:docs:delete', 2, 2, 1, NULL, '2024-04-10 16:24:27', '2024-04-10 18:24:12', 0);
-INSERT INTO `per_menu` VALUES (34, 'docs_edit', '编辑', 'edit', 'system:docs:edit', 2, 2, 1, NULL, '2024-04-10 16:25:19', '2024-04-10 18:24:20', 0);
-INSERT INTO `per_menu` VALUES (35, 'docs_search', '查询', 'search', 'system:docs:search', 2, 2, 1, NULL, '2024-04-10 16:26:07', '2024-04-13 11:23:39', 0);
-INSERT INTO `per_menu` VALUES (36, 'docs_import', '导入', 'bottom', 'system:docs:import', 2, 2, 1, NULL, '2024-04-10 16:27:05', '2024-04-10 18:24:33', 0);
-INSERT INTO `per_menu` VALUES (37, 'docs_export', '导出', 'top', 'system:docs:export', 2, 2, 1, NULL, '2024-04-10 16:27:34', '2024-04-10 18:24:40', 0);
-INSERT INTO `per_menu` VALUES (39, 'docs_upload', '上传', 'upload2', 'system:docs:upload', 2, 2, 1, NULL, '2024-04-10 18:23:41', '2024-04-10 18:26:35', 0);
-INSERT INTO `per_menu` VALUES (40, 'docs_download', '下载', 'download', 'system:docs:download', 2, 2, 1, NULL, '2024-04-10 18:25:24', '2024-04-10 18:26:37', 0);
-INSERT INTO `per_menu` VALUES (41, 'role_edit', '编辑', 'edit', 'permission:role:edit', 3, 2, 1, NULL, '2024-04-10 21:36:15', '2024-04-11 23:03:51', 0);
-INSERT INTO `per_menu` VALUES (42, 'staff_set_role', '分配角色', 's-tools', 'system:staff:set_role', 1, 2, 1, NULL, '2024-04-11 12:02:23', '2024-04-11 22:23:22', 0);
-INSERT INTO `per_menu` VALUES (52, 'staff_enable', '启用禁用', 'open', 'system:staff:enable', 1, 2, 1, NULL, '2024-04-11 22:27:49', '2024-04-11 22:59:57', 0);
-INSERT INTO `per_menu` VALUES (53, 'department_add', '增加部门', 'circle-plus-outline', 'system:department:add', 13, 2, 1, NULL, '2024-04-11 22:32:50', '2024-04-11 22:54:20', 0);
-INSERT INTO `per_menu` VALUES (54, 'department_delete', '删除部门', 'remove-outline', 'system:department:delete', 13, 2, 1, NULL, '2024-04-11 22:39:29', '2024-04-11 22:54:36', 0);
-INSERT INTO `per_menu` VALUES (55, 'department_edit', '编辑', 'edit', 'system:department:edit', 13, 2, 1, NULL, '2024-04-11 22:40:41', '2024-04-11 22:54:56', 0);
-INSERT INTO `per_menu` VALUES (56, 'department_search', '查询', 'search', 'system:department:search', 13, 2, 1, NULL, '2024-04-11 22:42:03', '2024-04-13 11:23:32', 0);
-INSERT INTO `per_menu` VALUES (57, 'department_import', '导入', 'bottom', 'system:department:import', 13, 2, 1, NULL, '2024-04-11 22:43:38', '2024-04-11 22:55:24', 0);
-INSERT INTO `per_menu` VALUES (58, 'department_export', '导出', 'top', 'system:department:export', 13, 2, 1, NULL, '2024-04-11 22:44:16', '2024-04-11 22:55:34', 0);
-INSERT INTO `per_menu` VALUES (59, 'department_setting', '部门设置', 'setting', 'system:department:setting', 13, 2, 1, NULL, '2024-04-11 22:46:56', '2024-04-11 22:56:12', 0);
-INSERT INTO `per_menu` VALUES (60, 'role_add', '增加', 'circle-plus-outline', 'permission:role:add', 3, 2, 1, NULL, '2024-04-11 22:49:53', '2024-04-11 22:56:37', 0);
-INSERT INTO `per_menu` VALUES (61, 'role_delete', '删除', 'remove-outline', 'permission:role:delete', 3, 2, 1, NULL, '2024-04-11 22:50:27', '2024-04-11 22:56:53', 0);
-INSERT INTO `per_menu` VALUES (62, 'role_search', '查询', 'search', 'permission:role:search', 3, 2, 1, NULL, '2024-04-11 22:51:18', '2024-04-13 11:27:05', 0);
-INSERT INTO `per_menu` VALUES (63, 'role_import', '导入', 'bottom', 'permission:role:import', 3, 2, 1, NULL, '2024-04-11 22:51:45', '2024-04-11 22:57:23', 0);
-INSERT INTO `per_menu` VALUES (64, 'role_export', '导出', 'top', 'permission:role:export', 3, 2, 1, NULL, '2024-04-11 22:52:15', '2024-04-11 22:57:28', 0);
-INSERT INTO `per_menu` VALUES (65, 'role_set_menu', '分配权限', 's-tools', 'permission:role:set_menu', 3, 2, 1, NULL, '2024-04-11 22:52:57', '2024-04-11 22:58:50', 0);
-INSERT INTO `per_menu` VALUES (66, 'menu_add', '添加菜单', 'circle-plus-outline', 'permission:menu:add', 4, 2, 1, NULL, '2024-04-12 14:13:27', '2024-04-12 14:17:12', 0);
-INSERT INTO `per_menu` VALUES (67, 'menu_delete', '删除', 'remove-outline', 'permission:menu:delete', 4, 2, 1, NULL, '2024-04-12 14:14:11', '2024-04-12 14:17:34', 0);
-INSERT INTO `per_menu` VALUES (68, 'menu_edit', '编辑', 'edit', 'permission:menu:edit', 4, 2, 1, NULL, '2024-04-12 14:14:41', '2024-04-12 14:17:46', 0);
-INSERT INTO `per_menu` VALUES (69, 'meu_search', '查询', 'search', 'permission:menu:search', 4, 2, 1, NULL, '2024-04-12 14:15:36', '2024-04-13 11:27:01', 0);
-INSERT INTO `per_menu` VALUES (70, 'menu_import', '导入', 'bottom', 'permission:menu:import', 4, 2, 1, NULL, '2024-04-12 14:16:21', '2024-04-12 14:18:10', 0);
-INSERT INTO `per_menu` VALUES (71, 'menu_export', '导出', 'top', 'permission:menu:export', 4, 2, 1, NULL, '2024-04-12 14:16:49', '2024-04-12 14:18:18', 0);
-INSERT INTO `per_menu` VALUES (72, 'leave_search', '查询', 'search', 'performance:leave:search', 19, 2, 1, NULL, '2024-04-12 15:10:32', '2024-04-13 11:26:52', 0);
-INSERT INTO `per_menu` VALUES (73, 'leave_import', '导入', 'bottom', 'performance:leave:import', 19, 2, 1, NULL, '2024-04-12 15:11:26', NULL, 0);
-INSERT INTO `per_menu` VALUES (74, 'leave_export', '导出', 'top', 'performance:leave:export', 19, 2, 1, NULL, '2024-04-12 15:12:30', NULL, 0);
-INSERT INTO `per_menu` VALUES (75, 'leave_approve', '审批通过', 'check', 'performance:leave:approve', 19, 2, 1, NULL, '2024-04-12 15:16:39', NULL, 0);
-INSERT INTO `per_menu` VALUES (76, 'leave_reject', '驳回', 'close', 'performance:leave:reject', 19, 2, 1, NULL, '2024-04-12 15:18:31', NULL, 0);
-INSERT INTO `per_menu` VALUES (77, 'attendance_search', '查询', 'search', 'performance:attendance:search', 20, 2, 1, NULL, '2024-04-12 15:21:03', '2024-04-13 11:26:49', 0);
-INSERT INTO `per_menu` VALUES (78, 'attendance_import', '导入', 'bottom', 'performance:attendance:import', 20, 2, 1, NULL, '2024-04-12 15:23:56', NULL, 0);
-INSERT INTO `per_menu` VALUES (79, 'attendance_export', '导出考勤报表', 'top', 'performance:attendance:export', 20, 2, 1, NULL, '2024-04-12 15:24:45', NULL, 0);
-INSERT INTO `per_menu` VALUES (80, 'attendance_set', '考勤设置', 's-tools', 'performance:attendance:set', 20, 2, 1, NULL, '2024-04-12 15:26:31', NULL, 0);
-INSERT INTO `per_menu` VALUES (81, 'overtime_search', '查询', 'search', 'performance:overtime:search', 21, 2, 1, NULL, '2024-04-12 16:05:54', '2024-04-13 11:26:55', 0);
-INSERT INTO `per_menu` VALUES (82, 'overtime_import', '加班数据导入', 'bottom', 'performance:overtime:import', 21, 2, 1, NULL, '2024-04-12 16:06:54', NULL, 0);
-INSERT INTO `per_menu` VALUES (83, 'overtime_export', '导出', 'top', 'performance:overtime:export', 21, 2, 1, NULL, '2024-04-12 16:07:38', NULL, 0);
-INSERT INTO `per_menu` VALUES (84, 'overtime_set', '加班设置', 's-tools', 'performance:overtime:set', 21, 2, 1, NULL, '2024-04-12 16:10:09', NULL, 0);
-INSERT INTO `per_menu` VALUES (85, 'insurance_set', '设置社保', 's-tools', 'money:insurance:set', 15, 2, 1, NULL, '2024-04-12 16:19:46', '2024-04-13 10:52:32', 0);
-INSERT INTO `per_menu` VALUES (86, 'insurance_search', '查询', 'search', 'money:insurance:search', 15, 2, 1, NULL, '2024-04-12 16:21:03', '2024-04-13 11:26:28', 0);
-INSERT INTO `per_menu` VALUES (87, 'insurance_import', '导入', 'bottom', 'money:insurance:import', 15, 2, 1, NULL, '2024-04-12 16:22:02', NULL, 0);
-INSERT INTO `per_menu` VALUES (88, 'insurance_export', '导出', 'top', 'money:insurance:export', 15, 2, 1, NULL, '2024-04-12 16:22:50', NULL, 0);
-INSERT INTO `per_menu` VALUES (89, 'salary_set', '设置工资', 's-tools', 'money:salary:set', 16, 2, 1, NULL, '2024-04-12 16:24:41', '2024-04-13 11:30:30', 0);
-INSERT INTO `per_menu` VALUES (90, 'salary_search', '查询', 'search', 'money:salary:search', 16, 2, 1, NULL, '2024-04-12 16:25:26', '2024-04-13 11:26:43', 0);
-INSERT INTO `per_menu` VALUES (91, 'salary_import', '导入', 'bottom', 'money:salary:import', 16, 2, 1, NULL, '2024-04-12 16:26:07', NULL, 0);
-INSERT INTO `per_menu` VALUES (92, 'salary_export', '导出', 'top', 'money:salary:export', 16, 2, 1, NULL, '2024-04-12 16:27:06', NULL, 0);
-INSERT INTO `per_menu` VALUES (93, 'city_add', '新增', 'circle-plus-outline', 'money:city:add', 18, 2, 1, NULL, '2024-04-12 16:29:09', NULL, 0);
-INSERT INTO `per_menu` VALUES (94, 'city_delete', '删除', 'remove-outline', 'money:city:delete', 18, 2, 1, NULL, '2024-04-12 16:29:48', NULL, 0);
-INSERT INTO `per_menu` VALUES (95, 'city_edit', '修改', 'edit', 'money:city:edit', 18, 2, 1, NULL, '2024-04-12 16:30:20', NULL, 0);
-INSERT INTO `per_menu` VALUES (96, 'city_search', '查询', 'search', 'money:city:search', 18, 2, 1, NULL, '2024-04-12 16:30:56', '2024-04-13 11:27:54', 0);
-INSERT INTO `per_menu` VALUES (97, 'city_import', '导入', 'bottom', 'money:city:import', 18, 2, 1, NULL, '2024-04-12 16:31:39', NULL, 0);
-INSERT INTO `per_menu` VALUES (98, 'city_export', '导出', 'top', 'money:city:export', 18, 2, 1, NULL, '2024-04-12 16:32:07', NULL, 0);
-INSERT INTO `per_menu` VALUES (99, 'menu_enable', '启用禁用', 'open', 'permission:menu:enable', 4, 2, 1, NULL, '2024-04-12 16:33:57', NULL, 0);
-INSERT INTO `per_menu` VALUES (100, 'leave_claim', '拾取任务', 's-claim', 'performance:leave:claim', 19, 2, 1, NULL, '2024-04-28 21:59:17', NULL, 0);
-INSERT INTO `per_menu` VALUES (101, 'leave_revert', '归还任务', 's-release', 'performance:leave:revert', 19, 2, 1, NULL, '2024-04-28 22:00:15', NULL, 0);
-
--- ----------------------------
--- Table structure for per_role
--- ----------------------------
-DROP TABLE IF EXISTS `per_role`;
-CREATE TABLE `per_role` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '角色id',
- `code` varchar(20) CHARACTER SET utf16 COLLATE utf16_general_ci NULL DEFAULT NULL COMMENT '角色编码',
- `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色名称',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色备注',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工角色表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of per_role
--- ----------------------------
-INSERT INTO `per_role` VALUES (1, 'admin', '管理员', '', '2022-01-22 19:46:27', '2022-04-08 12:32:56', 0);
-INSERT INTO `per_role` VALUES (2, 'manager', '总经理', '', '2022-02-22 19:47:58', '2022-04-08 13:27:28', 0);
-INSERT INTO `per_role` VALUES (3, 'ceo', '首席执行官', '', '2022-02-28 17:08:48', '2022-04-08 14:50:36', 0);
-INSERT INTO `per_role` VALUES (4, 'director_of_sales', '销售总监', '', '2022-03-01 21:57:42', '2022-04-08 14:14:55', 0);
-INSERT INTO `per_role` VALUES (5, 'cto', '首席技术官', NULL, '2022-03-01 21:58:39', '2022-04-08 13:27:30', 0);
-INSERT INTO `per_role` VALUES (6, 'publicity_director', '宣传部长', NULL, '2022-03-01 21:58:54', '2022-04-08 14:14:58', 0);
-INSERT INTO `per_role` VALUES (7, 'hr', '人事经理', NULL, '2022-03-01 21:59:30', '2022-04-08 14:15:00', 0);
-INSERT INTO `per_role` VALUES (8, 'director_of_planning', '企划部总监', NULL, '2022-03-01 21:59:47', '2022-03-28 20:14:00', 0);
-INSERT INTO `per_role` VALUES (9, 'finance_minister', '薪酬总监', NULL, '2022-03-01 22:00:05', '2022-03-28 20:14:05', 0);
-
--- ----------------------------
--- Table structure for per_role_menu
--- ----------------------------
-DROP TABLE IF EXISTS `per_role_menu`;
-CREATE TABLE `per_role_menu` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `role_id` int UNSIGNED NOT NULL COMMENT '角色id',
- `menu_id` int UNSIGNED NOT NULL COMMENT '菜单id',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 3449 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色菜单关系表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of per_role_menu
--- ----------------------------
-INSERT INTO `per_role_menu` VALUES (3031, 3, 1);
-INSERT INTO `per_role_menu` VALUES (3032, 3, 23);
-INSERT INTO `per_role_menu` VALUES (3033, 3, 24);
-INSERT INTO `per_role_menu` VALUES (3034, 3, 25);
-INSERT INTO `per_role_menu` VALUES (3035, 3, 26);
-INSERT INTO `per_role_menu` VALUES (3036, 3, 27);
-INSERT INTO `per_role_menu` VALUES (3037, 3, 28);
-INSERT INTO `per_role_menu` VALUES (3038, 3, 42);
-INSERT INTO `per_role_menu` VALUES (3039, 3, 52);
-INSERT INTO `per_role_menu` VALUES (3040, 3, 33);
-INSERT INTO `per_role_menu` VALUES (3041, 3, 37);
-INSERT INTO `per_role_menu` VALUES (3042, 3, 39);
-INSERT INTO `per_role_menu` VALUES (3043, 3, 40);
-INSERT INTO `per_role_menu` VALUES (3044, 3, 53);
-INSERT INTO `per_role_menu` VALUES (3045, 3, 54);
-INSERT INTO `per_role_menu` VALUES (3046, 3, 55);
-INSERT INTO `per_role_menu` VALUES (3047, 3, 57);
-INSERT INTO `per_role_menu` VALUES (3048, 3, 21);
-INSERT INTO `per_role_menu` VALUES (3049, 3, 81);
-INSERT INTO `per_role_menu` VALUES (3050, 3, 82);
-INSERT INTO `per_role_menu` VALUES (3051, 3, 83);
-INSERT INTO `per_role_menu` VALUES (3052, 3, 84);
-INSERT INTO `per_role_menu` VALUES (3053, 3, 15);
-INSERT INTO `per_role_menu` VALUES (3054, 3, 85);
-INSERT INTO `per_role_menu` VALUES (3055, 3, 86);
-INSERT INTO `per_role_menu` VALUES (3056, 3, 87);
-INSERT INTO `per_role_menu` VALUES (3057, 3, 88);
-INSERT INTO `per_role_menu` VALUES (3058, 3, 89);
-INSERT INTO `per_role_menu` VALUES (3059, 3, 92);
-INSERT INTO `per_role_menu` VALUES (3060, 3, 18);
-INSERT INTO `per_role_menu` VALUES (3061, 3, 93);
-INSERT INTO `per_role_menu` VALUES (3062, 3, 94);
-INSERT INTO `per_role_menu` VALUES (3063, 3, 95);
-INSERT INTO `per_role_menu` VALUES (3064, 3, 96);
-INSERT INTO `per_role_menu` VALUES (3065, 3, 97);
-INSERT INTO `per_role_menu` VALUES (3066, 3, 98);
-INSERT INTO `per_role_menu` VALUES (3067, 3, 5);
-INSERT INTO `per_role_menu` VALUES (3068, 3, 2);
-INSERT INTO `per_role_menu` VALUES (3069, 3, 13);
-INSERT INTO `per_role_menu` VALUES (3070, 3, 14);
-INSERT INTO `per_role_menu` VALUES (3071, 3, 17);
-INSERT INTO `per_role_menu` VALUES (3072, 3, 16);
-INSERT INTO `per_role_menu` VALUES (3073, 4, 23);
-INSERT INTO `per_role_menu` VALUES (3074, 4, 24);
-INSERT INTO `per_role_menu` VALUES (3075, 4, 26);
-INSERT INTO `per_role_menu` VALUES (3076, 4, 27);
-INSERT INTO `per_role_menu` VALUES (3077, 4, 52);
-INSERT INTO `per_role_menu` VALUES (3078, 4, 2);
-INSERT INTO `per_role_menu` VALUES (3079, 4, 33);
-INSERT INTO `per_role_menu` VALUES (3080, 4, 34);
-INSERT INTO `per_role_menu` VALUES (3081, 4, 35);
-INSERT INTO `per_role_menu` VALUES (3082, 4, 36);
-INSERT INTO `per_role_menu` VALUES (3083, 4, 37);
-INSERT INTO `per_role_menu` VALUES (3084, 4, 39);
-INSERT INTO `per_role_menu` VALUES (3085, 4, 40);
-INSERT INTO `per_role_menu` VALUES (3086, 4, 13);
-INSERT INTO `per_role_menu` VALUES (3087, 4, 53);
-INSERT INTO `per_role_menu` VALUES (3088, 4, 54);
-INSERT INTO `per_role_menu` VALUES (3089, 4, 55);
-INSERT INTO `per_role_menu` VALUES (3090, 4, 56);
-INSERT INTO `per_role_menu` VALUES (3091, 4, 57);
-INSERT INTO `per_role_menu` VALUES (3092, 4, 58);
-INSERT INTO `per_role_menu` VALUES (3093, 4, 59);
-INSERT INTO `per_role_menu` VALUES (3094, 4, 20);
-INSERT INTO `per_role_menu` VALUES (3095, 4, 77);
-INSERT INTO `per_role_menu` VALUES (3096, 4, 78);
-INSERT INTO `per_role_menu` VALUES (3097, 4, 79);
-INSERT INTO `per_role_menu` VALUES (3098, 4, 80);
-INSERT INTO `per_role_menu` VALUES (3099, 4, 15);
-INSERT INTO `per_role_menu` VALUES (3100, 4, 85);
-INSERT INTO `per_role_menu` VALUES (3101, 4, 86);
-INSERT INTO `per_role_menu` VALUES (3102, 4, 87);
-INSERT INTO `per_role_menu` VALUES (3103, 4, 88);
-INSERT INTO `per_role_menu` VALUES (3104, 4, 5);
-INSERT INTO `per_role_menu` VALUES (3105, 4, 1);
-INSERT INTO `per_role_menu` VALUES (3106, 4, 14);
-INSERT INTO `per_role_menu` VALUES (3107, 4, 17);
-INSERT INTO `per_role_menu` VALUES (3108, 5, 5);
-INSERT INTO `per_role_menu` VALUES (3109, 5, 1);
-INSERT INTO `per_role_menu` VALUES (3110, 5, 23);
-INSERT INTO `per_role_menu` VALUES (3111, 5, 24);
-INSERT INTO `per_role_menu` VALUES (3112, 5, 25);
-INSERT INTO `per_role_menu` VALUES (3113, 5, 26);
-INSERT INTO `per_role_menu` VALUES (3114, 5, 27);
-INSERT INTO `per_role_menu` VALUES (3115, 5, 28);
-INSERT INTO `per_role_menu` VALUES (3116, 5, 42);
-INSERT INTO `per_role_menu` VALUES (3117, 5, 52);
-INSERT INTO `per_role_menu` VALUES (3118, 5, 2);
-INSERT INTO `per_role_menu` VALUES (3119, 5, 33);
-INSERT INTO `per_role_menu` VALUES (3120, 5, 34);
-INSERT INTO `per_role_menu` VALUES (3121, 5, 35);
-INSERT INTO `per_role_menu` VALUES (3122, 5, 36);
-INSERT INTO `per_role_menu` VALUES (3123, 5, 37);
-INSERT INTO `per_role_menu` VALUES (3124, 5, 39);
-INSERT INTO `per_role_menu` VALUES (3125, 5, 40);
-INSERT INTO `per_role_menu` VALUES (3126, 5, 13);
-INSERT INTO `per_role_menu` VALUES (3127, 5, 53);
-INSERT INTO `per_role_menu` VALUES (3128, 5, 54);
-INSERT INTO `per_role_menu` VALUES (3129, 5, 55);
-INSERT INTO `per_role_menu` VALUES (3130, 5, 56);
-INSERT INTO `per_role_menu` VALUES (3131, 5, 57);
-INSERT INTO `per_role_menu` VALUES (3132, 5, 58);
-INSERT INTO `per_role_menu` VALUES (3133, 5, 59);
-INSERT INTO `per_role_menu` VALUES (3134, 5, 14);
-INSERT INTO `per_role_menu` VALUES (3135, 5, 19);
-INSERT INTO `per_role_menu` VALUES (3136, 5, 72);
-INSERT INTO `per_role_menu` VALUES (3137, 5, 73);
-INSERT INTO `per_role_menu` VALUES (3138, 5, 74);
-INSERT INTO `per_role_menu` VALUES (3139, 5, 75);
-INSERT INTO `per_role_menu` VALUES (3140, 5, 76);
-INSERT INTO `per_role_menu` VALUES (3141, 5, 20);
-INSERT INTO `per_role_menu` VALUES (3142, 5, 77);
-INSERT INTO `per_role_menu` VALUES (3143, 5, 78);
-INSERT INTO `per_role_menu` VALUES (3144, 5, 79);
-INSERT INTO `per_role_menu` VALUES (3145, 5, 80);
-INSERT INTO `per_role_menu` VALUES (3146, 5, 21);
-INSERT INTO `per_role_menu` VALUES (3147, 5, 81);
-INSERT INTO `per_role_menu` VALUES (3148, 5, 82);
-INSERT INTO `per_role_menu` VALUES (3149, 5, 83);
-INSERT INTO `per_role_menu` VALUES (3150, 5, 84);
-INSERT INTO `per_role_menu` VALUES (3151, 6, 5);
-INSERT INTO `per_role_menu` VALUES (3152, 6, 1);
-INSERT INTO `per_role_menu` VALUES (3153, 6, 23);
-INSERT INTO `per_role_menu` VALUES (3154, 6, 24);
-INSERT INTO `per_role_menu` VALUES (3155, 6, 25);
-INSERT INTO `per_role_menu` VALUES (3156, 6, 26);
-INSERT INTO `per_role_menu` VALUES (3157, 6, 27);
-INSERT INTO `per_role_menu` VALUES (3158, 6, 28);
-INSERT INTO `per_role_menu` VALUES (3159, 6, 42);
-INSERT INTO `per_role_menu` VALUES (3160, 6, 52);
-INSERT INTO `per_role_menu` VALUES (3161, 6, 2);
-INSERT INTO `per_role_menu` VALUES (3162, 6, 33);
-INSERT INTO `per_role_menu` VALUES (3163, 6, 34);
-INSERT INTO `per_role_menu` VALUES (3164, 6, 35);
-INSERT INTO `per_role_menu` VALUES (3165, 6, 36);
-INSERT INTO `per_role_menu` VALUES (3166, 6, 37);
-INSERT INTO `per_role_menu` VALUES (3167, 6, 39);
-INSERT INTO `per_role_menu` VALUES (3168, 6, 40);
-INSERT INTO `per_role_menu` VALUES (3169, 6, 13);
-INSERT INTO `per_role_menu` VALUES (3170, 6, 53);
-INSERT INTO `per_role_menu` VALUES (3171, 6, 54);
-INSERT INTO `per_role_menu` VALUES (3172, 6, 55);
-INSERT INTO `per_role_menu` VALUES (3173, 6, 56);
-INSERT INTO `per_role_menu` VALUES (3174, 6, 57);
-INSERT INTO `per_role_menu` VALUES (3175, 6, 58);
-INSERT INTO `per_role_menu` VALUES (3176, 6, 59);
-INSERT INTO `per_role_menu` VALUES (3177, 6, 17);
-INSERT INTO `per_role_menu` VALUES (3178, 6, 15);
-INSERT INTO `per_role_menu` VALUES (3179, 6, 85);
-INSERT INTO `per_role_menu` VALUES (3180, 6, 86);
-INSERT INTO `per_role_menu` VALUES (3181, 6, 87);
-INSERT INTO `per_role_menu` VALUES (3182, 6, 88);
-INSERT INTO `per_role_menu` VALUES (3183, 6, 16);
-INSERT INTO `per_role_menu` VALUES (3184, 6, 89);
-INSERT INTO `per_role_menu` VALUES (3185, 6, 90);
-INSERT INTO `per_role_menu` VALUES (3186, 6, 91);
-INSERT INTO `per_role_menu` VALUES (3187, 6, 92);
-INSERT INTO `per_role_menu` VALUES (3188, 6, 18);
-INSERT INTO `per_role_menu` VALUES (3189, 6, 93);
-INSERT INTO `per_role_menu` VALUES (3190, 6, 94);
-INSERT INTO `per_role_menu` VALUES (3191, 6, 95);
-INSERT INTO `per_role_menu` VALUES (3192, 6, 96);
-INSERT INTO `per_role_menu` VALUES (3193, 6, 97);
-INSERT INTO `per_role_menu` VALUES (3194, 6, 98);
-INSERT INTO `per_role_menu` VALUES (3221, 8, 14);
-INSERT INTO `per_role_menu` VALUES (3222, 8, 19);
-INSERT INTO `per_role_menu` VALUES (3223, 8, 72);
-INSERT INTO `per_role_menu` VALUES (3224, 8, 73);
-INSERT INTO `per_role_menu` VALUES (3225, 8, 74);
-INSERT INTO `per_role_menu` VALUES (3226, 8, 75);
-INSERT INTO `per_role_menu` VALUES (3227, 8, 76);
-INSERT INTO `per_role_menu` VALUES (3228, 8, 20);
-INSERT INTO `per_role_menu` VALUES (3229, 8, 77);
-INSERT INTO `per_role_menu` VALUES (3230, 8, 78);
-INSERT INTO `per_role_menu` VALUES (3231, 8, 79);
-INSERT INTO `per_role_menu` VALUES (3232, 8, 80);
-INSERT INTO `per_role_menu` VALUES (3233, 8, 21);
-INSERT INTO `per_role_menu` VALUES (3234, 8, 81);
-INSERT INTO `per_role_menu` VALUES (3235, 8, 82);
-INSERT INTO `per_role_menu` VALUES (3236, 8, 83);
-INSERT INTO `per_role_menu` VALUES (3237, 8, 84);
-INSERT INTO `per_role_menu` VALUES (3238, 8, 17);
-INSERT INTO `per_role_menu` VALUES (3239, 8, 15);
-INSERT INTO `per_role_menu` VALUES (3240, 8, 85);
-INSERT INTO `per_role_menu` VALUES (3241, 8, 86);
-INSERT INTO `per_role_menu` VALUES (3242, 8, 87);
-INSERT INTO `per_role_menu` VALUES (3243, 8, 88);
-INSERT INTO `per_role_menu` VALUES (3244, 8, 16);
-INSERT INTO `per_role_menu` VALUES (3245, 8, 89);
-INSERT INTO `per_role_menu` VALUES (3246, 8, 90);
-INSERT INTO `per_role_menu` VALUES (3247, 8, 91);
-INSERT INTO `per_role_menu` VALUES (3248, 8, 92);
-INSERT INTO `per_role_menu` VALUES (3249, 8, 18);
-INSERT INTO `per_role_menu` VALUES (3250, 8, 93);
-INSERT INTO `per_role_menu` VALUES (3251, 8, 94);
-INSERT INTO `per_role_menu` VALUES (3252, 8, 95);
-INSERT INTO `per_role_menu` VALUES (3253, 8, 96);
-INSERT INTO `per_role_menu` VALUES (3254, 8, 97);
-INSERT INTO `per_role_menu` VALUES (3255, 8, 98);
-INSERT INTO `per_role_menu` VALUES (3256, 9, 17);
-INSERT INTO `per_role_menu` VALUES (3257, 9, 15);
-INSERT INTO `per_role_menu` VALUES (3258, 9, 85);
-INSERT INTO `per_role_menu` VALUES (3259, 9, 86);
-INSERT INTO `per_role_menu` VALUES (3260, 9, 87);
-INSERT INTO `per_role_menu` VALUES (3261, 9, 88);
-INSERT INTO `per_role_menu` VALUES (3262, 9, 16);
-INSERT INTO `per_role_menu` VALUES (3263, 9, 89);
-INSERT INTO `per_role_menu` VALUES (3264, 9, 90);
-INSERT INTO `per_role_menu` VALUES (3265, 9, 91);
-INSERT INTO `per_role_menu` VALUES (3266, 9, 92);
-INSERT INTO `per_role_menu` VALUES (3267, 9, 18);
-INSERT INTO `per_role_menu` VALUES (3268, 9, 93);
-INSERT INTO `per_role_menu` VALUES (3269, 9, 94);
-INSERT INTO `per_role_menu` VALUES (3270, 9, 95);
-INSERT INTO `per_role_menu` VALUES (3271, 9, 96);
-INSERT INTO `per_role_menu` VALUES (3272, 9, 97);
-INSERT INTO `per_role_menu` VALUES (3273, 9, 98);
-INSERT INTO `per_role_menu` VALUES (3680, 7, 14);
-INSERT INTO `per_role_menu` VALUES (3681, 7, 19);
-INSERT INTO `per_role_menu` VALUES (3682, 7, 72);
-INSERT INTO `per_role_menu` VALUES (3683, 7, 73);
-INSERT INTO `per_role_menu` VALUES (3684, 7, 74);
-INSERT INTO `per_role_menu` VALUES (3685, 7, 75);
-INSERT INTO `per_role_menu` VALUES (3686, 7, 76);
-INSERT INTO `per_role_menu` VALUES (3687, 7, 100);
-INSERT INTO `per_role_menu` VALUES (3688, 7, 101);
-INSERT INTO `per_role_menu` VALUES (3689, 7, 20);
-INSERT INTO `per_role_menu` VALUES (3690, 7, 77);
-INSERT INTO `per_role_menu` VALUES (3691, 7, 78);
-INSERT INTO `per_role_menu` VALUES (3692, 7, 79);
-INSERT INTO `per_role_menu` VALUES (3693, 7, 80);
-INSERT INTO `per_role_menu` VALUES (3694, 7, 21);
-INSERT INTO `per_role_menu` VALUES (3695, 7, 81);
-INSERT INTO `per_role_menu` VALUES (3696, 7, 82);
-INSERT INTO `per_role_menu` VALUES (3697, 7, 83);
-INSERT INTO `per_role_menu` VALUES (3698, 7, 84);
-INSERT INTO `per_role_menu` VALUES (3699, 2, 19);
-INSERT INTO `per_role_menu` VALUES (3700, 2, 72);
-INSERT INTO `per_role_menu` VALUES (3701, 2, 73);
-INSERT INTO `per_role_menu` VALUES (3702, 2, 74);
-INSERT INTO `per_role_menu` VALUES (3703, 2, 75);
-INSERT INTO `per_role_menu` VALUES (3704, 2, 76);
-INSERT INTO `per_role_menu` VALUES (3705, 2, 100);
-INSERT INTO `per_role_menu` VALUES (3706, 2, 101);
-INSERT INTO `per_role_menu` VALUES (3707, 2, 17);
-INSERT INTO `per_role_menu` VALUES (3708, 2, 15);
-INSERT INTO `per_role_menu` VALUES (3709, 2, 85);
-INSERT INTO `per_role_menu` VALUES (3710, 2, 86);
-INSERT INTO `per_role_menu` VALUES (3711, 2, 87);
-INSERT INTO `per_role_menu` VALUES (3712, 2, 88);
-INSERT INTO `per_role_menu` VALUES (3713, 2, 16);
-INSERT INTO `per_role_menu` VALUES (3714, 2, 89);
-INSERT INTO `per_role_menu` VALUES (3715, 2, 90);
-INSERT INTO `per_role_menu` VALUES (3716, 2, 91);
-INSERT INTO `per_role_menu` VALUES (3717, 2, 92);
-INSERT INTO `per_role_menu` VALUES (3718, 2, 18);
-INSERT INTO `per_role_menu` VALUES (3719, 2, 93);
-INSERT INTO `per_role_menu` VALUES (3720, 2, 94);
-INSERT INTO `per_role_menu` VALUES (3721, 2, 95);
-INSERT INTO `per_role_menu` VALUES (3722, 2, 96);
-INSERT INTO `per_role_menu` VALUES (3723, 2, 97);
-INSERT INTO `per_role_menu` VALUES (3724, 2, 98);
-INSERT INTO `per_role_menu` VALUES (3725, 2, 14);
-INSERT INTO `per_role_menu` VALUES (3726, 1, 5);
-INSERT INTO `per_role_menu` VALUES (3727, 1, 1);
-INSERT INTO `per_role_menu` VALUES (3728, 1, 23);
-INSERT INTO `per_role_menu` VALUES (3729, 1, 24);
-INSERT INTO `per_role_menu` VALUES (3730, 1, 25);
-INSERT INTO `per_role_menu` VALUES (3731, 1, 26);
-INSERT INTO `per_role_menu` VALUES (3732, 1, 27);
-INSERT INTO `per_role_menu` VALUES (3733, 1, 28);
-INSERT INTO `per_role_menu` VALUES (3734, 1, 42);
-INSERT INTO `per_role_menu` VALUES (3735, 1, 52);
-INSERT INTO `per_role_menu` VALUES (3736, 1, 2);
-INSERT INTO `per_role_menu` VALUES (3737, 1, 33);
-INSERT INTO `per_role_menu` VALUES (3738, 1, 34);
-INSERT INTO `per_role_menu` VALUES (3739, 1, 35);
-INSERT INTO `per_role_menu` VALUES (3740, 1, 36);
-INSERT INTO `per_role_menu` VALUES (3741, 1, 37);
-INSERT INTO `per_role_menu` VALUES (3742, 1, 39);
-INSERT INTO `per_role_menu` VALUES (3743, 1, 40);
-INSERT INTO `per_role_menu` VALUES (3744, 1, 13);
-INSERT INTO `per_role_menu` VALUES (3745, 1, 53);
-INSERT INTO `per_role_menu` VALUES (3746, 1, 54);
-INSERT INTO `per_role_menu` VALUES (3747, 1, 55);
-INSERT INTO `per_role_menu` VALUES (3748, 1, 56);
-INSERT INTO `per_role_menu` VALUES (3749, 1, 57);
-INSERT INTO `per_role_menu` VALUES (3750, 1, 58);
-INSERT INTO `per_role_menu` VALUES (3751, 1, 59);
-INSERT INTO `per_role_menu` VALUES (3752, 1, 41);
-INSERT INTO `per_role_menu` VALUES (3753, 1, 62);
-INSERT INTO `per_role_menu` VALUES (3754, 1, 64);
-INSERT INTO `per_role_menu` VALUES (3755, 1, 65);
-INSERT INTO `per_role_menu` VALUES (3756, 1, 66);
-INSERT INTO `per_role_menu` VALUES (3757, 1, 68);
-INSERT INTO `per_role_menu` VALUES (3758, 1, 69);
-INSERT INTO `per_role_menu` VALUES (3759, 1, 71);
-INSERT INTO `per_role_menu` VALUES (3760, 1, 99);
-INSERT INTO `per_role_menu` VALUES (3761, 1, 6);
-INSERT INTO `per_role_menu` VALUES (3762, 1, 3);
-INSERT INTO `per_role_menu` VALUES (3763, 1, 4);
-
--- ----------------------------
--- Table structure for per_staff_role
--- ----------------------------
-DROP TABLE IF EXISTS `per_staff_role`;
-CREATE TABLE `per_staff_role` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `staff_id` int UNSIGNED NULL DEFAULT NULL COMMENT '员工id',
- `role_id` int UNSIGNED NULL DEFAULT NULL COMMENT '角色id',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工角色关系表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of per_staff_role
--- ----------------------------
-INSERT INTO `per_staff_role` VALUES (2, 29, 2);
-INSERT INTO `per_staff_role` VALUES (3, 29, 3);
-INSERT INTO `per_staff_role` VALUES (11, 9, 7);
-INSERT INTO `per_staff_role` VALUES (28, 6, 2);
-INSERT INTO `per_staff_role` VALUES (29, 14, 7);
-INSERT INTO `per_staff_role` VALUES (30, 18, 7);
-INSERT INTO `per_staff_role` VALUES (31, 32, 7);
-INSERT INTO `per_staff_role` VALUES (32, 31, 9);
-INSERT INTO `per_staff_role` VALUES (33, 31, 7);
-INSERT INTO `per_staff_role` VALUES (39, 2, 2);
-INSERT INTO `per_staff_role` VALUES (40, 3, 7);
-INSERT INTO `per_staff_role` VALUES (43, 1, 1);
-INSERT INTO `per_staff_role` VALUES (44, 1, 7);
-INSERT INTO `per_staff_role` VALUES (45, 1, 2);
-
--- ----------------------------
--- Table structure for sal_salary
--- ----------------------------
-DROP TABLE IF EXISTS `sal_salary`;
-CREATE TABLE `sal_salary` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `staff_id` int UNSIGNED NULL DEFAULT NULL COMMENT '员工id',
- `base_salary` decimal(10, 3) NULL DEFAULT NULL COMMENT '基础工资',
- `day_salary` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '平均日薪,基础工资 / 21.75',
- `hour_salary` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '平均时薪,基础工资 / (21.75 * 8)',
- `overtime_salary` decimal(10, 3) NULL DEFAULT NULL COMMENT '加班费',
- `subsidy` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '生活补贴',
- `bonus` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '奖金',
- `total_salary` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '总工资',
- `late_deduct` decimal(10, 3) NULL DEFAULT NULL COMMENT '早退扣款',
- `leave_deduct` decimal(10, 3) NULL DEFAULT NULL COMMENT '休假扣款',
- `leave_early_deduct` decimal(10, 3) NULL DEFAULT NULL COMMENT '早退扣款',
- `absenteeism_deduct` decimal(10, 3) NULL DEFAULT NULL COMMENT '旷工扣款',
- `month` char(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '月份',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 62 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工工资表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of sal_salary
--- ----------------------------
-INSERT INTO `sal_salary` VALUES (1, 1, 7000.000, NULL, NULL, NULL, 400.000, 200.000, 5595.000, 0.000, 640.000, 0.000, 100.000, '202204', 'jack的工资明细', '2022-04-06 14:40:36', '2022-04-09 15:15:56', 0);
-INSERT INTO `sal_salary` VALUES (2, 1, 6800.000, NULL, NULL, NULL, 0.000, 100.000, 4795.000, 50.000, 160.000, 50.000, 100.000, '202205', NULL, '2022-04-06 14:44:54', '2022-05-06 16:40:06', 0);
-INSERT INTO `sal_salary` VALUES (3, 1, 6500.000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202105', NULL, '2022-04-06 14:45:09', '2022-04-09 16:02:45', 0);
-INSERT INTO `sal_salary` VALUES (4, 1, 7000.000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202112', NULL, '2022-04-06 14:45:22', '2022-04-09 16:02:39', 0);
-INSERT INTO `sal_salary` VALUES (5, 2, 6000.000, NULL, NULL, NULL, 600.000, 200.000, 5270.000, 0.000, 240.000, 50.000, 0.000, '202204', NULL, '2022-04-06 14:45:42', '2022-04-09 17:02:55', 0);
-INSERT INTO `sal_salary` VALUES (6, 2, 7000.000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202104', NULL, '2022-04-06 14:46:09', '2022-04-09 16:02:34', 0);
-INSERT INTO `sal_salary` VALUES (7, 3, 6000.000, NULL, NULL, NULL, 0.000, 0.000, 5175.000, NULL, NULL, NULL, NULL, '202204', NULL, '2022-04-06 22:58:16', '2022-04-06 22:58:16', 0);
-INSERT INTO `sal_salary` VALUES (8, 1, 6000.000, NULL, NULL, NULL, 0.000, 0.000, 4735.000, NULL, NULL, NULL, NULL, '202202', NULL, '2022-04-07 10:39:24', '2022-04-07 10:39:24', 0);
-INSERT INTO `sal_salary` VALUES (9, 4, 6000.000, NULL, NULL, NULL, 500.000, 300.000, 5710.000, NULL, NULL, NULL, NULL, '202204', NULL, '2022-04-08 10:04:50', '2022-04-08 10:04:50', 0);
-INSERT INTO `sal_salary` VALUES (10, 5, 7000.000, NULL, NULL, NULL, 0.000, 0.000, 5368.000, NULL, NULL, NULL, NULL, '202204', NULL, '2022-04-08 15:34:50', '2022-04-08 15:34:50', 0);
-INSERT INTO `sal_salary` VALUES (11, 6, 8000.000, NULL, NULL, NULL, 0.000, 0.000, 6340.000, 0.000, 0.000, 50.000, 0.000, '202204', NULL, '2022-04-08 18:37:05', '2022-04-08 18:37:05', 0);
-INSERT INTO `sal_salary` VALUES (12, 7, 6000.000, NULL, NULL, NULL, 1000.000, 0.000, 5710.000, 0.000, 0.000, 0.000, 0.000, '202204', NULL, '2022-04-08 18:46:20', '2022-04-08 18:46:20', 0);
-INSERT INTO `sal_salary` VALUES (13, 8, 6000.000, NULL, NULL, NULL, 0.000, 0.000, 2100.000, 0.000, 0.000, 0.000, 0.000, '202204', NULL, '2022-04-08 20:45:43', '2022-04-08 20:45:43', 0);
-INSERT INTO `sal_salary` VALUES (14, 9, 6000.000, NULL, NULL, NULL, 0.000, 0.000, 5275.000, 0.000, 0.000, 0.000, 0.000, '202204', NULL, '2022-04-08 20:58:47', '2022-04-08 20:58:47', 0);
-INSERT INTO `sal_salary` VALUES (15, 1, 6666.000, NULL, NULL, NULL, 0.000, 0.000, 5401.000, 0.000, 0.000, 0.000, 0.000, '202203', NULL, '2022-04-09 16:35:15', '2022-04-09 16:35:15', 0);
-INSERT INTO `sal_salary` VALUES (16, 10, 8000.000, NULL, NULL, NULL, 0.000, 0.000, 5030.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:39:53', '2022-05-06 17:41:45', 0);
-INSERT INTO `sal_salary` VALUES (17, 2, 6050.000, NULL, NULL, NULL, 0.000, 0.000, 4660.000, 50.000, 0.000, 0.000, 100.000, '202205', NULL, '2022-05-02 21:40:12', '2022-05-06 17:42:20', 0);
-INSERT INTO `sal_salary` VALUES (18, 3, 6000.000, NULL, NULL, NULL, 0.000, 0.000, 4632.000, 50.000, 0.000, 100.000, 300.000, '202205', NULL, '2022-05-02 21:40:21', '2022-05-02 21:40:21', 0);
-INSERT INTO `sal_salary` VALUES (19, 4, 7000.000, NULL, NULL, NULL, 0.000, 0.000, 5510.000, 100.000, 0.000, 0.000, 300.000, '202205', NULL, '2022-05-02 21:40:30', '2022-05-02 21:40:30', 0);
-INSERT INTO `sal_salary` VALUES (20, 5, 7500.000, NULL, NULL, NULL, 0.000, 0.000, 5868.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:40:44', '2022-05-02 21:40:44', 0);
-INSERT INTO `sal_salary` VALUES (21, 6, 6500.000, NULL, NULL, NULL, 0.000, 0.000, 4890.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:40:54', '2022-05-02 21:40:54', 0);
-INSERT INTO `sal_salary` VALUES (22, 7, 7878.000, NULL, NULL, NULL, 0.000, 0.000, 6588.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:41:03', '2022-05-02 21:41:03', 0);
-INSERT INTO `sal_salary` VALUES (23, 8, 7999.000, NULL, NULL, NULL, 0.000, 0.000, 4099.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:41:12', '2022-05-06 17:42:10', 0);
-INSERT INTO `sal_salary` VALUES (24, 9, 7000.000, NULL, NULL, NULL, 0.000, 0.000, 6275.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-02 21:41:23', '2022-05-06 17:42:34', 0);
-INSERT INTO `sal_salary` VALUES (25, 11, 7000.000, NULL, NULL, NULL, 200.000, 0.000, 5345.000, 0.000, 0.000, 0.000, 0.000, '202205', NULL, '2022-05-13 08:28:04', '2022-05-13 08:28:04', 0);
-INSERT INTO `sal_salary` VALUES (26, 1, 10000.000, 459.770, 57.471, 328.620, 0.000, 0.000, 7286.000, 0.000, 240.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:21:47', '2024-03-23 17:26:34', 0);
-INSERT INTO `sal_salary` VALUES (27, 2, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10760.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:21:59', '2024-03-21 11:21:59', 0);
-INSERT INTO `sal_salary` VALUES (28, 3, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10882.000, 50.000, 0.000, 50.000, 100.000, '202403', NULL, '2024-03-21 11:22:53', '2024-03-21 11:22:53', 0);
-INSERT INTO `sal_salary` VALUES (29, 4, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 11810.000, 0.000, 0.000, 0.000, 100.000, '202403', NULL, '2024-03-21 11:23:05', '2024-03-21 11:23:05', 0);
-INSERT INTO `sal_salary` VALUES (30, 5, 14000.000, 643.678, 80.460, NULL, 0.000, 0.000, 12218.000, 0.000, 0.000, 50.000, 100.000, '202403', NULL, '2024-03-21 11:23:13', '2024-03-21 11:23:13', 0);
-INSERT INTO `sal_salary` VALUES (31, 6, 13500.000, 620.690, 77.586, NULL, 0.000, 0.000, 11890.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:23:25', '2024-03-21 11:23:25', 0);
-INSERT INTO `sal_salary` VALUES (32, 7, 16500.000, 758.621, 94.828, NULL, 0.000, 0.000, 14860.000, 50.000, 0.000, 0.000, 300.000, '202403', NULL, '2024-03-21 11:23:33', '2024-03-21 11:23:33', 0);
-INSERT INTO `sal_salary` VALUES (33, 8, 12300.000, 565.517, 70.690, NULL, 0.000, 0.000, 8350.000, 50.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:23:44', '2024-03-21 11:23:44', 0);
-INSERT INTO `sal_salary` VALUES (34, 9, 10000.000, 459.770, 57.471, NULL, 0.000, 0.000, 9225.000, 0.000, 0.000, 50.000, 0.000, '202403', NULL, '2024-03-21 11:24:15', '2024-03-21 11:24:15', 0);
-INSERT INTO `sal_salary` VALUES (35, 10, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 9030.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:24:23', '2024-03-21 11:24:23', 0);
-INSERT INTO `sal_salary` VALUES (36, 11, 16000.000, 735.632, 91.954, NULL, 0.000, 0.000, 14145.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:24:43', '2024-03-21 11:24:43', 0);
-INSERT INTO `sal_salary` VALUES (37, 12, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 9350.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:24:52', '2024-03-21 11:24:52', 0);
-INSERT INTO `sal_salary` VALUES (38, 13, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10776.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:02', '2024-03-21 11:25:02', 0);
-INSERT INTO `sal_salary` VALUES (39, 14, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 7140.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:07', '2024-03-21 11:25:07', 0);
-INSERT INTO `sal_salary` VALUES (40, 15, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 9230.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:12', '2024-03-21 11:25:12', 0);
-INSERT INTO `sal_salary` VALUES (41, 16, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 9950.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:17', '2024-03-21 11:25:17', 0);
-INSERT INTO `sal_salary` VALUES (42, 17, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10312.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:22', '2024-03-21 11:25:22', 0);
-INSERT INTO `sal_salary` VALUES (43, 18, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10425.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:27', '2024-03-21 11:25:27', 0);
-INSERT INTO `sal_salary` VALUES (44, 19, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 8640.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:32', '2024-03-21 11:25:32', 0);
-INSERT INTO `sal_salary` VALUES (45, 20, 12000.000, 551.724, 68.966, NULL, 0.000, 0.000, 10810.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:38', '2024-03-21 11:25:38', 0);
-INSERT INTO `sal_salary` VALUES (46, 21, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 12018.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:52', '2024-03-21 11:25:52', 0);
-INSERT INTO `sal_salary` VALUES (47, 22, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 9874.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:25:56', '2024-03-21 11:25:56', 0);
-INSERT INTO `sal_salary` VALUES (48, 23, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 11769.700, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:01', '2024-03-21 11:26:01', 0);
-INSERT INTO `sal_salary` VALUES (49, 25, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 11070.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:06', '2024-03-21 11:26:06', 0);
-INSERT INTO `sal_salary` VALUES (50, 24, 13000.000, 597.701, 74.713, NULL, 0.000, 0.000, 10040.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:12', '2024-03-21 11:26:12', 0);
-INSERT INTO `sal_salary` VALUES (51, 26, 14500.000, 666.667, 83.333, NULL, 0.000, 0.000, 12600.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:23', '2024-03-21 11:26:23', 0);
-INSERT INTO `sal_salary` VALUES (52, 27, 14500.000, 666.667, 83.333, NULL, 0.000, 0.000, 12100.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:28', '2024-03-21 11:26:28', 0);
-INSERT INTO `sal_salary` VALUES (53, 28, 14500.000, 666.667, 83.333, NULL, 0.000, 0.000, 12981.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:33', '2024-03-21 11:26:33', 0);
-INSERT INTO `sal_salary` VALUES (54, 29, 14500.000, 666.667, 83.333, NULL, 0.000, 0.000, 13425.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:37', '2024-03-21 11:26:37', 0);
-INSERT INTO `sal_salary` VALUES (55, 30, 14500.000, 666.667, 83.333, NULL, 0.000, 0.000, 13372.500, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:42', '2024-03-21 11:26:42', 0);
-INSERT INTO `sal_salary` VALUES (56, 31, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 13696.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:52', '2024-03-21 11:26:52', 0);
-INSERT INTO `sal_salary` VALUES (57, 32, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 16025.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:26:56', '2024-03-21 11:26:56', 0);
-INSERT INTO `sal_salary` VALUES (58, 33, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 13880.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:27:01', '2024-03-21 11:27:01', 0);
-INSERT INTO `sal_salary` VALUES (59, 34, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 15890.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:27:06', '2024-03-21 11:27:06', 0);
-INSERT INTO `sal_salary` VALUES (60, 35, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 15425.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:27:14', '2024-03-21 11:27:14', 0);
-INSERT INTO `sal_salary` VALUES (61, 36, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 11475.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:27:19', '2024-03-21 11:27:19', 0);
-INSERT INTO `sal_salary` VALUES (62, 37, 17000.000, 781.609, 97.701, NULL, 0.000, 0.000, 16015.000, 0.000, 0.000, 0.000, 0.000, '202403', NULL, '2024-03-21 11:27:24', '2024-03-21 11:27:24', 0);
-
--- ----------------------------
--- Table structure for sal_salary_deduct
--- ----------------------------
-DROP TABLE IF EXISTS `sal_salary_deduct`;
-CREATE TABLE `sal_salary_deduct` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `dept_id` int UNSIGNED NULL DEFAULT NULL COMMENT '部门id',
- `type_num` tinyint UNSIGNED NULL DEFAULT NULL COMMENT '扣款类型,0迟到,1早退,2旷工,3休假',
- `deduct` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '每次扣款金额',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
- `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '工资扣除表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of sal_salary_deduct
--- ----------------------------
-INSERT INTO `sal_salary_deduct` VALUES (1, 2, 2, 200, '旷工绝不姑息', '2022-03-27 22:55:07', '2023-01-01 20:59:30', 0);
-INSERT INTO `sal_salary_deduct` VALUES (2, 2, 1, 0, NULL, '2022-03-28 07:20:50', '2023-01-01 20:59:32', 0);
-INSERT INTO `sal_salary_deduct` VALUES (3, 2, 3, 0, NULL, '2022-03-31 19:57:56', '2023-01-01 20:59:35', 0);
-INSERT INTO `sal_salary_deduct` VALUES (4, 2, 0, 100, NULL, '2023-01-01 21:38:28', '2023-01-01 21:38:28', 0);
-
--- ----------------------------
--- Table structure for soc_city
--- ----------------------------
-DROP TABLE IF EXISTS `soc_city`;
-CREATE TABLE `soc_city` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参保城市',
- `average_salary` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '职工上年度平均月工资',
- `lower_salary` decimal(10, 3) NULL DEFAULT NULL COMMENT '职工上年度最低月工资',
- `soc_upper_limit` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '职工社保缴纳基数上限',
- `soc_lower_limit` decimal(10, 3) UNSIGNED NULL DEFAULT NULL COMMENT '职工社保缴纳基数下限',
- `hou_upper_limit` decimal(10, 3) NULL DEFAULT NULL COMMENT '公积金缴纳基数上限',
- `hou_lower_limit` decimal(10, 3) NULL DEFAULT NULL COMMENT '公积金缴纳基数下限',
- `per_pension_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '个人养老保险缴费比例',
- `com_pension_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '企业养老保险缴费比例',
- `per_medical_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '个人医疗保险缴费比例',
- `com_medical_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '企业医疗保险缴费比例',
- `per_unemployment_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '个人失业保险缴费比例',
- `com_unemployment_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '企业失业保险缴费比例',
- `com_maternity_rate` decimal(6, 3) UNSIGNED NULL DEFAULT NULL COMMENT '企业生育保险缴费比例',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参保城市表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of soc_city
--- ----------------------------
-INSERT INTO `soc_city` VALUES (1, '成都', 10000.000, 3000.000, 30000.000, 6000.000, 30000.000, 3000.000, 0.090, 0.160, 0.020, 0.090, 0.007, 0.006, 0.010, NULL, '2022-03-22 15:53:53', '2022-03-24 23:05:28', 0);
-INSERT INTO `soc_city` VALUES (2, '重庆', 8000.000, 3000.000, 24000.000, 4800.000, 24000.000, 3000.000, 0.100, 0.100, 0.020, 0.085, 0.005, 0.009, 0.028, NULL, '2022-03-22 16:28:43', '2022-03-23 16:28:51', 0);
-INSERT INTO `soc_city` VALUES (3, '北京', 12000.000, 4000.000, 36000.000, 7200.000, 36000.000, 4000.000, 0.080, 0.120, 0.020, 0.090, 0.011, 0.005, 0.008, NULL, '2022-03-23 22:33:51', '2022-03-23 22:33:51', 0);
-INSERT INTO `soc_city` VALUES (4, '上海', 15000.000, 10000.000, 45000.000, 9000.000, 45000.000, 10000.000, 0.076, 0.022, 0.010, 0.020, 0.100, 0.120, 0.090, NULL, '2022-03-23 23:29:22', '2022-04-13 11:12:38', 0);
-INSERT INTO `soc_city` VALUES (5, '武汉', 5000.000, 3400.000, 15000.000, 3000.000, 15000.000, 3400.000, 0.100, 0.130, 0.100, 0.130, 0.140, 0.021, 0.025, NULL, '2022-03-31 20:02:30', '2022-04-12 17:58:51', 0);
-INSERT INTO `soc_city` VALUES (6, '深圳', 13000.000, 10000.000, 39000.000, 7800.000, 39000.000, 10000.000, 0.050, 0.070, 0.030, 0.060, 0.015, 0.010, 0.010, NULL, '2022-05-02 22:10:01', '2022-05-02 22:10:01', 0);
-
--- ----------------------------
--- Table structure for soc_insurance
--- ----------------------------
-DROP TABLE IF EXISTS `soc_insurance`;
-CREATE TABLE `soc_insurance` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `city_id` int NULL DEFAULT NULL COMMENT '城市id',
- `staff_id` int NULL DEFAULT NULL COMMENT '员工id',
- `house_base` decimal(10, 3) NULL DEFAULT NULL COMMENT '公积金基数',
- `per_house_rate` decimal(6, 3) NULL DEFAULT NULL COMMENT '公积金个人缴纳比例',
- `per_house_pay` decimal(10, 3) NULL DEFAULT NULL COMMENT '公积金个人缴纳费用',
- `com_house_rate` decimal(6, 3) NULL DEFAULT NULL COMMENT '公积金企业缴纳比例',
- `com_house_pay` decimal(10, 3) NULL DEFAULT NULL COMMENT '公积金企业缴纳费用',
- `social_base` decimal(10, 3) NULL DEFAULT NULL COMMENT '社保基数',
- `com_social_pay` decimal(10, 3) NULL DEFAULT NULL COMMENT '社保企业缴纳费用',
- `per_social_pay` decimal(10, 3) NULL DEFAULT NULL COMMENT '社保个人缴纳费用',
- `com_injury_rate` decimal(6, 3) NULL DEFAULT NULL COMMENT '工伤保险企业缴纳比例',
- `social_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '社保备注',
- `house_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公积金备注',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `is_deleted` tinyint UNSIGNED NULL DEFAULT 0,
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 37 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工五险一金表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of soc_insurance
--- ----------------------------
-INSERT INTO `soc_insurance` VALUES (1, 4, 1, 10000.000, 0.080, 800.000, 0.050, 500.000, 9000.000, 2313.000, 1674.000, 0.005, '社保个人缴纳1674元', '公积金个人缴纳800元', '2022-03-25 00:40:24', '2022-03-25 00:40:24', 0);
-INSERT INTO `soc_insurance` VALUES (2, 3, 2, 5000.000, 0.080, 400.000, 0.080, 400.000, 8000.000, 2224.000, 840.000, 0.015, NULL, NULL, '2022-04-06 20:38:41', '2022-04-06 20:38:41', 0);
-INSERT INTO `soc_insurance` VALUES (3, 4, 3, 3000.000, 0.120, 360.000, 0.120, 360.000, 3000.000, 813.000, 558.000, 0.019, NULL, NULL, '2022-04-06 20:39:47', '2022-04-06 20:39:47', 0);
-INSERT INTO `soc_insurance` VALUES (4, 3, 4, 5000.000, 0.050, 250.000, 0.050, 250.000, 8000.000, 2256.000, 840.000, 0.019, NULL, NULL, '2022-04-07 10:42:09', '2022-04-07 10:42:09', 0);
-INSERT INTO `soc_insurance` VALUES (5, 5, 5, 3400.000, 0.080, 272.000, 0.080, 272.000, 4000.000, 1916.000, 1360.000, 0.003, NULL, NULL, '2022-04-07 10:43:13', '2022-04-07 10:43:13', 0);
-INSERT INTO `soc_insurance` VALUES (6, 5, 6, 5000.000, 0.050, 250.000, 0.050, 250.000, 4000.000, 1916.000, 1360.000, 0.003, NULL, NULL, '2022-04-07 10:44:26', '2022-04-07 10:44:26', 0);
-INSERT INTO `soc_insurance` VALUES (7, 3, 7, 4500.000, 0.100, 450.000, 0.100, 450.000, 8000.000, 2120.000, 840.000, 0.002, NULL, NULL, '2022-04-08 18:38:15', '2022-04-08 18:38:15', 0);
-INSERT INTO `soc_insurance` VALUES (8, 5, 8, 10000.000, 0.050, 500.000, 0.050, 500.000, 10000.000, 4910.000, 3400.000, 0.015, NULL, NULL, '2022-04-08 20:38:15', '2022-04-08 20:38:15', 0);
-INSERT INTO `soc_insurance` VALUES (9, 2, 9, 4000.000, 0.050, 200.000, 0.050, 200.000, 5000.000, 1375.000, 525.000, 0.010, NULL, NULL, '2022-04-08 20:50:13', '2022-04-08 20:50:13', 0);
-INSERT INTO `soc_insurance` VALUES (10, 5, 10, 5000.000, 0.050, 250.000, 0.050, 250.000, 8000.000, 3888.000, 2720.000, 0.010, NULL, NULL, '2022-05-02 21:39:04', '2022-05-02 21:39:04', 0);
-INSERT INTO `soc_insurance` VALUES (11, 6, 11, 10000.000, 0.100, 1000.000, 0.100, 1000.000, 9000.000, 1485.000, 855.000, 0.015, NULL, NULL, '2022-05-12 22:03:25', '2022-05-12 22:03:25', 0);
-INSERT INTO `soc_insurance` VALUES (12, 2, 12, 3000.000, 0.050, 150.000, 0.050, 150.000, 20000.000, 4480.000, 2500.000, 0.002, NULL, NULL, '2024-03-21 10:58:58', '2024-03-21 10:58:58', 0);
-INSERT INTO `soc_insurance` VALUES (13, 5, 13, 3400.000, 0.060, 204.000, 0.050, 170.000, 3000.000, 975.000, 1020.000, 0.019, NULL, NULL, '2024-03-21 10:59:46', '2024-03-21 10:59:46', 0);
-INSERT INTO `soc_insurance` VALUES (14, 4, 14, 30000.000, 0.100, 3000.000, 0.100, 3000.000, 10000.000, 2670.000, 1860.000, 0.015, NULL, NULL, '2024-03-21 11:00:23', '2024-03-21 11:00:23', 0);
-INSERT INTO `soc_insurance` VALUES (15, 1, 15, 20000.000, 0.080, 1600.000, 0.080, 1600.000, 10000.000, 2700.000, 1170.000, 0.004, NULL, NULL, '2024-03-21 11:01:04', '2024-03-21 11:01:04', 0);
-INSERT INTO `soc_insurance` VALUES (16, 5, 16, 5000.000, 0.070, 350.000, 0.090, 450.000, 5000.000, 1570.000, 1700.000, 0.008, NULL, NULL, '2024-03-21 11:01:39', '2024-03-21 11:01:39', 0);
-INSERT INTO `soc_insurance` VALUES (17, 3, 17, 10000.000, 0.080, 800.000, 0.070, 700.000, 8000.000, 1904.000, 888.000, 0.015, NULL, NULL, '2024-03-21 11:02:28', '2024-03-21 11:02:28', 0);
-INSERT INTO `soc_insurance` VALUES (18, 6, 18, 12000.000, 0.060, 720.000, 0.060, 720.000, 9000.000, 1512.000, 855.000, 0.018, NULL, NULL, '2024-03-21 11:02:57', '2024-03-21 11:02:57', 0);
-INSERT INTO `soc_insurance` VALUES (19, 4, 19, 30000.000, 0.050, 1500.000, 0.050, 1500.000, 10000.000, 2550.000, 1860.000, 0.003, NULL, NULL, '2024-03-21 11:05:26', '2024-03-21 11:05:26', 0);
-INSERT INTO `soc_insurance` VALUES (20, 5, 20, 3400.000, 0.050, 170.000, 0.050, 170.000, 3000.000, 924.000, 1020.000, 0.002, NULL, NULL, '2024-03-21 11:05:51', '2024-03-21 11:05:51', 0);
-INSERT INTO `soc_insurance` VALUES (21, 1, 21, 4000.000, 0.070, 280.000, 0.060, 240.000, 6000.000, 1614.000, 702.000, 0.003, NULL, NULL, '2024-03-21 11:06:40', '2024-03-21 11:06:40', 0);
-INSERT INTO `soc_insurance` VALUES (22, 4, 22, 12000.000, 0.090, 1080.000, 0.060, 720.000, 11000.000, 2805.000, 2046.000, 0.003, NULL, NULL, '2024-03-21 11:07:14', '2024-03-21 11:07:14', 0);
-INSERT INTO `soc_insurance` VALUES (23, 3, 23, 6000.000, 0.070, 420.000, 0.050, 300.000, 7300.000, 1649.800, 810.300, 0.003, NULL, NULL, '2024-03-21 11:07:39', '2024-03-21 11:07:39', 0);
-INSERT INTO `soc_insurance` VALUES (24, 4, 24, 11000.000, 0.100, 1100.000, 0.070, 770.000, 10000.000, 2560.000, 1860.000, 0.004, NULL, NULL, '2024-03-21 11:08:17', '2024-03-21 11:08:17', 0);
-INSERT INTO `soc_insurance` VALUES (25, 6, 25, 13000.000, 0.090, 1170.000, 0.080, 1040.000, 8000.000, 1240.000, 760.000, 0.005, NULL, NULL, '2024-03-21 11:09:24', '2024-03-21 11:09:24', 0);
-INSERT INTO `soc_insurance` VALUES (26, 5, 26, 4000.000, 0.050, 200.000, 0.050, 200.000, 5000.000, 1545.000, 1700.000, 0.003, NULL, NULL, '2024-03-21 11:09:48', '2024-03-21 11:09:48', 0);
-INSERT INTO `soc_insurance` VALUES (27, 5, 27, 6000.000, 0.060, 360.000, 0.060, 360.000, 6000.000, 1860.000, 2040.000, 0.004, NULL, NULL, '2024-03-21 11:10:15', '2024-03-21 11:10:15', 0);
-INSERT INTO `soc_insurance` VALUES (28, 3, 28, 6500.000, 0.080, 520.000, 0.080, 520.000, 9000.000, 2106.000, 999.000, 0.011, NULL, NULL, '2024-03-21 11:10:46', '2024-03-21 11:10:46', 0);
-INSERT INTO `soc_insurance` VALUES (29, 2, 29, 9000.000, 0.050, 450.000, 0.050, 450.000, 5000.000, 1120.000, 625.000, 0.002, NULL, NULL, '2024-03-21 11:11:07', '2024-03-21 11:11:07', 0);
-INSERT INTO `soc_insurance` VALUES (30, 1, 30, 5000.000, 0.050, 250.000, 0.050, 250.000, 7500.000, 2017.500, 877.500, 0.003, NULL, NULL, '2024-03-21 11:11:28', '2024-03-21 11:11:28', 0);
-INSERT INTO `soc_insurance` VALUES (31, 4, 31, 10000.000, 0.070, 700.000, 0.050, 500.000, 14000.000, 3556.000, 2604.000, 0.002, NULL, NULL, '2024-03-21 11:11:51', '2024-03-21 11:11:51', 0);
-INSERT INTO `soc_insurance` VALUES (32, 2, 32, 5000.000, 0.070, 350.000, 0.070, 350.000, 5000.000, 1125.000, 625.000, 0.003, NULL, NULL, '2024-03-21 11:12:41', '2024-03-21 11:12:41', 0);
-INSERT INTO `soc_insurance` VALUES (33, 5, 33, 9000.000, 0.120, 1080.000, 0.120, 1080.000, 6000.000, 1866.000, 2040.000, 0.005, NULL, NULL, '2024-03-21 11:13:12', '2024-03-21 11:13:12', 0);
-INSERT INTO `soc_insurance` VALUES (34, 2, 34, 4000.000, 0.090, 360.000, 0.070, 280.000, 6000.000, 1350.000, 750.000, 0.003, NULL, NULL, '2024-03-21 11:13:32', '2024-03-21 11:13:32', 0);
-INSERT INTO `soc_insurance` VALUES (35, 6, 35, 12000.000, 0.060, 720.000, 0.060, 720.000, 9000.000, 1377.000, 855.000, 0.003, NULL, NULL, '2024-03-21 11:14:05', '2024-03-21 11:14:05', 0);
-INSERT INTO `soc_insurance` VALUES (36, 5, 36, 8500.000, 0.050, 425.000, 0.060, 510.000, 15000.000, 4620.000, 5100.000, 0.002, NULL, NULL, '2024-03-21 11:14:28', '2024-03-21 11:14:28', 0);
-INSERT INTO `soc_insurance` VALUES (37, 2, 37, 3000.000, 0.120, 360.000, 0.050, 150.000, 5000.000, 1120.000, 625.000, 0.002, NULL, NULL, '2024-03-21 11:14:52', '2024-03-21 11:14:52', 0);
-
--- ----------------------------
--- Table structure for sys_dept
--- ----------------------------
-DROP TABLE IF EXISTS `sys_dept`;
-CREATE TABLE `sys_dept` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '部门id',
- `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门编码',
- `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称',
- `mor_start_time` time NULL DEFAULT NULL COMMENT '上午上班时间',
- `mor_end_time` time NULL DEFAULT NULL COMMENT '上午下班时间',
- `aft_start_time` time NULL DEFAULT NULL COMMENT '下午上班时间',
- `aft_end_time` time NULL DEFAULT NULL COMMENT '下午下班时间',
- `total_work_time` decimal(3, 1) NULL DEFAULT NULL COMMENT '员工工作总时长',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门备注',
- `parent_id` int UNSIGNED NOT NULL DEFAULT 0 COMMENT '父级部门id,0根部门',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0 COMMENT '逻辑删除,0未删除,1删除',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of sys_dept
--- ----------------------------
-INSERT INTO `sys_dept` VALUES (1, NULL, '运维部门', NULL, NULL, NULL, NULL, NULL, '很好', 0, '2022-03-07 16:15:57', '2022-04-08 12:09:04', 0);
-INSERT INTO `sys_dept` VALUES (2, NULL, '运维1部', '06:00:00', '11:30:00', '13:00:00', '17:00:00', 9.5, '维护服务器', 1, '2022-03-07 16:16:11', '2023-02-17 21:46:15', 0);
-INSERT INTO `sys_dept` VALUES (3, NULL, '运维2部', '06:00:00', '10:30:00', '13:30:00', '17:30:00', 8.5, NULL, 1, '2022-03-07 16:16:30', '2023-01-01 20:06:09', 0);
-INSERT INTO `sys_dept` VALUES (4, NULL, '销售部门', NULL, NULL, NULL, NULL, NULL, NULL, 0, '2022-03-07 16:16:46', '2022-05-06 16:23:09', 0);
-INSERT INTO `sys_dept` VALUES (5, NULL, '销售1部', '06:00:00', '10:00:00', '13:00:00', '16:30:00', 7.5, NULL, 4, '2022-03-07 16:16:57', '2022-05-06 16:23:26', 0);
-INSERT INTO `sys_dept` VALUES (6, NULL, '销售2部', '06:00:00', '10:30:00', '13:30:00', '17:00:00', 8.0, NULL, 4, '2022-03-07 16:17:10', '2022-05-06 16:23:37', 0);
-INSERT INTO `sys_dept` VALUES (7, NULL, '财务部门', NULL, NULL, NULL, NULL, NULL, '财务', 0, '2022-03-07 16:17:40', '2022-05-06 16:24:09', 0);
-INSERT INTO `sys_dept` VALUES (8, NULL, '财务1部', '06:00:00', '10:00:00', '14:00:00', '18:00:00', 8.0, NULL, 7, '2022-03-07 16:17:49', '2022-03-07 16:18:11', 0);
-INSERT INTO `sys_dept` VALUES (9, NULL, '财务2部', '06:00:00', '10:00:00', '13:00:00', '16:30:00', 7.5, NULL, 7, '2022-03-07 16:18:02', '2022-03-07 16:18:14', 0);
-INSERT INTO `sys_dept` VALUES (10, NULL, '财务3部', '06:00:00', '11:30:00', '13:00:00', '16:30:00', 9.0, NULL, 7, '2022-03-07 16:18:32', '2022-03-07 16:18:32', 0);
-INSERT INTO `sys_dept` VALUES (11, NULL, '开发部门', NULL, NULL, NULL, NULL, NULL, NULL, 0, '2022-03-07 16:18:41', '2022-03-07 16:18:41', 0);
-INSERT INTO `sys_dept` VALUES (12, NULL, '开发1部', '06:00:00', '12:00:00', '13:30:00', '17:30:00', 10.0, NULL, 11, '2022-03-07 16:19:00', '2022-03-07 16:19:10', 0);
-INSERT INTO `sys_dept` VALUES (13, NULL, '开发2部', '06:00:00', '11:00:00', '14:00:00', '17:30:00', 8.5, NULL, 11, '2022-03-07 22:21:39', '2022-03-07 22:21:39', 0);
-INSERT INTO `sys_dept` VALUES (14, NULL, '财务4部', '06:00:00', '10:30:00', '14:30:00', '18:00:00', 8.0, NULL, 7, '2022-03-20 12:08:16', '2022-03-20 12:08:16', 0);
-INSERT INTO `sys_dept` VALUES (15, NULL, '运维3部', '06:00:00', '12:00:00', '13:30:00', '18:00:00', 10.5, NULL, 1, '2022-03-26 17:09:55', '2022-03-26 17:09:55', 0);
-INSERT INTO `sys_dept` VALUES (16, NULL, '人事部门', NULL, NULL, NULL, NULL, NULL, '人力资源管理', 0, '2022-03-26 17:13:01', '2022-05-02 22:22:30', 0);
-INSERT INTO `sys_dept` VALUES (17, NULL, '人事1部', '07:00:00', '11:00:00', '13:30:00', '17:30:00', 8.0, NULL, 16, '2022-03-26 17:17:26', '2022-04-08 12:51:21', 0);
-INSERT INTO `sys_dept` VALUES (18, NULL, '人事2部', '06:10:00', '10:40:00', '13:40:00', '17:10:00', 8.0, NULL, 16, '2022-12-29 22:17:00', '2022-12-29 22:32:26', 0);
-INSERT INTO `sys_dept` VALUES (19, NULL, '人事3部', '06:10:00', '10:20:00', '13:30:00', '17:00:00', 7.7, NULL, 16, '2022-12-29 22:17:31', '2022-12-29 22:32:30', 0);
-INSERT INTO `sys_dept` VALUES (20, NULL, '运维4部', '06:00:00', '11:00:00', '13:00:00', '17:30:00', 9.5, NULL, 1, '2023-02-17 22:16:33', '2023-02-17 22:16:33', 0);
-
--- ----------------------------
--- Table structure for sys_docs
--- ----------------------------
-DROP TABLE IF EXISTS `sys_docs`;
-CREATE TABLE `sys_docs` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
- `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
- `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件类型',
- `old_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件的原名称',
- `md5` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件md5信息',
- `size` bigint UNSIGNED NULL DEFAULT NULL COMMENT '文件大小KB',
- `staff_id` int NULL DEFAULT NULL COMMENT '文件上传者id',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件备注',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0 COMMENT '0未删除,1已删除,默认为0',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 91 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文件表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of sys_docs
--- ----------------------------
-INSERT INTO `sys_docs` VALUES (1, '321ed1773f4ab3883e73.jpg', 'jpg', 'p7.jpg', '04989f48db70d5be991081da9207cc8d', 664, 1, '用户头像', '2022-03-31 19:23:31', '2023-01-14 20:43:59', 0);
-INSERT INTO `sys_docs` VALUES (2, '1837fd34d247d79facff.jpg', 'jpg', 'p8.jpg', '65e9462e351242ecf79a99237d528008', 463, 2, NULL, '2022-03-31 19:49:24', '2023-01-14 20:44:02', 0);
-INSERT INTO `sys_docs` VALUES (3, '321ed1773f4ab3883e73.jpg', 'jpg', 'p7.jpg', '04989f48db70d5be991081da9207cc8d', 664, 3, NULL, '2022-05-06 15:53:48', '2023-01-14 20:44:04', 1);
-INSERT INTO `sys_docs` VALUES (4, '246e3ac2454a6e999e4d.jpg', 'jpg', 'p4.jpg', 'd181f02527a7100ad940edb7d238f3a6', 366, 4, NULL, '2022-05-06 17:14:20', '2023-01-14 20:44:06', 1);
-INSERT INTO `sys_docs` VALUES (5, '246e3ac2454a6e999e4d.jpg', 'jpg', 'p4.jpg', 'd181f02527a7100ad940edb7d238f3a6', 366, 5, NULL, '2022-05-06 17:14:57', '2023-01-14 20:44:08', 0);
-INSERT INTO `sys_docs` VALUES (6, '246e3ac2454a6e999e4d.jpg', 'jpg', 'p4.jpg', 'd181f02527a7100ad940edb7d238f3a6', 366, 7, NULL, '2022-05-06 17:18:11', '2023-01-14 20:44:11', 1);
-INSERT INTO `sys_docs` VALUES (7, 'f86049588a426787050c.jpg', 'jpg', 'p16.jpg', '14a7858c87be310c48a5429577d63371', 706, 1, NULL, '2022-05-06 17:20:00', '2023-01-14 20:44:13', 0);
-INSERT INTO `sys_docs` VALUES (8, '549625fc3a4d79b823d4.xlsx', 'xlsx', '部门数据.xlsx', '25b47f6a70f4c4f2bc14aecacef6a05b', 9, 1, '部门考勤时间表', '2022-05-06 17:21:06', '2023-01-14 20:44:15', 0);
-INSERT INTO `sys_docs` VALUES (9, 'a9d818afca4b93a05047.xlsx', 'xlsx', '七月考勤机数据.xlsx', '2a5582c8f2edd6b3f19e4529952df622', 9, 1, '七月考勤数据', '2022-05-12 20:40:15', '2024-04-06 11:35:37', 1);
-INSERT INTO `sys_docs` VALUES (10, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2022-05-13 08:41:51', '2023-01-14 20:44:19', 0);
-INSERT INTO `sys_docs` VALUES (11, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2022-05-14 19:05:20', '2023-01-14 20:44:22', 0);
-INSERT INTO `sys_docs` VALUES (12, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2022-05-14 19:06:03', '2023-01-14 20:44:25', 1);
-INSERT INTO `sys_docs` VALUES (13, '321ed1773f4ab3883e73.jpg', 'jpg', 'p7.jpg', '04989f48db70d5be991081da9207cc8d', 664, 1, NULL, '2022-05-14 19:08:21', '2023-01-14 20:44:26', 1);
-INSERT INTO `sys_docs` VALUES (14, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2022-05-14 19:09:06', '2023-01-14 20:44:29', 1);
-INSERT INTO `sys_docs` VALUES (15, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2022-05-14 19:10:07', '2023-01-14 20:44:34', 1);
-INSERT INTO `sys_docs` VALUES (16, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 3, NULL, '2022-05-14 19:10:26', '2023-01-14 20:44:36', 1);
-INSERT INTO `sys_docs` VALUES (17, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 4, NULL, '2023-01-12 21:58:46', '2023-01-14 20:44:39', 0);
-INSERT INTO `sys_docs` VALUES (18, 'd24549d1ec4625b8985b.jpg', 'jpg', 'p21.jpg', 'b3db091864202253467dfdcde6e686ae', 428, 1, NULL, '2023-01-12 23:06:18', '2023-01-14 20:44:42', 0);
-INSERT INTO `sys_docs` VALUES (19, '679faa1f07427f9eb408.jpg', 'jpg', 'p1.jpg', 'e5384b8b89b47e3d0d12c98919e9fbd3', 368, 3, NULL, '2023-01-13 20:39:41', '2023-01-14 20:44:46', 0);
-INSERT INTO `sys_docs` VALUES (20, 'ea278b7591476992a89f.jpg', 'jpg', 'p2.jpg', '47479bb6ee1859b2a4bac82f2b48f7b3', 553, 4, NULL, '2023-01-13 20:45:44', '2023-01-14 20:44:50', 0);
-INSERT INTO `sys_docs` VALUES (21, '367decaff941e98ae727.jpg', 'jpg', 'p24.jpg', '48dba2b6d3f625db3d71a8aeafaad146', 314, 5, NULL, '2023-01-13 20:57:11', '2023-01-14 20:44:53', 0);
-INSERT INTO `sys_docs` VALUES (22, '7af58033ce4a4cafce49.jpg', 'jpg', 'p11.jpg', 'f29eab97e6c04bc8a359cc7325ccdafe', 56, 6, NULL, '2023-01-13 21:34:18', '2023-01-14 20:44:54', 0);
-INSERT INTO `sys_docs` VALUES (23, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 7, NULL, '2023-01-13 21:36:50', '2023-01-14 20:44:58', 0);
-INSERT INTO `sys_docs` VALUES (24, '2d9822743d437d995588.jpg', 'jpg', 'p23.jpg', '92c34b1357757bd99a6030963e7eca16', 343, 8, NULL, '2023-01-13 21:37:39', '2023-01-14 20:45:02', 0);
-INSERT INTO `sys_docs` VALUES (25, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2023-01-13 21:38:34', '2023-01-14 20:45:06', 0);
-INSERT INTO `sys_docs` VALUES (26, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-01-13 21:38:56', '2023-01-14 20:45:08', 0);
-INSERT INTO `sys_docs` VALUES (27, 'f86049588a426787050c.jpg', 'jpg', 'p16.jpg', '14a7858c87be310c48a5429577d63371', 706, 1, NULL, '2023-01-13 21:51:17', '2023-01-14 20:45:11', 0);
-INSERT INTO `sys_docs` VALUES (28, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-01-13 22:05:11', '2023-01-14 20:45:13', 0);
-INSERT INTO `sys_docs` VALUES (29, 'fdafbb9d8e486f8173bc.png', 'png', 'bike-riding.png', '8ee3e6d8ff326944177ada97ac0eddcd', 244, 1, NULL, '2023-01-13 22:16:55', '2023-01-14 20:45:15', 0);
-INSERT INTO `sys_docs` VALUES (30, '9a3483096a4fbfbc9ddd.jfif', 'jfif', 'p18.jfif', '6c7a6dde84a2ef5bc1f865676a6d1e1a', 14, 1, NULL, '2023-01-13 22:27:45', '2023-01-14 20:45:17', 0);
-INSERT INTO `sys_docs` VALUES (31, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 2, NULL, '2023-01-13 22:28:26', '2023-01-14 20:45:21', 0);
-INSERT INTO `sys_docs` VALUES (32, 'd0447f06f44ffc855176.jfif', 'jfif', '桥.jfif', '8937c895a6ba22b846e36bf483711514', 11, 2, NULL, '2023-01-13 23:07:39', '2023-01-14 20:45:26', 0);
-INSERT INTO `sys_docs` VALUES (33, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 2, NULL, '2023-01-13 23:13:29', '2023-01-14 20:45:28', 0);
-INSERT INTO `sys_docs` VALUES (34, '7af58033ce4a4cafce49.jpg', 'jpg', 'p11.jpg', 'f29eab97e6c04bc8a359cc7325ccdafe', 56, 2, NULL, '2023-01-13 23:25:46', '2023-01-14 20:45:32', 0);
-INSERT INTO `sys_docs` VALUES (35, '7b2be351244c07a73c17.png', 'png', '13283136664411027.png', '562fe80ad04680c07a21905cd76bfaa6', 335, 1, '打卡记录', '2023-01-18 22:13:16', '2023-01-18 22:13:16', 0);
-INSERT INTO `sys_docs` VALUES (36, 'f73f03365e46559e3be9.png', 'png', 'aliyun.png', '2b2ac5f2166cf0da5de168f82e6a51d4', 4, 1, NULL, '2023-01-18 22:23:50', '2023-01-18 22:23:50', 0);
-INSERT INTO `sys_docs` VALUES (37, 'b6288dc6084cb699385c.png', 'png', '微信图片_20210908091611.png', '3272a84fefdd5ccca3083fb2c39e3291', 99, 1, NULL, '2023-01-18 22:25:05', '2023-01-18 22:25:05', 0);
-INSERT INTO `sys_docs` VALUES (38, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-01-18 22:34:20', '2023-01-18 22:34:20', 0);
-INSERT INTO `sys_docs` VALUES (39, '91d5bfc50e4a84957389.md', 'md', '2020.09.29.md', '702741908915a942f115d26f7ee37dd6', 0, 1, NULL, '2023-01-30 21:05:41', '2023-01-30 21:08:18', 1);
-INSERT INTO `sys_docs` VALUES (40, '6f4b8d87af4fa6abed20.md', 'md', '2020.09.29.md', '702741908915a942f115d26f7ee37dd6', 0, 1, NULL, '2023-01-30 21:08:55', '2023-01-30 21:08:55', 0);
-INSERT INTO `sys_docs` VALUES (41, 'e168193b9b478fada3a8.jpg', 'jpg', 'avatar.jpg', '14a7a57de1e33443c21a2b383959b5fb', 524, 1, NULL, '2023-01-30 21:15:07', '2023-01-30 21:15:07', 0);
-INSERT INTO `sys_docs` VALUES (42, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-01-30 21:25:12', '2023-01-30 21:25:12', 0);
-INSERT INTO `sys_docs` VALUES (43, 'd55fc716c641b58b90ec.png', 'png', 'shop.png', 'd4bb42a03dee0ff3f0fab44bc758f23c', 8, 1, NULL, '2023-01-30 21:39:15', '2023-01-30 21:39:15', 0);
-INSERT INTO `sys_docs` VALUES (44, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-01-30 21:52:30', '2023-01-30 21:52:30', 0);
-INSERT INTO `sys_docs` VALUES (45, '846edf4ee54082ab74fb.png', 'png', 'centos.png', 'ef846128702e81d2db5ec2de0f39d752', 4, 1, NULL, '2023-01-30 21:53:26', '2023-01-30 21:53:26', 0);
-INSERT INTO `sys_docs` VALUES (46, '1de345e365444686d351.jpg', 'jpg', 'p14.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2023-02-02 00:44:39', '2023-02-02 00:44:39', 0);
-INSERT INTO `sys_docs` VALUES (47, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-02-14 12:09:14', '2023-02-14 12:09:14', 0);
-INSERT INTO `sys_docs` VALUES (48, 'b6288dc6084cb699385c.png', 'png', '微信图片_20210908091611.png', '3272a84fefdd5ccca3083fb2c39e3291', 99, 1, NULL, '2023-02-14 21:29:54', '2023-02-14 21:29:54', 0);
-INSERT INTO `sys_docs` VALUES (49, '7fa8f6cff14e978f6ce6.jpg', 'jpg', '微信图片_20210908091756.jpg', '5ee74edb84709e570a7653f8c3d278cb', 104, 1, NULL, '2023-02-14 21:38:09', '2023-02-14 21:38:09', 0);
-INSERT INTO `sys_docs` VALUES (50, 'b6288dc6084cb699385c.png', 'png', '微信图片_20210908091611.png', '3272a84fefdd5ccca3083fb2c39e3291', 99, 1, NULL, '2023-02-14 21:41:19', '2023-02-14 21:41:19', 0);
-INSERT INTO `sys_docs` VALUES (51, '9ee44e0dc945e5a41828.jpg', 'jpg', 'p19.jpg', '176b8a51e4f96c3dcd6806bbdf9de678', 5, 1, NULL, '2023-02-14 21:52:36', '2023-02-14 21:52:36', 0);
-INSERT INTO `sys_docs` VALUES (52, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-05 11:11:02', '2024-03-05 11:11:02', 0);
-INSERT INTO `sys_docs` VALUES (53, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-05 11:15:13', '2024-03-05 11:15:13', 0);
-INSERT INTO `sys_docs` VALUES (54, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-05 11:16:50', '2024-03-05 11:16:50', 0);
-INSERT INTO `sys_docs` VALUES (55, 'fdc2f2fd3e42779c4ca1.jpg', 'jpg', 'buildings_architecture_lake_144390_2560x1600.jpg', '2403e4c574188f4d401403b5a592bf01', 536, 1, NULL, '2024-03-05 11:23:20', '2024-03-05 11:23:20', 0);
-INSERT INTO `sys_docs` VALUES (56, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-05 11:23:51', '2024-03-05 11:23:51', 0);
-INSERT INTO `sys_docs` VALUES (57, '50c3cd7ced46abbe4093.jpg', 'jpg', 'night_city_aerial_view_lights_city_134887_2560x1600.jpg', 'fe29ae5a2fae37683cf6ea35cf33b350', 874, 1, NULL, '2024-03-05 11:25:44', '2024-03-05 11:25:44', 0);
-INSERT INTO `sys_docs` VALUES (58, '693c2156904974a5734f.jpg', 'jpg', 'city_aerial_view_road_156925_2560x1600.jpg', 'e9f076329ee50b1c92e4084ff3b06b9b', 853, 1, NULL, '2024-03-23 20:55:57', '2024-03-23 20:55:57', 0);
-INSERT INTO `sys_docs` VALUES (59, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-25 22:24:40', '2024-03-25 22:24:40', 0);
-INSERT INTO `sys_docs` VALUES (60, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-03-25 22:26:45', '2024-03-25 22:26:45', 0);
-INSERT INTO `sys_docs` VALUES (61, '7318a077ab4e8499e8b9.jpg', 'jpg', 'japan_shirakawa_houses_112963_2560x1600.jpg', '619b461948371269a3c43755e1967600', 786, 1, NULL, '2024-03-25 22:27:06', '2024-03-25 22:27:06', 0);
-INSERT INTO `sys_docs` VALUES (62, '646cec1d674c5fa595a5.png', 'png', '功能模块.png', '3cb2713d713de827dcdb72f9b6729761', 318, 1, NULL, '2024-04-04 22:35:12', '2024-04-04 22:35:12', 0);
-INSERT INTO `sys_docs` VALUES (63, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 09:55:13', '2024-04-05 09:55:13', 0);
-INSERT INTO `sys_docs` VALUES (64, '75bf86e97c43c88f2fa5.xlsx', 'xlsx', '加班数据导入样例.xlsx', 'a600bd02c3fd5a2da9e65b84d8a3983c', 9, 1, NULL, '2024-04-05 15:46:52', '2024-04-05 15:46:52', 0);
-INSERT INTO `sys_docs` VALUES (65, '646cec1d674c5fa595a5.png', 'png', '功能模块.png', '3cb2713d713de827dcdb72f9b6729761', 318, 1, NULL, '2024-04-05 16:07:51', '2024-04-05 16:07:51', 0);
-INSERT INTO `sys_docs` VALUES (66, '646cec1d674c5fa595a5.png', 'png', '功能.png', '3cb2713d713de827dcdb72f9b6729761', 318, 1, NULL, '2024-04-05 16:10:30', '2024-04-05 16:10:30', 0);
-INSERT INTO `sys_docs` VALUES (67, '5dcc0999734b09b08aee.xlsx', 'xlsx', '部门信息表.xlsx', '4b7005d90151dd7ff38ffdff7ae73d31', 5, 1, NULL, '2024-04-05 16:12:34', '2024-04-05 16:50:36', 0);
-INSERT INTO `sys_docs` VALUES (68, '11daf7f3aa4fbfaf876c.xlsx', 'xlsx', '部门信息表.xlsx', 'b1acd274461de13eb0e482b320a61eca', 10, 1, NULL, '2024-04-05 16:51:53', '2024-04-05 16:51:53', 0);
-INSERT INTO `sys_docs` VALUES (69, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 17:45:04', '2024-04-05 17:45:04', 0);
-INSERT INTO `sys_docs` VALUES (70, '646cec1d674c5fa595a5.png', 'png', '功能.png', '3cb2713d713de827dcdb72f9b6729761', 318, 1, NULL, '2024-04-05 17:47:43', '2024-04-05 17:47:43', 0);
-INSERT INTO `sys_docs` VALUES (71, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 19:46:11', '2024-04-05 19:46:11', 0);
-INSERT INTO `sys_docs` VALUES (72, '83fcdbcb4b450da4390e.png', 'png', '53affc1b8f3d34d4f3a0a9664456014f_2_Figure_1.png', '19d753d49274c3b0b239d1dd636d96d3', 69, 1, NULL, '2024-04-05 19:47:21', '2024-04-05 19:47:21', 0);
-INSERT INTO `sys_docs` VALUES (73, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 19:52:46', '2024-04-05 19:52:46', 0);
-INSERT INTO `sys_docs` VALUES (74, 'b2f66ce7ec4b54a0fea7.png', 'png', '3b5bafd44ee0fe296ddf13fa2bcaac48_1_Figure_1_-959557067.png', '2fa29d77aa18f52a3ffdcae2a3d10da0', 167, 1, NULL, '2024-04-05 20:36:46', '2024-04-05 20:36:46', 0);
-INSERT INTO `sys_docs` VALUES (75, '693c2156904974a5734f.jpg', 'jpg', 'city_aerial_view_road_156925_2560x1600.jpg', 'e9f076329ee50b1c92e4084ff3b06b9b', 853, 1, NULL, '2024-04-05 20:37:16', '2024-04-05 20:37:16', 0);
-INSERT INTO `sys_docs` VALUES (76, '646cec1d674c5fa595a5.png', 'png', '功能.png', '3cb2713d713de827dcdb72f9b6729761', 318, 1, NULL, '2024-04-05 20:40:32', '2024-04-05 20:40:32', 0);
-INSERT INTO `sys_docs` VALUES (77, 'cf27a645464dafa957ff.png', 'png', 'R-C.png', '537b67ddba8383fa69d63e23a2577553', 3176, 1, NULL, '2024-04-05 20:52:23', '2024-04-05 20:52:23', 0);
-INSERT INTO `sys_docs` VALUES (78, '64a85e1a3c4dfb83d267.jpg', 'jpg', '微信图片_20230904092629.jpg', 'fad37c8c31f5a4555799b7b84399e175', 180, 1, NULL, '2024-04-05 21:00:00', '2024-04-05 21:00:00', 0);
-INSERT INTO `sys_docs` VALUES (79, '826f7fffbd435284d3c7.jpg', 'jpg', '5c23d52f880511ebb6edd017c2d2eca2.jpg', 'd2d652f55cd647c3993cbf19ab45f831', 269, 1, NULL, '2024-04-05 21:07:19', '2024-04-05 21:07:19', 0);
-INSERT INTO `sys_docs` VALUES (80, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 22:06:49', '2024-04-05 22:06:49', 0);
-INSERT INTO `sys_docs` VALUES (81, '826f7fffbd435284d3c7.jpg', 'jpg', '5c23d52f880511ebb6edd017c2d2eca2.jpg', 'd2d652f55cd647c3993cbf19ab45f831', 269, 1, NULL, '2024-04-05 22:07:03', '2024-04-05 22:07:03', 0);
-INSERT INTO `sys_docs` VALUES (82, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 22:07:12', '2024-04-05 22:07:12', 0);
-INSERT INTO `sys_docs` VALUES (83, '7318a077ab4e8499e8b9.jpg', 'jpg', 'japan_shirakawa_houses_112963_2560x1600.jpg', '619b461948371269a3c43755e1967600', 786, 1, NULL, '2024-04-05 22:07:34', '2024-04-05 22:07:34', 0);
-INSERT INTO `sys_docs` VALUES (84, '826f7fffbd435284d3c7.jpg', 'jpg', '5c23d52f880511ebb6edd017c2d2eca2.jpg', 'd2d652f55cd647c3993cbf19ab45f831', 269, 1, NULL, '2024-04-05 22:08:34', '2024-04-05 22:08:34', 0);
-INSERT INTO `sys_docs` VALUES (85, '1de345e365444686d351.jpg', 'jpg', 'p1.jpg', 'd5e7f1b67e63ede94533476864a35009', 673, 1, NULL, '2024-04-05 22:09:09', '2024-04-05 22:09:09', 0);
-INSERT INTO `sys_docs` VALUES (86, '826f7fffbd435284d3c7.jpg', 'jpg', '5c23d52f880511ebb6edd017c2d2eca2.jpg', 'd2d652f55cd647c3993cbf19ab45f831', 269, 1, NULL, '2024-04-05 22:09:35', '2024-04-05 22:09:35', 0);
-INSERT INTO `sys_docs` VALUES (87, '90b02643334e5aa802c3.xlsx', 'xlsx', '员工请假记录表.xlsx', '38d42d2b63b00dce0091674aacf85ae1', 5, 1, NULL, '2024-04-06 11:23:58', '2024-04-06 11:23:58', 0);
-INSERT INTO `sys_docs` VALUES (88, '277e41bceb435b833a6f.txt', 'txt', '新建 文本文档.txt', '6481b70523c3e61ce88eba96dc42601c', 0, 1, NULL, '2024-04-06 11:28:39', '2024-04-06 11:28:39', 0);
-INSERT INTO `sys_docs` VALUES (89, '6e2a56b137425e87f0b9.jpg', 'jpg', 'night_city_street_car_113387_2560x1600.jpg', '32e3c4ea7467e3727d1f5fdcb3ca9b88', 557, 1, NULL, '2024-04-07 11:18:54', '2024-04-07 11:18:54', 0);
-INSERT INTO `sys_docs` VALUES (90, '826f7fffbd435284d3c7.jpg', 'jpg', '5c23d52f880511ebb6edd017c2d2eca2.jpg', 'd2d652f55cd647c3993cbf19ab45f831', 269, 1, NULL, '2024-04-07 11:26:01', '2024-04-07 11:26:01', 0);
-
--- ----------------------------
--- Table structure for sys_staff
--- ----------------------------
-DROP TABLE IF EXISTS `sys_staff`;
-CREATE TABLE `sys_staff` (
- `id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '员工id',
- `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '员工编码',
- `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '员工姓名',
- `gender` tinyint UNSIGNED NULL DEFAULT 0 COMMENT '性别,0男,1女,默认0',
- `pwd` char(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工密码',
- `avatar` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工头像',
- `birthday` date NULL DEFAULT NULL COMMENT '员工生日',
- `phone` char(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工电话',
- `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
- `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工备注',
- `dept_id` int UNSIGNED NULL DEFAULT NULL COMMENT '部门id',
- `status` tinyint UNSIGNED NOT NULL DEFAULT 1 COMMENT '员工状态,0异常,1正常',
- `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
- `update_time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
- `is_deleted` tinyint UNSIGNED NOT NULL DEFAULT 0 COMMENT '逻辑删除,0未删除,1已删除',
- PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '员工表' ROW_FORMAT = DYNAMIC;
-
--- ----------------------------
--- Records of sys_staff
--- ----------------------------
-INSERT INTO `sys_staff` VALUES (1, 'admin', '秋', 0, '$2a$10$hPdTHgqXy0hEAoSVu3BNAeq1H5vwHUUZ5XgQRLIwIGCouJLoTXNy2', '826f7fffbd435284d3c7.jpg', '2000-12-06', '13991849313', '广东', '四川南充的', 12, 1, '2022-01-22 19:46:27', '2024-04-28 10:57:34', 0);
-INSERT INTO `sys_staff` VALUES (2, 'staff_2', 'lucy', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1998-04-17', '', '长沙', '', 12, 1, '2022-02-22 19:47:58', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (3, 'staff_3', '清河', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-14', '15808425011', '南京', '', 13, 1, '2022-12-22 19:48:47', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (4, 'staff_4', 'john', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', NULL, NULL, '', 13, 1, '2022-10-22 19:49:42', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (5, 'staff_5', 'joy', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1997-01-01', NULL, NULL, '', 12, 1, '2022-01-27 14:32:37', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (6, 'staff_6', 'harden', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-06-01', NULL, NULL, '', 12, 1, '2022-01-27 14:36:17', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (7, 'staff_7', 'alice', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 13, 1, '2022-11-20 18:00:21', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (8, 'staff_8', '温婉', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '2000-10-19', NULL, '南充', '', 12, 1, '2022-02-20 18:00:54', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (9, 'staff_9', '司藤', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, '达那', '', 17, 1, '2022-03-20 18:01:04', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (10, 'staff_10', '秦放', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 5, 1, '2022-10-20 18:02:17', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (11, 'staff_11', '小雨', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 3, 0, '2022-02-20 20:06:01', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (12, 'staff_12', '小明', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', NULL, '南充', '', 12, 1, '2022-05-21 12:51:18', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (13, 'staff_13', '梧桐', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', NULL, '北京', '', 3, 1, '2022-09-21 12:59:00', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (14, 'staff_14', '福瑞', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1997-02-13', NULL, '苍城山', '', 10, 1, '2022-02-21 13:02:59', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (15, 'staff_15', '瓦房', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '2011-06-08', NULL, '苍城山', '', 8, 1, '2022-07-21 13:13:37', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (16, 'staff_16', '白金', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1999-06-25', NULL, '金陵', '', 3, 0, '2022-04-21 13:30:49', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (17, 'staff_17', '小王', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', NULL, '上海', '', 13, 1, '2022-12-21 14:19:38', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (18, 'staff_18', '白英', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '申海', '', 8, 1, '2022-03-21 23:55:31', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (19, 'staff_19', '西竹', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '禹航', '', 5, 1, '2022-02-22 11:31:00', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (20, 'staff_20', '跳跳', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '北京', '', 3, 1, '2022-06-22 11:53:28', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (21, 'staff_21', '何呵', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '杭州', '', 9, 1, '2022-03-22 19:46:27', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (22, 'staff_22', '秋冬', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '成都', '', 10, 0, '2022-01-22 19:46:27', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (23, 'staff_23', '林拜', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 3, 1, '2022-02-22 13:48:13', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (24, 'staff_24', '老板', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 2, 0, '2022-08-23 20:00:41', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (25, 'staff_25', '林致', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '武汉', '', 5, 0, '2022-01-22 19:46:27', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (26, 'staff_26', '柱子', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '武汉', '', 13, 1, '2022-08-25 16:52:55', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (27, 'staff_27', '秋天', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '13991849316', '武汉', '', 9, 1, '2022-02-26 09:34:31', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (28, 'staff_28', '李振', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', '', '北京', '', 10, 1, '2022-03-26 15:54:50', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (29, 'staff_29', '擎天', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 10, 0, '2022-02-26 15:58:19', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (30, 'staff_30', '秦汉', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1996-12-05', NULL, NULL, '', 9, 1, '2022-03-20 11:33:05', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (31, 'staff_31', '林玥', 1, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1997-03-13', NULL, NULL, '', 5, 1, '2022-03-20 11:43:40', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (32, 'staff_32', 'jooo', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1998-03-16', NULL, NULL, '', 12, 1, '2022-03-20 16:37:07', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (33, 'staff_33', '张三', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, '13991849316', '天津', '', 2, 1, '2022-03-20 16:57:01', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (34, 'staff_34', '李四', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, '13991849316', '北京', '', 2, 0, '2022-03-20 16:57:01', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (35, 'staff_35', '王五', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, '13991849316', '上海', '', 5, 1, '2022-03-20 16:57:01', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (36, 'staff_36', 'harden', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', NULL, NULL, NULL, '', 13, 0, '2022-12-28 21:18:12', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (37, 'staff_37', '李云龙', 0, '$2a$10$aF8D3SSjyDYLwwfTY3HKBelkHMhmgGivzbjT7KCq8qUj71XtLRvDm', '', '1989-07-12', '13990839927', '平安县', '', 19, 1, '2023-01-09 22:58:36', '2024-04-27 21:28:07', 0);
-INSERT INTO `sys_staff` VALUES (43, 'staff_43', '若依', 1, '$2a$10$5luvC4HpaIJQU02rFYKYAuXIKZg1LHp9GMbcnYZHTEgQiFnH9LtOi', NULL, '2010-06-05', NULL, '厦门', '', 17, 1, '2024-04-11 16:55:45', '2024-04-27 21:28:07', 0);
-
-SET FOREIGN_KEY_CHECKS = 1;
diff --git a/hrm/pom.xml b/hrm/pom.xml
deleted file mode 100644
index 15a2d01..0000000
--- a/hrm/pom.xml
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
- 4.0.0
-
-
- org.springframework.boot
- spring-boot-starter-parent
- 2.5.6
-
-
-
-
- com.qiujie
- hrm
- 0.0.1-SNAPSHOT
- hrm
- 人力资源管理系统
-
-
- 17
- 17
- 17
- UTF-8
- UTF-8
-
-
-
-
- org.springframework.boot
- spring-boot-starter-web
- 2.5.6
-
-
-
- org.springframework.boot
- spring-boot-starter-test
- 2.5.6
-
-
-
-
- org.springframework.boot
- spring-boot-starter-security
- 2.5.6
-
-
-
-
- org.springframework.boot
- spring-boot-starter-data-redis
- 2.5.6
-
-
-
- org.projectlombok
- lombok
- 1.18.22
-
-
-
- mysql
- mysql-connector-java
- 8.0.33
-
-
-
- com.baomidou
- mybatis-plus-boot-starter
- 3.5.1
-
-
-
- com.baomidou
- mybatis-plus-generator
- 3.5.1
-
-
-
-
- org.apache.velocity
- velocity-engine-core
- 2.3
-
-
-
-
- io.springfox
- springfox-swagger2
- 2.9.2
-
-
-
-
- io.springfox
- springfox-swagger-ui
- 2.9.2
-
-
-
-
- org.springframework.boot
- spring-boot-devtools
- 2.5.6
-
-
-
-
- io.jsonwebtoken
- jjwt-api
- 0.11.5
-
-
-
- io.jsonwebtoken
- jjwt-impl
- 0.11.5
-
-
-
- io.jsonwebtoken
- jjwt-jackson
- 0.11.5
-
-
-
-
- cn.hutool
- hutool-all
- 5.8.25
-
-
-
- org.apache.poi
- poi-ooxml
- 5.2.3
-
-
-
- org.apache.poi
- poi-ooxml-schemas
- 4.1.2
-
-
- xmlbeans
- org.apache.xmlbeans
-
-
-
-
-
- com.alibaba
- fastjson
- 2.0.22
-
-
-
- org.apache.commons
- commons-pool2
- 2.9.0
-
-
-
-
- org.activiti
- activiti-spring-boot-starter
- 7.0.0.GA
-
-
- mybatis
- org.mybatis
-
-
- commons-io
- commons-io
-
-
-
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
- 2.5.6
-
-
-
-
diff --git a/hrm/src/main/java/com/qiujie/HrmApplication.java b/hrm/src/main/java/com/qiujie/HrmApplication.java
deleted file mode 100644
index a48ca29..0000000
--- a/hrm/src/main/java/com/qiujie/HrmApplication.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package com.qiujie;
-
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.transaction.annotation.EnableTransactionManagement;
-
-
-@MapperScan("com.qiujie.mapper")
-@SpringBootApplication
-@EnableTransactionManagement // 事务
-public class HrmApplication {
- public static void main(String[] args) {
- SpringApplication.run(HrmApplication.class, args);
- }
-}
diff --git a/hrm/src/main/java/com/qiujie/annotation/ExcelColumn.java b/hrm/src/main/java/com/qiujie/annotation/ExcelColumn.java
deleted file mode 100644
index 68df6e5..0000000
--- a/hrm/src/main/java/com/qiujie/annotation/ExcelColumn.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.qiujie.annotation;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * @Author qiujie
- * @Date 2022/3/29
- * @Version 1.0
- */
-
-/**
- * 声明该注解类的生命周期
- * RUNTIME表示注解保留在程序运行期间,此时可以通过反射获得定义在某个类上的所有注解。
- */
-@Retention(RetentionPolicy.RUNTIME)
-// 定义注解作用的元素类型
-@Target(ElementType.FIELD)
-public @interface ExcelColumn {
-
- /**
- * 列的名称
- *
- * @return
- */
- String value() default "";
-
-
-}
diff --git a/hrm/src/main/java/com/qiujie/config/DataSourceConfig.java b/hrm/src/main/java/com/qiujie/config/DataSourceConfig.java
deleted file mode 100644
index 54867fe..0000000
--- a/hrm/src/main/java/com/qiujie/config/DataSourceConfig.java
+++ /dev/null
@@ -1,148 +0,0 @@
-package com.qiujie.config;
-
-import org.activiti.api.runtime.shared.identity.UserGroupManager;
-import org.activiti.engine.cfg.ProcessEngineConfigurator;
-import org.activiti.engine.impl.persistence.StrongUuidGenerator;
-import org.activiti.spring.SpringAsyncExecutor;
-import org.activiti.spring.SpringProcessEngineConfiguration;
-import org.activiti.spring.boot.AbstractProcessEngineAutoConfiguration;
-import org.activiti.spring.boot.ActivitiProperties;
-import org.activiti.spring.boot.ProcessDefinitionResourceFinder;
-import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer;
-import org.activiti.spring.boot.process.validation.AsyncPropertyValidator;
-import org.activiti.spring.bpmn.parser.CloudActivityBehaviorFactory;
-import org.activiti.validation.ProcessValidatorImpl;
-import org.activiti.validation.validator.ValidatorSet;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.boot.jdbc.DataSourceBuilder;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Primary;
-import org.springframework.core.io.Resource;
-import org.springframework.transaction.PlatformTransactionManager;
-
-import javax.sql.DataSource;
-import java.io.IOException;
-import java.util.HashSet;
-import java.util.List;
-
-@Configuration
-public class DataSourceConfig extends AbstractProcessEngineAutoConfiguration {
-
- @Primary
- @Bean
- @ConfigurationProperties(prefix = "spring.datasource.master")
- public DataSource masterDataSource() {
- return DataSourceBuilder.create().build();
- }
-
-
- @Bean
- @ConfigurationProperties(prefix = "spring.datasource.activiti")
- public DataSource activitiDataSource() {
- return DataSourceBuilder.create().build();
- }
-
- /**
- * activiti7的数据源配置
- * @param transactionManager
- * @param springAsyncExecutor
- * @param activitiProperties
- * @param processDefinitionResourceFinder
- * @param processEngineConfigurationConfigurer
- * @param processEngineConfigurators
- * @param userGroupManager
- * @return
- * @throws IOException
- */
- @Bean
- public SpringProcessEngineConfiguration springProcessEngineConfiguration(
- PlatformTransactionManager transactionManager,
- SpringAsyncExecutor springAsyncExecutor,
- ActivitiProperties activitiProperties,
- ProcessDefinitionResourceFinder processDefinitionResourceFinder,
- @Autowired(required = false) ProcessEngineConfigurationConfigurer processEngineConfigurationConfigurer,
- @Autowired(required = false) List processEngineConfigurators,
- UserGroupManager userGroupManager) throws IOException {
-
- SpringProcessEngineConfiguration conf = new SpringProcessEngineConfiguration();
- conf.setConfigurators(processEngineConfigurators);
- configureProcessDefinitionResources(processDefinitionResourceFinder,
- conf);
- conf.setDataSource(activitiDataSource());
- conf.setTransactionManager(transactionManager);
-
- if (springAsyncExecutor != null) {
- conf.setAsyncExecutor(springAsyncExecutor);
- }
- conf.setDeploymentName(activitiProperties.getDeploymentName());
- conf.setDatabaseSchema(activitiProperties.getDatabaseSchema());
- conf.setDatabaseSchemaUpdate(activitiProperties.getDatabaseSchemaUpdate());
- conf.setDbHistoryUsed(activitiProperties.isDbHistoryUsed());
- conf.setAsyncExecutorActivate(activitiProperties.isAsyncExecutorActivate());
- if (!activitiProperties.isAsyncExecutorActivate()) {
- ValidatorSet springBootStarterValidatorSet = new ValidatorSet("activiti-spring-boot-starter");
- springBootStarterValidatorSet.addValidator(new AsyncPropertyValidator());
- if (conf.getProcessValidator() == null) {
- ProcessValidatorImpl processValidator = new ProcessValidatorImpl();
- processValidator.addValidatorSet(springBootStarterValidatorSet);
- conf.setProcessValidator(processValidator);
- } else {
- conf.getProcessValidator().getValidatorSets().add(springBootStarterValidatorSet);
- }
- }
- conf.setMailServerHost(activitiProperties.getMailServerHost());
- conf.setMailServerPort(activitiProperties.getMailServerPort());
- conf.setMailServerUsername(activitiProperties.getMailServerUserName());
- conf.setMailServerPassword(activitiProperties.getMailServerPassword());
- conf.setMailServerDefaultFrom(activitiProperties.getMailServerDefaultFrom());
- conf.setMailServerUseSSL(activitiProperties.isMailServerUseSsl());
- conf.setMailServerUseTLS(activitiProperties.isMailServerUseTls());
-
- if (userGroupManager != null) {
- conf.setUserGroupManager(userGroupManager);
- }
-
- conf.setHistoryLevel(activitiProperties.getHistoryLevel());
- conf.setCopyVariablesToLocalForTasks(activitiProperties.isCopyVariablesToLocalForTasks());
- conf.setSerializePOJOsInVariablesToJson(activitiProperties.isSerializePOJOsInVariablesToJson());
- conf.setJavaClassFieldForJackson(activitiProperties.getJavaClassFieldForJackson());
-
- if (activitiProperties.getCustomMybatisMappers() != null) {
- conf.setCustomMybatisMappers(getCustomMybatisMapperClasses(activitiProperties.getCustomMybatisMappers()));
- }
-
- if (activitiProperties.getCustomMybatisXMLMappers() != null) {
- conf.setCustomMybatisXMLMappers(new HashSet<>(activitiProperties.getCustomMybatisXMLMappers()));
- }
-
- if (activitiProperties.getCustomMybatisXMLMappers() != null) {
- conf.setCustomMybatisXMLMappers(new HashSet<>(activitiProperties.getCustomMybatisXMLMappers()));
- }
-
- if (activitiProperties.isUseStrongUuids()) {
- conf.setIdGenerator(new StrongUuidGenerator());
- }
-
- if (activitiProperties.getDeploymentMode() != null) {
- conf.setDeploymentMode(activitiProperties.getDeploymentMode());
- }
-
- conf.setActivityBehaviorFactory(new CloudActivityBehaviorFactory());
-
- if (processEngineConfigurationConfigurer != null) {
- processEngineConfigurationConfigurer.configure(conf);
- }
-
- return conf;
- }
-
- private void configureProcessDefinitionResources(ProcessDefinitionResourceFinder processDefinitionResourceFinder,
- SpringProcessEngineConfiguration conf) throws IOException {
- List procDefResources = processDefinitionResourceFinder.discoverProcessDefinitionResources();
- if (!procDefResources.isEmpty()) {
- conf.setDeploymentResources(procDefResources.toArray(new Resource[0]));
- }
- }
-}
diff --git a/hrm/src/main/java/com/qiujie/config/HolidayConfig.java b/hrm/src/main/java/com/qiujie/config/HolidayConfig.java
deleted file mode 100644
index 6c7fea3..0000000
--- a/hrm/src/main/java/com/qiujie/config/HolidayConfig.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package com.qiujie.config;
-
-
-import lombok.Data;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
-
-import java.util.List;
-
-@Data
-@Component
-@ConfigurationProperties // 指明前缀,因为没有前缀,所以不用指明,默认为”“即可
-public class HolidayConfig {
- private List holidays;
-}
diff --git a/hrm/src/main/java/com/qiujie/config/MybatisPlusConfig.java b/hrm/src/main/java/com/qiujie/config/MybatisPlusConfig.java
deleted file mode 100644
index 6d611a6..0000000
--- a/hrm/src/main/java/com/qiujie/config/MybatisPlusConfig.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.qiujie.config;
-
-import com.baomidou.mybatisplus.annotation.DbType;
-import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
-import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * 分页插件
- */
-@Configuration
-@MapperScan("com.qiujie.mapper")
-public class MybatisPlusConfig {
-
- // 最新版
- @Bean
- public MybatisPlusInterceptor mybatisPlusInterceptor() {
- MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
- interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
- return interceptor;
- }
-}
diff --git a/hrm/src/main/java/com/qiujie/config/RedisConfig.java b/hrm/src/main/java/com/qiujie/config/RedisConfig.java
deleted file mode 100644
index d2e2984..0000000
--- a/hrm/src/main/java/com/qiujie/config/RedisConfig.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package com.qiujie.config;
-
-import com.fasterxml.jackson.annotation.JsonAutoDetect;
-import com.fasterxml.jackson.annotation.JsonTypeInfo;
-import com.fasterxml.jackson.annotation.PropertyAccessor;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.jsontype.impl.LaissezFaireSubTypeValidator;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.data.redis.connection.RedisConnectionFactory;
-import org.springframework.data.redis.core.RedisTemplate;
-import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
-import org.springframework.data.redis.serializer.StringRedisSerializer;
-
-@Configuration
-public class RedisConfig {
-
- @Bean
- public RedisTemplate redisTemplate(RedisConnectionFactory factory) {
- RedisTemplate redisTemplate = new RedisTemplate();
- redisTemplate.setConnectionFactory(factory);
- StringRedisSerializer stringRedisSerializer = new StringRedisSerializer();
- Jackson2JsonRedisSerializer