diff --git a/SYS.Application/Business/CashService.cs b/SYS.Application/Business/CashService.cs
index b25cc2c51b65212b08bff71efdf7588d84fd1993..ff318dbf873f74570e776ee3bef3d6411516a738 100644
--- a/SYS.Application/Business/CashService.cs
+++ b/SYS.Application/Business/CashService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Business/FontsService.cs b/SYS.Application/Business/FontsService.cs
index 10897c111ccc4b1b9e3d26a6a58f95a04a1e0a64..7a46f1986f3601485c537abad774ee10a5800c4e 100644
--- a/SYS.Application/Business/FontsService.cs
+++ b/SYS.Application/Business/FontsService.cs
@@ -1,4 +1,27 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using MySql.Data.MySqlClient;
using SYS.Common;
using SYS.Core;
using System;
diff --git a/SYS.Application/Business/ICashService.cs b/SYS.Application/Business/ICashService.cs
index a4ca955cc21edb036941c00eaff641fd671378e8..8720e5e73b34a06eb2c5d6b9f192a54e4d6e3a87 100644
--- a/SYS.Application/Business/ICashService.cs
+++ b/SYS.Application/Business/ICashService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/IFontsService.cs b/SYS.Application/Business/IFontsService.cs
index f84e2ffcdaf54153e89a7a7ef06c4370d9d21232..badc1955a78477e59936167aac38a990357e2631 100644
--- a/SYS.Application/Business/IFontsService.cs
+++ b/SYS.Application/Business/IFontsService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/IReserService.cs b/SYS.Application/Business/IReserService.cs
index b29c032de2f2f0a394af17ed3b240d59f3b2fb1b..6a246ed1c552a6148c766d32a2000315af6b219d 100644
--- a/SYS.Application/Business/IReserService.cs
+++ b/SYS.Application/Business/IReserService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/ISellService.cs b/SYS.Application/Business/ISellService.cs
index b7c8f8142ba3002bf5cfdb2aacd927d9d0a3542a..b367a1f60c39ae6fe32415b1df80b57d3e9a0a56 100644
--- a/SYS.Application/Business/ISellService.cs
+++ b/SYS.Application/Business/ISellService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/ISpendService.cs b/SYS.Application/Business/ISpendService.cs
index c7d280d73776281de3ce826b022592a5f462f61e..128682d1b46d86f840dbd90a0e207d00194fe54c 100644
--- a/SYS.Application/Business/ISpendService.cs
+++ b/SYS.Application/Business/ISpendService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/IWtiService.cs b/SYS.Application/Business/IWtiService.cs
index 9ff161e5f61d856ca951462ac0f7895ddbda1e6b..38c145d1be0ac7cfe53f8548fb58c7228cc9b9ba 100644
--- a/SYS.Application/Business/IWtiService.cs
+++ b/SYS.Application/Business/IWtiService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Business/ReserService.cs b/SYS.Application/Business/ReserService.cs
index 3ca24686d8dcde2a79a92e257f439c91d9b28ce5..c2f89ef081a0db19fdae80fced1d225453b67be0 100644
--- a/SYS.Application/Business/ReserService.cs
+++ b/SYS.Application/Business/ReserService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
diff --git a/SYS.Application/Business/SellService.cs b/SYS.Application/Business/SellService.cs
index 352ee78e48a2244039cab4bf03c91f8e4e3bb3cb..fbbe9f030edc11eb994f7ef1b769c6f6817a386a 100644
--- a/SYS.Application/Business/SellService.cs
+++ b/SYS.Application/Business/SellService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
diff --git a/SYS.Application/Business/SpendService.cs b/SYS.Application/Business/SpendService.cs
index 3a30991c6772944c29c8facd8961f07397f7e1d1..080b370450b9f979d1364de47ae76265ff3679c1 100644
--- a/SYS.Application/Business/SpendService.cs
+++ b/SYS.Application/Business/SpendService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Business/WtiService.cs b/SYS.Application/Business/WtiService.cs
index 82a3e2616a93cd1f05087cc6d2b32f8c55279659..8d93457eb2f9d6e88c0e7e2f69640a2120885165 100644
--- a/SYS.Application/Business/WtiService.cs
+++ b/SYS.Application/Business/WtiService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
diff --git a/SYS.Application/Customer/CheckInfoService.cs b/SYS.Application/Customer/CheckInfoService.cs
index 354737b4aacb255400d2ffa81de9b373febe3332..34e406fcd8558391bcaf94ba20286c73b57ed52c 100644
--- a/SYS.Application/Customer/CheckInfoService.cs
+++ b/SYS.Application/Customer/CheckInfoService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Customer/CustoService.cs b/SYS.Application/Customer/CustoService.cs
index 8816d4e86a31c97d029520c56a7fa77d6f1adcf2..8d6020be10b3668a78d68ae466d0ef8c37f3c2f4 100644
--- a/SYS.Application/Customer/CustoService.cs
+++ b/SYS.Application/Customer/CustoService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Customer/ICheckInfoService.cs b/SYS.Application/Customer/ICheckInfoService.cs
index ec2a7d2c762be0243c3b49b4d8496aac193f2133..d59f11874f3939aeaa61ab272c00d23ad801545c 100644
--- a/SYS.Application/Customer/ICheckInfoService.cs
+++ b/SYS.Application/Customer/ICheckInfoService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Customer/ICustoService.cs b/SYS.Application/Customer/ICustoService.cs
index c2ddb9c33d1d5c86bd06c3939ad3e8ba9d637fd7..160b061680be9a19da688d7a3e291a16858f5c43 100644
--- a/SYS.Application/Customer/ICustoService.cs
+++ b/SYS.Application/Customer/ICustoService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Room/IRoomService.cs b/SYS.Application/Room/IRoomService.cs
index 158d3fc37432d87ee4f3bc73da6f9aad3ca26500..773a724011ca55d4b63ead2eaac39b5821bd39a1 100644
--- a/SYS.Application/Room/IRoomService.cs
+++ b/SYS.Application/Room/IRoomService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Room/IRoomTypeService.cs b/SYS.Application/Room/IRoomTypeService.cs
index c1737acea79f446934d300476224ea15adcafe1f..a82497eb18c4086ffb04e5763718ffd9896f7fcf 100644
--- a/SYS.Application/Room/IRoomTypeService.cs
+++ b/SYS.Application/Room/IRoomTypeService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Room/RoomService.cs b/SYS.Application/Room/RoomService.cs
index 365daf561a3dcdcfd794d51d3bc3e6b9325b1025..73f3dab43894cdb48a96e03a342eaaf2c61f00b4 100644
--- a/SYS.Application/Room/RoomService.cs
+++ b/SYS.Application/Room/RoomService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Room/RoomTypeService.cs b/SYS.Application/Room/RoomTypeService.cs
index c8804d8f531a1b32b0672d4f407967f1e675dee3..f51711ee5e078d9a878397ac15ba41fca6285fb5 100644
--- a/SYS.Application/Room/RoomTypeService.cs
+++ b/SYS.Application/Room/RoomTypeService.cs
@@ -1,4 +1,27 @@
-using System.Collections.Generic;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
using SYS.Core;
diff --git a/SYS.Application/Worker/IWorkerCheckService.cs b/SYS.Application/Worker/IWorkerCheckService.cs
index d28a921648034c0891d53cdbace6e167c73539db..a67ac0db7d4dbf887471db9f77473211a69f4a0c 100644
--- a/SYS.Application/Worker/IWorkerCheckService.cs
+++ b/SYS.Application/Worker/IWorkerCheckService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Worker/IWorkerGoodBadService.cs b/SYS.Application/Worker/IWorkerGoodBadService.cs
index d860cf808483d090da27744392398e69e7315ca0..d709da1959a239e5c2a8f10605270af217cbba6c 100644
--- a/SYS.Application/Worker/IWorkerGoodBadService.cs
+++ b/SYS.Application/Worker/IWorkerGoodBadService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Worker/IWorkerHistoryService.cs b/SYS.Application/Worker/IWorkerHistoryService.cs
index 70f826752cb7cfa65ea20e056a29431e67856469..55f84e6ca4736e586f2f71b30f01da37f8bb00f7 100644
--- a/SYS.Application/Worker/IWorkerHistoryService.cs
+++ b/SYS.Application/Worker/IWorkerHistoryService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Worker/IWorkerService.cs b/SYS.Application/Worker/IWorkerService.cs
index c8d6f66ab506dfd2bd38bff3a9f0538fab406867..ae1fdbf8a0233c7bf46a1e8f389fb6928de2227b 100644
--- a/SYS.Application/Worker/IWorkerService.cs
+++ b/SYS.Application/Worker/IWorkerService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Worker/WorkerCheckService.cs b/SYS.Application/Worker/WorkerCheckService.cs
index ae1f6930a2e92aa9ee0a827fee18ae1da3837cfb..9aad694aebeb576ab14b28cf0c95bc8e67f26764 100644
--- a/SYS.Application/Worker/WorkerCheckService.cs
+++ b/SYS.Application/Worker/WorkerCheckService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Worker/WorkerGoodBadService.cs b/SYS.Application/Worker/WorkerGoodBadService.cs
index f3fb3686f44f4f202457bedd4ca90c3d7520dff8..13797d2b4d8804ea041c64d17cb4787c20e7ace4 100644
--- a/SYS.Application/Worker/WorkerGoodBadService.cs
+++ b/SYS.Application/Worker/WorkerGoodBadService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System.Linq;
diff --git a/SYS.Application/Worker/WorkerHistoryService.cs b/SYS.Application/Worker/WorkerHistoryService.cs
index ef8f61584433813c8dd182848d174932e622ce62..617ede6750eaa280dc16a65d30704b72553aea58 100644
--- a/SYS.Application/Worker/WorkerHistoryService.cs
+++ b/SYS.Application/Worker/WorkerHistoryService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
diff --git a/SYS.Application/Worker/WorkerService.cs b/SYS.Application/Worker/WorkerService.cs
index 795ed8c4dbd41063615554e6c8ecab608a86553c..d3f5e75a87ad1d05974aaa3d05d604d6f674a39e 100644
--- a/SYS.Application/Worker/WorkerService.cs
+++ b/SYS.Application/Worker/WorkerService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
diff --git a/SYS.Application/Zero/AdminService.cs b/SYS.Application/Zero/AdminService.cs
index f8c5bcb4c249b5ec39693e9448949f22d3714817..866dabff31b91d68f392d601cb194ae3ca0f3913 100644
--- a/SYS.Application/Zero/AdminService.cs
+++ b/SYS.Application/Zero/AdminService.cs
@@ -1,4 +1,27 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using MySql.Data.MySqlClient;
using SYS.Common;
using SYS.Core;
using System;
diff --git a/SYS.Application/Zero/BaseService.cs b/SYS.Application/Zero/BaseService.cs
index ab82a79e75db28a18b3a7545b3860fed25fac0db..7100864835a4b75ca71fe1c1433c698d6ebcdef4 100644
--- a/SYS.Application/Zero/BaseService.cs
+++ b/SYS.Application/Zero/BaseService.cs
@@ -1,4 +1,27 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using MySql.Data.MySqlClient;
using SYS.Common;
using SYS.Core;
using System;
diff --git a/SYS.Application/Zero/IAdminService.cs b/SYS.Application/Zero/IAdminService.cs
index d1ecdd0dfc332e399ed41c58cfa68c21918d6449..91bf5fbcaf4c50729a7b8da2b92a8b65435a360c 100644
--- a/SYS.Application/Zero/IAdminService.cs
+++ b/SYS.Application/Zero/IAdminService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
namespace SYS.Application
{
diff --git a/SYS.Application/Zero/IBaseService.cs b/SYS.Application/Zero/IBaseService.cs
index fecffcbb015dd4c9fa90a380556403d665c823dd..a26e54114296e44a7cf1e56ef1250d9f3ce8d40c 100644
--- a/SYS.Application/Zero/IBaseService.cs
+++ b/SYS.Application/Zero/IBaseService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/SYS.Application/Zero/INoticeService.cs b/SYS.Application/Zero/INoticeService.cs
index 05d74d762c83343cdbcc79a6de4899050c134b85..f1763298053a3a906a6e4910799eb947b43d9138 100644
--- a/SYS.Application/Zero/INoticeService.cs
+++ b/SYS.Application/Zero/INoticeService.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System.Collections.Generic;
namespace SYS.Application
diff --git a/SYS.Application/Zero/IOperationlogService.cs b/SYS.Application/Zero/IOperationlogService.cs
index 0e4ead1518855f3eaa3c260d106bba78df631a11..cab563e25512c99ebf07a7b143eba40271ec60f9 100644
--- a/SYS.Application/Zero/IOperationlogService.cs
+++ b/SYS.Application/Zero/IOperationlogService.cs
@@ -1,6 +1,47 @@
-namespace SYS.Application
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
+using System.Collections.Generic;
+
+namespace SYS.Application
{
- internal interface IOperationlogService
+ ///
+ /// 操作日志数据访问层
+ ///
+ public interface IOperationlogService
{
+ ///
+ /// 添加操作日志
+ ///
+ ///
+ ///
+ bool InsertOperationLog(OperationLog opr);
+
+ ///
+ /// 查询所有操作日志
+ ///
+ ///
+ List SelectOperationlogAll();
}
}
\ No newline at end of file
diff --git a/SYS.Application/Zero/NoticeService.cs b/SYS.Application/Zero/NoticeService.cs
index 14ad99ee98b3085a3a08563f8d2cac54131e1388..b0802e0a832d2da64954b0f70d53b2e8f72ffb38 100644
--- a/SYS.Application/Zero/NoticeService.cs
+++ b/SYS.Application/Zero/NoticeService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using SYS.Common;
diff --git a/SYS.Application/Zero/OperationlogService.cs b/SYS.Application/Zero/OperationlogService.cs
index 3930091f2dc96847f9bc0716d028ab51848242c5..e828e5f284510b96932410e618bf8e76b8ab2b5b 100644
--- a/SYS.Application/Zero/OperationlogService.cs
+++ b/SYS.Application/Zero/OperationlogService.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
@@ -20,7 +43,11 @@ namespace SYS.Application
///
public bool InsertOperationLog(OperationLog opr)
{
- return base.Insert(opr);
+ if (AdminInfo.isAdmin == false)
+ {
+ return base.Insert(opr);
+ }
+ return true;
}
///
diff --git a/SYS.Core/Business/Cash.cs b/SYS.Core/Business/Cash.cs
index 4b21922ccf158c0b5848cfb7d3f52d8804192c7d..b8aced3ab75a255b3ea927c65af82559c2fd3836 100644
--- a/SYS.Core/Business/Cash.cs
+++ b/SYS.Core/Business/Cash.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:资产类
+ */
+using System;
namespace SYS.Core
{
///
diff --git a/SYS.Core/Business/Fonts.cs b/SYS.Core/Business/Fonts.cs
index 97394884dd44d4acd47eed5f78e493b4329d699b..0f7efa90f75a746fd5aa76120944a6b1e4c223dc 100644
--- a/SYS.Core/Business/Fonts.cs
+++ b/SYS.Core/Business/Fonts.cs
@@ -1,4 +1,28 @@
-namespace SYS.Core
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:宣传联动类
+ */
+namespace SYS.Core
{
///
/// 酒店宣传联动内容
diff --git a/SYS.Core/Business/Reser.cs b/SYS.Core/Business/Reser.cs
index bee468a8c9bb97b3a6bbdac9abfd1b7c3bb42107..79729fa8e965db357914809682984afdd970e4ea 100644
--- a/SYS.Core/Business/Reser.cs
+++ b/SYS.Core/Business/Reser.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:预约类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Business/SellThing.cs b/SYS.Core/Business/SellThing.cs
index 324f057314fc3d9de4db6615470b8a6b3ba6c86c..142f5b4e05a448c4ce743237421022a654c70b3a 100644
--- a/SYS.Core/Business/SellThing.cs
+++ b/SYS.Core/Business/SellThing.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:商品信息类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Business/Spend.cs b/SYS.Core/Business/Spend.cs
index c13a1c52f4e067207a015000558f0082688d9c7c..8bdf835d71e96c47be1467c64f0c6a5276607236 100644
--- a/SYS.Core/Business/Spend.cs
+++ b/SYS.Core/Business/Spend.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:消费信息类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Business/Wti.cs b/SYS.Core/Business/Wti.cs
index 83ba302629e1d932e95a2d38371cbcb54e2e8162..bd5c2fc9bb2e843b1cf58a60b3989fb7a578a960 100644
--- a/SYS.Core/Business/Wti.cs
+++ b/SYS.Core/Business/Wti.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:水电信息类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Customer/Custo.cs b/SYS.Core/Customer/Custo.cs
index a83ca1fd07fe793c0d38357f85091ff615a41d79..2cb892ba0e4702d2686b8d6cc712426e30fe2dd3 100644
--- a/SYS.Core/Customer/Custo.cs
+++ b/SYS.Core/Customer/Custo.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:客户信息类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Customer/CustoSpend.cs b/SYS.Core/Customer/CustoSpend.cs
index cf09ffd476223bff2c25fc5c12d422ba9fe029ec..f8e05e8902e406f2b078696d6db6399735ae5759 100644
--- a/SYS.Core/Customer/CustoSpend.cs
+++ b/SYS.Core/Customer/CustoSpend.cs
@@ -1,4 +1,28 @@
-namespace SYS.Core
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:酒店盈利情况类
+ */
+namespace SYS.Core
{
///
/// 酒店盈利情况
diff --git a/SYS.Core/Customer/CustoType.cs b/SYS.Core/Customer/CustoType.cs
index 9deac50fed2e61d2bd78ec4833f12e46f8bce138..d8cc1fbce2544005d5849415138edebf0c0091ee 100644
--- a/SYS.Core/Customer/CustoType.cs
+++ b/SYS.Core/Customer/CustoType.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:客户类型类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Customer/PassPortType.cs b/SYS.Core/Customer/PassPortType.cs
index 3a731af79990814e195fd42420a79ecfc9201867..1be960af2999887f570b925c794b163677d79ad7 100644
--- a/SYS.Core/Customer/PassPortType.cs
+++ b/SYS.Core/Customer/PassPortType.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:证件类型类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Customer/SexType.cs b/SYS.Core/Customer/SexType.cs
index 95572093cbe61a2b7befa1a537afe427ff27a53c..18948d826fbd7f9044854c7a5c784544af587c84 100644
--- a/SYS.Core/Customer/SexType.cs
+++ b/SYS.Core/Customer/SexType.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:性别类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Room/CheckInfo.cs b/SYS.Core/Room/CheckInfo.cs
index 5f41af041c9a26cd5c84fec0f2e9c71c79712607..9bea6c37681971b581463d46431cf62a256c5eff 100644
--- a/SYS.Core/Room/CheckInfo.cs
+++ b/SYS.Core/Room/CheckInfo.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:监管统计类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Room/Room.cs b/SYS.Core/Room/Room.cs
index 45a5fee4f3cbf59c0954b5c95a18e8fbcd1ddaab..9b4e473a8c2a49a8ee2eeceb98c3f8e15bacfcb9 100644
--- a/SYS.Core/Room/Room.cs
+++ b/SYS.Core/Room/Room.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Room/RoomState.cs b/SYS.Core/Room/RoomState.cs
index f6db47461940f2527a5ba480ef19218b92c81550..4e1d39011378015c8af943d9c8ba260b137d1c96 100644
--- a/SYS.Core/Room/RoomState.cs
+++ b/SYS.Core/Room/RoomState.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间状态类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Room/RoomType.cs b/SYS.Core/Room/RoomType.cs
index fac494f936aa19c778acae8eb6fe0b006122f152..2fd8fe1cf2139146470b1c0d52a7db02f5c77393 100644
--- a/SYS.Core/Room/RoomType.cs
+++ b/SYS.Core/Room/RoomType.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:房间类型类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Util/ApplicationVersionUtil.cs b/SYS.Core/Util/ApplicationVersionUtil.cs
index 5fb2f0fec449ca5f52093d8cf0bac5fa86eaf98f..7c1d201dcc0b63a94761fde4d238bdf0a8366b94 100644
--- a/SYS.Core/Util/ApplicationVersionUtil.cs
+++ b/SYS.Core/Util/ApplicationVersionUtil.cs
@@ -1,4 +1,28 @@
-using SYS.Common;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:检测软件版本
+ */
+using SYS.Common;
using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/SYS.Core/Util/CounterHelper.cs b/SYS.Core/Util/CounterHelper.cs
index 9fe42c98286e1a147a3c58d8b44a63a7d2a030a8..293428cb17974f206ad7e40a243a9fc06db6ca22 100644
--- a/SYS.Core/Util/CounterHelper.cs
+++ b/SYS.Core/Util/CounterHelper.cs
@@ -1,4 +1,28 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:流水号规格
+ */
+using MySql.Data.MySqlClient;
using SYS.Common;
using System;
using System.Collections.Generic;
diff --git a/SYS.Core/Util/DBHelper.cs b/SYS.Core/Util/DBHelper.cs
index 2e4875ddd3fe20d088d3444f5a0699482d086830..cb6665ac5438a112ec2c926583f59769d8aa8dfb 100644
--- a/SYS.Core/Util/DBHelper.cs
+++ b/SYS.Core/Util/DBHelper.cs
@@ -1,3 +1,27 @@
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:数据库配置类
+ */
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
diff --git a/SYS.Core/Util/IDCardUtil.cs b/SYS.Core/Util/IDCardUtil.cs
index a149f70462d96fd26e6f00c3d4351e3a760c642f..25f705ff2fd99c7bdbf93b68ebc36564fec1a6f3 100644
--- a/SYS.Core/Util/IDCardUtil.cs
+++ b/SYS.Core/Util/IDCardUtil.cs
@@ -1,4 +1,28 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:身份证号码工具类
+ */
+using MySql.Data.MySqlClient;
using SYS.Common;
using System;
using System.Collections.Generic;
diff --git a/SYS.Core/Util/Md5LockedUtil.cs b/SYS.Core/Util/Md5LockedUtil.cs
index 1d9e57e81fd716178716ef5463fcba6dc6fe8292..97356bb8410b2cd373403b7905e07cb69e57d165 100644
--- a/SYS.Core/Util/Md5LockedUtil.cs
+++ b/SYS.Core/Util/Md5LockedUtil.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:MD5加密工具类
+ */
+using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
diff --git a/SYS.Core/Worker/GBType.cs b/SYS.Core/Worker/GBType.cs
index 2a42b8947ab2c99cac29a899482fa6ea582a5da1..82a0055ee5de8a981f9b1670bec83a45181303f1 100644
--- a/SYS.Core/Worker/GBType.cs
+++ b/SYS.Core/Worker/GBType.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:奖惩类型类
+ */
+using System;
namespace SYS.Application
{
diff --git a/SYS.Core/Worker/Worker.cs b/SYS.Core/Worker/Worker.cs
index 19ce2a6a6fa67c98995689f4b2cd046d1d000d08..957fa1e5da66dcb79f2a56457d58d594aac64c8b 100644
--- a/SYS.Core/Worker/Worker.cs
+++ b/SYS.Core/Worker/Worker.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:员工信息类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Worker/WorkerCheck.cs b/SYS.Core/Worker/WorkerCheck.cs
index 56728c5ac353daeda271a4600cca165ed24f65f4..95e856614477d6bec5750f3d859e8655802c00be 100644
--- a/SYS.Core/Worker/WorkerCheck.cs
+++ b/SYS.Core/Worker/WorkerCheck.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:打卡考勤类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Worker/WorkerGoodBad.cs b/SYS.Core/Worker/WorkerGoodBad.cs
index 3aad6608784c0751d462f205af4307aca540df86..b0bd8525e3586d35c8894f1d25419d08d1e76380 100644
--- a/SYS.Core/Worker/WorkerGoodBad.cs
+++ b/SYS.Core/Worker/WorkerGoodBad.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:员工奖惩类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Worker/WorkerHistory.cs b/SYS.Core/Worker/WorkerHistory.cs
index e518c486c3d96044530e818444daf1102ff2bc12..1fe7b45a9162e73a0dbb8b25442a3a50ff4d7704 100644
--- a/SYS.Core/Worker/WorkerHistory.cs
+++ b/SYS.Core/Worker/WorkerHistory.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:履历类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Zero/Admin.cs b/SYS.Core/Zero/Admin.cs
index 9aac840dc4dca86211f79b94637409454d1d974c..cd099dfc9859655c9f21b6d6be73b2843868f468 100644
--- a/SYS.Core/Zero/Admin.cs
+++ b/SYS.Core/Zero/Admin.cs
@@ -1,4 +1,27 @@
-
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:管理员实体类
+ */
namespace SYS.Core
{
///
diff --git a/SYS.Core/Zero/AdminInfo.cs b/SYS.Core/Zero/AdminInfo.cs
index 1237e4c40050859b961090d3c8ef42498dccd1f6..35c961cee1d109cd57a21677ab0fea71595cd307 100644
--- a/SYS.Core/Zero/AdminInfo.cs
+++ b/SYS.Core/Zero/AdminInfo.cs
@@ -1,4 +1,28 @@
-namespace SYS.Core
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:管理员信息静态类
+ */
+namespace SYS.Core
{
public class AdminInfo
{
@@ -22,7 +46,10 @@
///
public static string Name = "";
-
+ ///
+ /// 是否为超管
+ ///
+ public static bool isAdmin;
}
}
diff --git a/SYS.Core/Zero/Dept.cs b/SYS.Core/Zero/Dept.cs
index c35c0abbce47ee6f284314fe966e211a9fb82ec7..02c65bfb677c189469f265096d4ecbefe8f0c4b7 100644
--- a/SYS.Core/Zero/Dept.cs
+++ b/SYS.Core/Zero/Dept.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:部门实体类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Zero/Education.cs b/SYS.Core/Zero/Education.cs
index 4061f22f70f5e6fe72078bfb29f7fed509948e0a..f2f1f8617b952d0785fbf6c41bdd304358ba1d5c 100644
--- a/SYS.Core/Zero/Education.cs
+++ b/SYS.Core/Zero/Education.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:学历类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Zero/LoginInfo.cs b/SYS.Core/Zero/LoginInfo.cs
index f4a545bba22af2d5480c06ccf4e3647162474858..122d6170ee7481b77f847926b8bdf4e27d6c0384 100644
--- a/SYS.Core/Zero/LoginInfo.cs
+++ b/SYS.Core/Zero/LoginInfo.cs
@@ -1,4 +1,28 @@
-namespace SYS.Core
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:登录信息静态类
+ */
+namespace SYS.Core
{
public static class LoginInfo
{
diff --git a/SYS.Core/Zero/Nation.cs b/SYS.Core/Zero/Nation.cs
index 38a414fa7cfc085f8d5aeacb3a0f637bc62552d0..b46ff40a17f19486f1ab702605dec4a57798b742 100644
--- a/SYS.Core/Zero/Nation.cs
+++ b/SYS.Core/Zero/Nation.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:民族类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.Core/Zero/Notice.cs b/SYS.Core/Zero/Notice.cs
index 644c48a831aa94908b1b6d122892cc052cb027b7..d4de5debe7654b223a57512f9e8d061a5641da95 100644
--- a/SYS.Core/Zero/Notice.cs
+++ b/SYS.Core/Zero/Notice.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:任命公告类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Zero/OperationLog.cs b/SYS.Core/Zero/OperationLog.cs
index 36032b1cd15e58add2989a4c6b2283d934d7594c..4bff29c1714f38dfeff9c6f6ef66adfb68b6ed91 100644
--- a/SYS.Core/Zero/OperationLog.cs
+++ b/SYS.Core/Zero/OperationLog.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:操作日志类
+ */
+using System;
namespace SYS.Core
{
diff --git a/SYS.Core/Zero/position.cs b/SYS.Core/Zero/position.cs
index 48ec3bf301fa1eaf2ae406b366b42854e0a2d38d..a924e960ea485a0f70a05f609dfc7b69e4890676 100644
--- a/SYS.Core/Zero/position.cs
+++ b/SYS.Core/Zero/position.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ *模块说明:职务类
+ */
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/SYS.FormUI/AppFunction/FrmAboutUs.cs b/SYS.FormUI/AppFunction/FrmAboutUs.cs
index 60c55128a33fc23cd5fa2e4fa0f8be19c24f8a75..2c5ab6201b99d6113fe7cb5476586f20640ee83c 100644
--- a/SYS.FormUI/AppFunction/FrmAboutUs.cs
+++ b/SYS.FormUI/AppFunction/FrmAboutUs.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Drawing;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmAddRoom.cs b/SYS.FormUI/AppFunction/FrmAddRoom.cs
index 3b007931299d23acc0370871b3716e07c207c5c4..62c7b12c95bfa6081df0619cc5d94b54fede2a28 100644
--- a/SYS.FormUI/AppFunction/FrmAddRoom.cs
+++ b/SYS.FormUI/AppFunction/FrmAddRoom.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Data;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmAddWorker.cs b/SYS.FormUI/AppFunction/FrmAddWorker.cs
index 657be19ef6d19b745b493f82d6cfae736e901d26..bfb29a5c2a58dc402b55dc329cfef96878105b9c 100644
--- a/SYS.FormUI/AppFunction/FrmAddWorker.cs
+++ b/SYS.FormUI/AppFunction/FrmAddWorker.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using System.Drawing;
diff --git a/SYS.FormUI/AppFunction/FrmCash.cs b/SYS.FormUI/AppFunction/FrmCash.cs
index 11492aa965e2242591d025367b1e957406222196..ae75914f150fb886b10c9a5284d5c1ed0c92d983 100644
--- a/SYS.FormUI/AppFunction/FrmCash.cs
+++ b/SYS.FormUI/AppFunction/FrmCash.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using Sunny.UI;
using SYS.Application;
diff --git a/SYS.FormUI/AppFunction/FrmChangeAdminPwd.cs b/SYS.FormUI/AppFunction/FrmChangeAdminPwd.cs
index 7480ba093531de02c9ef0eea32f376cebcb4b45a..1451d2a87d4d0763eb211f4c5438aec2cccbae2f 100644
--- a/SYS.FormUI/AppFunction/FrmChangeAdminPwd.cs
+++ b/SYS.FormUI/AppFunction/FrmChangeAdminPwd.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using System;
diff --git a/SYS.FormUI/AppFunction/FrmChangePosition.cs b/SYS.FormUI/AppFunction/FrmChangePosition.cs
index fd3954405522986d3dce56ca1d286844ac88b9a9..e8e5878cdbeb32e6276c446f59b59bcc7b230b3e 100644
--- a/SYS.FormUI/AppFunction/FrmChangePosition.cs
+++ b/SYS.FormUI/AppFunction/FrmChangePosition.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmChangeRoom.cs b/SYS.FormUI/AppFunction/FrmChangeRoom.cs
index 8586def5c3c5304bd47e49247a3fa6f906e1ebd2..5732cba01d95b339c7546ed1470ab7a60febc2b3 100644
--- a/SYS.FormUI/AppFunction/FrmChangeRoom.cs
+++ b/SYS.FormUI/AppFunction/FrmChangeRoom.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using SYS.Core;
using Sunny.UI;
diff --git a/SYS.FormUI/AppFunction/FrmChangeWorker.cs b/SYS.FormUI/AppFunction/FrmChangeWorker.cs
index 2cad23438f3920ae03f59c3a8d4090673af860a4..cb4d2d2158d884b386339c706dba64d6aabadd1e 100644
--- a/SYS.FormUI/AppFunction/FrmChangeWorker.cs
+++ b/SYS.FormUI/AppFunction/FrmChangeWorker.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Drawing;
using System.Windows.Forms;
using Sunny.UI;
@@ -7,6 +30,9 @@ using SYS.FormUI.Properties;
namespace SYS.FormUI
{
+ ///
+ /// 员工操作界面
+ ///
public partial class FrmChangeWorker : Form
{
public static string wk_WorkerNo;
diff --git a/SYS.FormUI/AppFunction/FrmChart.cs b/SYS.FormUI/AppFunction/FrmChart.cs
index a0b4e439a9c39165a62c68c19f0cf45b2dd34b3e..fe0f2bd4d086774d459b8f722e82653959ad5058 100644
--- a/SYS.FormUI/AppFunction/FrmChart.cs
+++ b/SYS.FormUI/AppFunction/FrmChart.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Sunny.UI;
diff --git a/SYS.FormUI/AppFunction/FrmCheckIn.cs b/SYS.FormUI/AppFunction/FrmCheckIn.cs
index 519e9725c2fcc5b087ab53a363bc42308fa78af4..a206d91995a0489253d20082252a4637d0ead6bd 100644
--- a/SYS.FormUI/AppFunction/FrmCheckIn.cs
+++ b/SYS.FormUI/AppFunction/FrmCheckIn.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmCheckInfo.cs b/SYS.FormUI/AppFunction/FrmCheckInfo.cs
index 507f37a0dae816f4fb64bc3048eaa16d1513bcde..752810c3276682b2e73289241acf63e7b3bc396b 100644
--- a/SYS.FormUI/AppFunction/FrmCheckInfo.cs
+++ b/SYS.FormUI/AppFunction/FrmCheckInfo.cs
@@ -1,4 +1,27 @@
-using SYS.Application;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Application;
using System;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmCheckList.cs b/SYS.FormUI/AppFunction/FrmCheckList.cs
index c18aa08ca8adf7691ceb926e63379c41ce88439e..7baf294c30abf8d1e2ac8c9a31ab6db0a64775d6 100644
--- a/SYS.FormUI/AppFunction/FrmCheckList.cs
+++ b/SYS.FormUI/AppFunction/FrmCheckList.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using System;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmCheckOutForm.cs b/SYS.FormUI/AppFunction/FrmCheckOutForm.cs
index 4b2f8e147b18e86df5d4d08198d4b21e00106b19..459cea878be2dc8aaf3e1aeaa0611fd79a8e90da 100644
--- a/SYS.FormUI/AppFunction/FrmCheckOutForm.cs
+++ b/SYS.FormUI/AppFunction/FrmCheckOutForm.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Drawing;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmCustoManager.cs b/SYS.FormUI/AppFunction/FrmCustoManager.cs
index db2c6026c29dab4913b2269fe761499da842c935..f6c5269706abf6253326924644988fe2b88bc81a 100644
--- a/SYS.FormUI/AppFunction/FrmCustoManager.cs
+++ b/SYS.FormUI/AppFunction/FrmCustoManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmCustoSpend.cs b/SYS.FormUI/AppFunction/FrmCustoSpend.cs
index b2e7676cdcbb04de2eaec8b45f1bf014012ad100..45a7c207b92092a2fb9ec3d4ac830e38d30d820f 100644
--- a/SYS.FormUI/AppFunction/FrmCustoSpend.cs
+++ b/SYS.FormUI/AppFunction/FrmCustoSpend.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using System;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmCustomerManager.cs b/SYS.FormUI/AppFunction/FrmCustomerManager.cs
index ce5d6273740a6074bc53eca4341a6fb68a4352c3..88f67e704bf7bdd27899d95be583c403a240b21e 100644
--- a/SYS.FormUI/AppFunction/FrmCustomerManager.cs
+++ b/SYS.FormUI/AppFunction/FrmCustomerManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using MySql.Data.MySqlClient;
using System.Text.RegularExpressions;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmDepartment.cs b/SYS.FormUI/AppFunction/FrmDepartment.cs
index dcec4f33fb5d9b0543e7fa68eafff11598d9825a..ef9672ac1cb602a2592f24d244a85ea7eaabd472 100644
--- a/SYS.FormUI/AppFunction/FrmDepartment.cs
+++ b/SYS.FormUI/AppFunction/FrmDepartment.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using SYS.FormUI.Properties;
diff --git a/SYS.FormUI/AppFunction/FrmEducation.cs b/SYS.FormUI/AppFunction/FrmEducation.cs
index b2c4baa0b7e8b6bc942822c0deca413dab7872a0..23bed65d3d6e47d70b65928508fc5eb8de14211a 100644
--- a/SYS.FormUI/AppFunction/FrmEducation.cs
+++ b/SYS.FormUI/AppFunction/FrmEducation.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using SYS.FormUI.Properties;
diff --git a/SYS.FormUI/AppFunction/FrmGoodOrBad.cs b/SYS.FormUI/AppFunction/FrmGoodOrBad.cs
index 80cceb810a91e49c4126c2fd054a09d4dbcf2a0c..8347596e5fc5c8ec2266694b542ae7a904296d6e 100644
--- a/SYS.FormUI/AppFunction/FrmGoodOrBad.cs
+++ b/SYS.FormUI/AppFunction/FrmGoodOrBad.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
diff --git a/SYS.FormUI/AppFunction/FrmInputs.cs b/SYS.FormUI/AppFunction/FrmInputs.cs
index a17af3d597a10db7c787fb182126ac1fed986b4c..2fd952e6f6a30bba0e5f339c6ba63db1fd2766c2 100644
--- a/SYS.FormUI/AppFunction/FrmInputs.cs
+++ b/SYS.FormUI/AppFunction/FrmInputs.cs
@@ -1,4 +1,27 @@
-using MySql.Data.MySqlClient;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using MySql.Data.MySqlClient;
using Sunny.UI;
using SYS.Application;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmMySpace.cs b/SYS.FormUI/AppFunction/FrmMySpace.cs
index ebe0c20c7e499e2325ff77c13feb7142e1a5dc70..c06974ba048bbedd3e1e819a4a932a451f8d2858 100644
--- a/SYS.FormUI/AppFunction/FrmMySpace.cs
+++ b/SYS.FormUI/AppFunction/FrmMySpace.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using System;
diff --git a/SYS.FormUI/AppFunction/FrmNation.cs b/SYS.FormUI/AppFunction/FrmNation.cs
index c55c3cc16862505d98073af129de4476f8abef4b..6587719beff5c136454b600f893b711da8a541d4 100644
--- a/SYS.FormUI/AppFunction/FrmNation.cs
+++ b/SYS.FormUI/AppFunction/FrmNation.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using SYS.FormUI.Properties;
diff --git a/SYS.FormUI/AppFunction/FrmNotice.cs b/SYS.FormUI/AppFunction/FrmNotice.cs
index ca27b9a0fbea43427e621aa09595fdf9a878089d..25dcd3ea05279b0b78e8abb5e0d2487c2b356a85 100644
--- a/SYS.FormUI/AppFunction/FrmNotice.cs
+++ b/SYS.FormUI/AppFunction/FrmNotice.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using System;
diff --git a/SYS.FormUI/AppFunction/FrmOperation.cs b/SYS.FormUI/AppFunction/FrmOperation.cs
index 7c94f689883a268d7efeed1c048d555e1cf15e8e..2457854b631535e9f1594b33b887ba65ffa58a08 100644
--- a/SYS.FormUI/AppFunction/FrmOperation.cs
+++ b/SYS.FormUI/AppFunction/FrmOperation.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using System;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmPosition.cs b/SYS.FormUI/AppFunction/FrmPosition.cs
index 7e037cd63518132f17ebed194735478fdca4ad74..065be8371324d280a9100b966c2b0dd86c04a4e2 100644
--- a/SYS.FormUI/AppFunction/FrmPosition.cs
+++ b/SYS.FormUI/AppFunction/FrmPosition.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using SYS.FormUI.Properties;
diff --git a/SYS.FormUI/AppFunction/FrmReserList.Designer.cs b/SYS.FormUI/AppFunction/FrmReserList.Designer.cs
index 1a58d34e90be62d5aa9f36b59c3c3345f4c9b7fd..ba6f5cf483c8651299fb9a452e89b05d7e3d6844 100644
--- a/SYS.FormUI/AppFunction/FrmReserList.Designer.cs
+++ b/SYS.FormUI/AppFunction/FrmReserList.Designer.cs
@@ -51,7 +51,6 @@
this.txtTel = new Sunny.UI.UITextBox();
this.dtpBirthday = new Sunny.UI.UIDatePicker();
this.txtCustoAdress = new Sunny.UI.UITextBox();
- this.picGetCustoNo = new System.Windows.Forms.PictureBox();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
@@ -63,7 +62,6 @@
this.label2 = new System.Windows.Forms.Label();
this.btnSelect = new Sunny.UI.UIButton();
((System.ComponentModel.ISupportInitialize)(this.dgvReserList)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.picGetCustoNo)).BeginInit();
this.SuspendLayout();
//
// dgvReserList
@@ -326,17 +324,6 @@
this.txtCustoAdress.StyleCustomMode = true;
this.txtCustoAdress.TabIndex = 126;
//
- // picGetCustoNo
- //
- this.picGetCustoNo.BackColor = System.Drawing.Color.Transparent;
- this.picGetCustoNo.BackgroundImage = global::SYS.FormUI.Properties.Resources.获取用户编号;
- this.picGetCustoNo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.picGetCustoNo.Location = new System.Drawing.Point(376, 298);
- this.picGetCustoNo.Name = "picGetCustoNo";
- this.picGetCustoNo.Size = new System.Drawing.Size(21, 20);
- this.picGetCustoNo.TabIndex = 123;
- this.picGetCustoNo.TabStop = false;
- //
// label10
//
this.label10.AutoSize = true;
@@ -456,7 +443,6 @@
this.Controls.Add(this.txtTel);
this.Controls.Add(this.dtpBirthday);
this.Controls.Add(this.txtCustoAdress);
- this.Controls.Add(this.picGetCustoNo);
this.Controls.Add(this.label10);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
@@ -473,7 +459,6 @@
this.Text = "预约列表";
this.Load += new System.EventHandler(this.FrmReserList_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvReserList)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.picGetCustoNo)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -498,7 +483,6 @@
private Sunny.UI.UITextBox txtTel;
private Sunny.UI.UIDatePicker dtpBirthday;
private Sunny.UI.UITextBox txtCustoAdress;
- private System.Windows.Forms.PictureBox picGetCustoNo;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label8;
diff --git a/SYS.FormUI/AppFunction/FrmReserList.cs b/SYS.FormUI/AppFunction/FrmReserList.cs
index f213036e95e545dd729d9f8d05d16d131229fa04..3bc1d4c4f818124474db3e0e694979903972ea17 100644
--- a/SYS.FormUI/AppFunction/FrmReserList.cs
+++ b/SYS.FormUI/AppFunction/FrmReserList.cs
@@ -90,7 +90,7 @@ namespace SYS.FormUI
new ReserService().DeleteReserInfo(dgvReserList.SelectedRows[0].Cells["clReserNo"].Value.ToString());
scope.Complete();
}
- MessageBox.Show("操作成功");
+ UIMessageBox.ShowSuccess("操作成功");
dgvReserList.AutoGenerateColumns = false;
dgvReserList.DataSource = new ReserService().SelectReserAll();
@@ -98,11 +98,10 @@ namespace SYS.FormUI
private void dgvReserList_CellClick(object sender, DataGridViewCellEventArgs e)
{
- string custoNo = new CounterHelper().GetNewId("ReserId");
+ string custoNo = new CounterHelper().GetNewId("CustoId");
txtCustoNo.Text = custoNo;
txtCustoName.Text = dgvReserList.SelectedRows[0].Cells["clCustoNm"].Value.ToString();
txtTel.Text = dgvReserList.SelectedRows[0].Cells["clTel"].Value.ToString();
-
}
private void txtCardID_Validated(object sender, EventArgs e)
@@ -112,7 +111,7 @@ namespace SYS.FormUI
if (string.IsNullOrEmpty(identityCard))
{
//身份证号码不能为空,如果为空返回
- MessageBox.Show("身份证号码不能为空!");
+ UIMessageBox.ShowError("身份证号码不能为空!");
if (txtCardID.CanFocus)
{
txtCardID.Focus();//设置当前输入焦点为txtCardID_identityCard
@@ -124,7 +123,7 @@ namespace SYS.FormUI
//身份证号码只能为15位或18位其它不合法
if (identityCard.Length != 15 && identityCard.Length != 18)
{
- MessageBox.Show("身份证号码为15位或18位,请检查!");
+ UIMessageBox.ShowWarning("身份证号码为15位或18位,请检查!");
if (txtCardID.CanFocus)
{
txtCardID.Focus();
@@ -157,9 +156,8 @@ namespace SYS.FormUI
}
catch
{
- MessageBox.Show("请正确输入证件号码!");
+ UIMessageBox.ShowError("请正确输入证件号码!");
}
- //cbPassportType.SelectedIndex = 0;
}
}
diff --git a/SYS.FormUI/AppFunction/FrmReserManager.cs b/SYS.FormUI/AppFunction/FrmReserManager.cs
index a0f46c50bd571110a1a7e498456794c6fd8f1b6c..10c00727f97e80838b81aacb45fd344d587b2781 100644
--- a/SYS.FormUI/AppFunction/FrmReserManager.cs
+++ b/SYS.FormUI/AppFunction/FrmReserManager.cs
@@ -44,7 +44,7 @@ namespace SYS.FormUI
if (result1 == true && result2 == true)
{
- MessageBox.Show("预约成功!请在指定时间内进行登记入住");
+ UIMessageBox.ShowSuccess("预约成功!请在指定时间内进行登记入住");
#region 获取添加操作日志所需的信息
OperationLog o = new OperationLog();
o.OperationTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd,HH:mm:ss"));
diff --git a/SYS.FormUI/AppFunction/FrmRoomManager.cs b/SYS.FormUI/AppFunction/FrmRoomManager.cs
index 3b3cd2c28123b80616fa1533b565a8a9f9f9e76b..f920db7e3e9639208f757072ae96d9fb55ad1029 100644
--- a/SYS.FormUI/AppFunction/FrmRoomManager.cs
+++ b/SYS.FormUI/AppFunction/FrmRoomManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmRoomMap.cs b/SYS.FormUI/AppFunction/FrmRoomMap.cs
index 03359292f98c435d866b0f2804b94e047447324f..5c47e2634ab64c10b6c7220b9d2dcfa5f06065b8 100644
--- a/SYS.FormUI/AppFunction/FrmRoomMap.cs
+++ b/SYS.FormUI/AppFunction/FrmRoomMap.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using SYS.Core;
using System;
diff --git a/SYS.FormUI/AppFunction/FrmRoomStateManager.cs b/SYS.FormUI/AppFunction/FrmRoomStateManager.cs
index d15151a627e7b736898de658ea23e139639d697b..2fdab1d9bdfd7d95756591d06208870766aa67c3 100644
--- a/SYS.FormUI/AppFunction/FrmRoomStateManager.cs
+++ b/SYS.FormUI/AppFunction/FrmRoomStateManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using SYS.Core;
using Sunny.UI;
diff --git a/SYS.FormUI/AppFunction/FrmSelectCustoInfo.cs b/SYS.FormUI/AppFunction/FrmSelectCustoInfo.cs
index 258ace2bcf8ec8e074b1b24ceedec8f528d82713..3771a0b6975385065677b2fe9c674aba6388a9f9 100644
--- a/SYS.FormUI/AppFunction/FrmSelectCustoInfo.cs
+++ b/SYS.FormUI/AppFunction/FrmSelectCustoInfo.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using SYS.Core;
using Sunny.UI;
diff --git a/SYS.FormUI/AppFunction/FrmSellThing.cs b/SYS.FormUI/AppFunction/FrmSellThing.cs
index 07bd06adb8420c8bee3c361cfe36689ad4036824..4e6e42941c38c86c54a604ed0f1339531faebb2b 100644
--- a/SYS.FormUI/AppFunction/FrmSellThing.cs
+++ b/SYS.FormUI/AppFunction/FrmSellThing.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmSellThingManager.cs b/SYS.FormUI/AppFunction/FrmSellThingManager.cs
index 949f2d38db165091ce2793e9d40c2679d7c3558a..a32b080d4d6102fce41108e7614b62ee7fb38d01 100644
--- a/SYS.FormUI/AppFunction/FrmSellThingManager.cs
+++ b/SYS.FormUI/AppFunction/FrmSellThingManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmSexType.cs b/SYS.FormUI/AppFunction/FrmSexType.cs
index 6360056cd588d190d7bea44d4789b5f7609dea1c..7a3e81c7c5e7fab89b51ffcc002b55024006eafc 100644
--- a/SYS.FormUI/AppFunction/FrmSexType.cs
+++ b/SYS.FormUI/AppFunction/FrmSexType.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/SYS.FormUI/AppFunction/FrmUnLockSystem.cs b/SYS.FormUI/AppFunction/FrmUnLockSystem.cs
index f94f3409f47bcbde08f9896432611fa00e3c0291..0f45b7b7019a2850f9d1d5daa81d90761470b0cb 100644
--- a/SYS.FormUI/AppFunction/FrmUnLockSystem.cs
+++ b/SYS.FormUI/AppFunction/FrmUnLockSystem.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
diff --git a/SYS.FormUI/AppFunction/FrmUpLoadNotice.cs b/SYS.FormUI/AppFunction/FrmUpLoadNotice.cs
index 6fc8be51d79a6687b5abbdeed3a34faca6a6691c..fc754694875a5ce727ac65af35e80b14a2a8cf9b 100644
--- a/SYS.FormUI/AppFunction/FrmUpLoadNotice.cs
+++ b/SYS.FormUI/AppFunction/FrmUpLoadNotice.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using MySql.Data.MySqlClient;
using System.Windows.Forms;
using SYS.Core;
diff --git a/SYS.FormUI/AppFunction/FrmWorkerCheckInfo.cs b/SYS.FormUI/AppFunction/FrmWorkerCheckInfo.cs
index 15069fc20a20aeaebf737f87b23e73c311b36d62..da8d4ca14fdc8c062fc8d43edee8e6fde50502ac 100644
--- a/SYS.FormUI/AppFunction/FrmWorkerCheckInfo.cs
+++ b/SYS.FormUI/AppFunction/FrmWorkerCheckInfo.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Application;
using System;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppFunction/FrmWorkerManager.cs b/SYS.FormUI/AppFunction/FrmWorkerManager.cs
index 3db31e4f9bca563cd5d8465b2da82cfff4ecf145..df968228a05ba7820845a22363b7e03d6f57eedd 100644
--- a/SYS.FormUI/AppFunction/FrmWorkerManager.cs
+++ b/SYS.FormUI/AppFunction/FrmWorkerManager.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.ComponentModel;
using System.Windows.Forms;
using Sunny.UI;
diff --git a/SYS.FormUI/AppFunction/FrmWtiInfo.cs b/SYS.FormUI/AppFunction/FrmWtiInfo.cs
index 5e733c9de8ded1e7ab10a36d807d928f5e73ada6..f71c3461e9498f75af36a7c5e6f79d887d8bab0d 100644
--- a/SYS.FormUI/AppFunction/FrmWtiInfo.cs
+++ b/SYS.FormUI/AppFunction/FrmWtiInfo.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using Sunny.UI;
using SYS.Application;
diff --git a/SYS.FormUI/AppInterface/FrmAdminEnter.cs b/SYS.FormUI/AppInterface/FrmAdminEnter.cs
index 6b6424c0186af170f342ae52428964cfe69bacd2..5a57296010b289867fe8c94fb244d08e9d3fc091 100644
--- a/SYS.FormUI/AppInterface/FrmAdminEnter.cs
+++ b/SYS.FormUI/AppInterface/FrmAdminEnter.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Windows.Forms;
using SYS.Core;
using Sunny.UI;
@@ -29,6 +52,7 @@ namespace SYS.FormUI
AdminInfo.Type = a.AdminType;
AdminInfo.Name = a.AdminName;
AdminInfo.Account = a.AdminAccount;
+ AdminInfo.isAdmin = a.IsAdmin == 0 ? false : true;
FrmBackgroundSystem fm = new FrmBackgroundSystem();
fm.Show();//打开主窗体
this.Hide();//隐藏登录窗体
diff --git a/SYS.FormUI/AppInterface/FrmLogin.cs b/SYS.FormUI/AppInterface/FrmLogin.cs
index a9cfca72e7a75aa5ebc2d0260370c2ac6f0eb457..a8d38800251b27d5f9fbbac1a5aec2a143f1b2db 100644
--- a/SYS.FormUI/AppInterface/FrmLogin.cs
+++ b/SYS.FormUI/AppInterface/FrmLogin.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
diff --git a/SYS.FormUI/AppMain/FrmBackgroundSystem.cs b/SYS.FormUI/AppMain/FrmBackgroundSystem.cs
index eca38c94dade60022a9d9d5026b6e9c5ef1f217e..607e0d0a809a14a259b1171f85d289873cdc12b4 100644
--- a/SYS.FormUI/AppMain/FrmBackgroundSystem.cs
+++ b/SYS.FormUI/AppMain/FrmBackgroundSystem.cs
@@ -1,4 +1,27 @@
-using Sunny.UI;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using Sunny.UI;
using SYS.Core;
using SYS.FormUI.AppFunction;
using System;
diff --git a/SYS.FormUI/AppMain/FrmMain.cs b/SYS.FormUI/AppMain/FrmMain.cs
index e6de08fa828af26e0850e598691bcd5b9f6af059..51ab3c6552c8a4e9574d6330cd1ee77f197cc40c 100644
--- a/SYS.FormUI/AppMain/FrmMain.cs
+++ b/SYS.FormUI/AppMain/FrmMain.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
diff --git a/SYS.FormUI/AppUserControls/ucBaseInformation.cs b/SYS.FormUI/AppUserControls/ucBaseInformation.cs
index 4f29833d66bf3a2defb3c786b2ed2c4ceef0d525..fba6c29d531d61ee84f0a6e2c93c066dec38733a 100644
--- a/SYS.FormUI/AppUserControls/ucBaseInformation.cs
+++ b/SYS.FormUI/AppUserControls/ucBaseInformation.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/SYS.FormUI/AppUserControls/ucEducationInformation.cs b/SYS.FormUI/AppUserControls/ucEducationInformation.cs
index 1aaaf5b58b01372384c1748f4f84e77afbdcc66a..4d8c201e3a0a794ddadb04b839e91736c40be317 100644
--- a/SYS.FormUI/AppUserControls/ucEducationInformation.cs
+++ b/SYS.FormUI/AppUserControls/ucEducationInformation.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/SYS.FormUI/AppUserControls/ucHistory.cs b/SYS.FormUI/AppUserControls/ucHistory.cs
index de1a42ec9bb69a3326381a59e89598df6084c09b..4190fdd8a90fb3f79e97745552ed62b0383751ad 100644
--- a/SYS.FormUI/AppUserControls/ucHistory.cs
+++ b/SYS.FormUI/AppUserControls/ucHistory.cs
@@ -1,4 +1,27 @@
-using System.Windows.Forms;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System.Windows.Forms;
namespace SYS.FormUI
{
diff --git a/SYS.FormUI/AppUserControls/ucPositionInformation.cs b/SYS.FormUI/AppUserControls/ucPositionInformation.cs
index b29d56c441a1baf7c4b71ef2ef60ea324bccc5d4..9fc77f2465ca1481a2e6ac280f6ee5b3d1cdb41b 100644
--- a/SYS.FormUI/AppUserControls/ucPositionInformation.cs
+++ b/SYS.FormUI/AppUserControls/ucPositionInformation.cs
@@ -1,4 +1,27 @@
-using SYS.Core;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using SYS.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
diff --git a/SYS.FormUI/AppUserControls/ucRoomList.cs b/SYS.FormUI/AppUserControls/ucRoomList.cs
index 7cf6a0df787973aabd896516a3cd4a0b1821d49d..1906e32d136902c683ce55422d7a75db2f717dbb 100644
--- a/SYS.FormUI/AppUserControls/ucRoomList.cs
+++ b/SYS.FormUI/AppUserControls/ucRoomList.cs
@@ -7,6 +7,7 @@ using System.Windows.Forms;
using SYS.Core;
using SYS.FormUI.Properties;
using SYS.Application;
+using Sunny.UI;
namespace SYS.FormUI
{
@@ -277,18 +278,10 @@ namespace SYS.FormUI
rm_RoomType = lblRoomType.Text;
rm_RoomMoney = Convert.ToDecimal(romCustoInfo.RoomMoney).ToString();
rm_RoomStateId = 4;
- DialogResult dr = MessageBox.Show("欢迎入住,请先注册客户信息!", "友情提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
- if (dr == DialogResult.Yes)
- {
- FrmReserList frm = new FrmReserList();
- frm.ShowDialog();
- }
- else
- {
- MessageBox.Show("无法完成入住操作!");
- }
- //FrmCheckIn frm = new FrmCheckIn();
- //frm.Show();
+ UIMessageBox.ShowInfo("欢迎入住,请先注册客户信息!");
+ FrmReserList frm = new FrmReserList();
+ frm.ShowDialog();
+ return;
}
else
{
diff --git a/SYS.FormUI/Program.cs b/SYS.FormUI/Program.cs
index 8cbda971e1584b15f7ad755c774776cb2aedf414..a552a5dcfe2120b7052ef48cdd2a4e6458adb7da 100644
--- a/SYS.FormUI/Program.cs
+++ b/SYS.FormUI/Program.cs
@@ -1,4 +1,27 @@
-using System;
+/*
+ * MIT License
+ *Copyright (c) 2021 咖啡与网络(java-and-net)
+
+ *Permission is hereby granted, free of charge, to any person obtaining a copy
+ *of this software and associated documentation files (the "Software"), to deal
+ *in the Software without restriction, including without limitation the rights
+ *to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ *copies of the Software, and to permit persons to whom the Software is
+ *furnished to do so, subject to the following conditions:
+
+ *The above copyright notice and this permission notice shall be included in all
+ *copies or substantial portions of the Software.
+
+ *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ *IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ *FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ *AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ *LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ *OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ *SOFTWARE.
+ *
+ */
+using System;
using System.ComponentModel;
using System.Windows.Forms;
diff --git a/SYS.FormUI/SYS.FormUI.csproj b/SYS.FormUI/SYS.FormUI.csproj
index 1511501b4c0598428a57bd8aee0f4fe25826e6f6..ac11de4f7083d179b94d36d3019aa9eaacc55e8d 100644
--- a/SYS.FormUI/SYS.FormUI.csproj
+++ b/SYS.FormUI/SYS.FormUI.csproj
@@ -69,7 +69,7 @@
true
- true
+ false
SYS.FormUI.Program
diff --git a/SYS.FormUI/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/SYS.FormUI/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 7edf5eb75efd416c78ef644063658204a67cca47..ee5ac63bf1b1a4ee2e9b38f3df33641c8a97fc54 100644
Binary files a/SYS.FormUI/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/SYS.FormUI/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ