├── Common ├── .vs │ └── Common │ │ └── v14 │ │ └── .suo ├── Common.sln └── Common │ ├── AnyscSocketServer.cs │ ├── AppConfig.cs │ ├── ClassBuilder.cs │ ├── Common.csproj │ ├── Common.csproj.user │ ├── CommonExtendManager.cs │ ├── Cryptography │ ├── BKDRManaged.cs │ ├── HashAlgorithm.cs │ ├── KeyedHashAlgorithm.cs │ ├── RSACryptoAlgorithm.cs │ ├── RandomGenerator.cs │ ├── SaltedHashAlgorithm.cs │ └── SymmetricAlgorithm.cs │ ├── DynamicInvokeWCF.cs │ ├── Email.cs │ ├── GreatCircleArgorithm.cs │ ├── JsonSerializer.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── RegExpress.cs │ ├── RhumbLineArgorithm.cs │ ├── Securitys.cs │ ├── SocketMgt.cs │ ├── Utilitys.cs │ ├── UtilitysForT.cs │ └── XmlSerializer.cs ├── DataAccessLayer ├── .vs │ └── DataAccessLayer │ │ └── v14 │ │ └── .suo ├── DataAccessLayer.sln └── DataAccessLayer │ ├── AbstractDBFactory.cs │ ├── DBFactorySingleton.cs │ ├── DataAccessLayer.csproj │ ├── DataAccessLayer.csproj.user │ ├── MSSqlServerDBFactory.cs │ ├── MySqlDBFactory.cs │ ├── OLEDBFactory.cs │ ├── OracleClientDBFactory.cs │ ├── Properties │ └── AssemblyInfo.cs │ └── SQLiteDBFactory.cs ├── Entitys ├── .vs │ └── Entitys │ │ └── v14 │ │ └── .suo ├── ComonEnti │ ├── ManagerWinServices.cs │ ├── SSY_APPFRAME_CFG.cs │ ├── SSY_APPFRAME_ITEM_CFG.cs │ ├── SSY_APPFRAME_MENUS_CFG.cs │ ├── SSY_APPFRAME_TREES_CFG.cs │ ├── SSY_BIZNODE_ADDR.cs │ ├── SSY_BIZ_DICT.cs │ ├── SSY_ControlPage.cs │ ├── SSY_DATAENTITY.cs │ ├── SSY_DATANODE_ADDR.cs │ ├── SSY_DATA_ACTION_TASK.cs │ ├── SSY_DYNAMICTOKEN.cs │ ├── SSY_FRAME_DICT.cs │ ├── SSY_GROUP_DICT.cs │ ├── SSY_GROUP_PAGE_DICT.cs │ ├── SSY_LOGCONFIG.cs │ ├── SSY_LOGCONTROL.cs │ ├── SSY_LOGENTITY.cs │ ├── SSY_NODE_ERRORS.cs │ ├── SSY_PAGE_DICT.cs │ ├── SSY_Paging.cs │ ├── SSY_RPResult.cs │ ├── SSY_SERVICESITE.cs │ ├── SSY_SERVICESITE_SERVICES.cs │ ├── SSY_SUPERMANAGER.cs │ ├── SSY_ServiceHost.cs │ ├── SSY_USER_DICT.cs │ ├── SSY_USER_GROUP_DICT.cs │ └── UseNodeCollection.cs ├── Entitys.csproj ├── Entitys.sln └── Properties │ └── AssemblyInfo.cs ├── FrameCommon ├── .vs │ └── FrameCommon │ │ └── v14 │ │ └── .suo ├── FrameCommon.sln └── FrameCommon │ ├── BaseServiceUtility.cs │ ├── BizCommon.cs │ ├── ConstValue.cs │ ├── DistributeDataNodeManager.cs │ ├── FrameCommon.csproj │ ├── FrameCommon.csproj.user │ ├── LogCommon.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── SysEnvironment.cs │ └── TokenEncryptionManager.cs ├── FrameManager ├── Biz │ ├── Biz.csproj │ ├── CommonBiz.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── BizExecFacade │ ├── BizExecFacade.csproj │ ├── CommonBizFacade.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── BizExectute │ ├── BizExectute.csproj │ ├── BizExectuteCommon.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── BizFactory │ ├── BizFactory.csproj │ ├── CommonFactory.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Frame.ServiceInterfaces │ ├── Frame.ServiceInterfaces.csproj │ ├── IFrameManager.cs │ ├── IFrameManagerRest.cs │ ├── IFrameSecurity.cs │ ├── IFrameSecurityRest.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Frame.ServiceLibs │ ├── Frame.ServiceLibs.csproj │ ├── FrameManagerService.cs │ ├── FrameManagerServiceRest.cs │ ├── FrameSecurityService.cs │ ├── FrameSecurityServiceRest.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Frame.Services │ ├── App_Code │ │ └── CacheDataMgt.cs │ ├── FrameManagerService.svc │ ├── FrameManagerServiceRest.svc │ ├── FrameSecurityService.svc │ ├── FrameSecurityServiceRest.svc │ ├── Global.asax │ ├── Web.Debug.config │ ├── Web.config │ ├── XmlData │ │ ├── ServiceConfig.xml │ │ └── i18nlang │ │ │ ├── CommonLang │ │ │ └── CommonLangi18n_zh-CN.xml │ │ │ └── FrameLang │ │ │ ├── FrameManager18n_zh-CN.xml │ │ │ └── FrameSecurity18n_zh-CN.xml │ └── website.publishproj └── FrameManager.sln ├── FrameNodeServices ├── Frame.ServiceNode │ ├── App_Code │ │ └── CacheDataMgt.cs │ ├── FrameManagerNodeService.svc │ ├── FrameManagerNodeServiceRest.svc │ ├── FrameNodeSecurityService.svc │ ├── FrameNodeSecurityServiceRest.svc │ ├── Global.asax │ ├── Web.Debug.config │ ├── Web.config │ ├── XmlData │ │ ├── SSY_BIZNODE_ADDR.xml │ │ ├── SSY_DATANODE_ADDR.xml │ │ ├── SSY_DATA_ACTION_TASK.xml │ │ ├── SSY_DYNAMICTOKEN.xml │ │ ├── SSY_NODE_ERRORS.xml │ │ ├── SSY_NodeCenter_Manager.xml │ │ ├── SSY_NodeCenter_ManagerRemark.xml │ │ ├── SSY_NodeCenter_RunStatus.xml │ │ ├── SSY_SERVICESITE.xml │ │ ├── SSY_SERVICESITE_SERVICES.xml │ │ ├── ServiceConfig.xml │ │ └── i18nlang │ │ │ ├── CommonLang │ │ │ └── CommonLangi18n_zh-CN.xml │ │ │ └── FrameNodeLang │ │ │ └── FrameNodei18n_zh-CN.xml │ └── website.publishproj ├── Frame.ServiceNodeInterfaces │ ├── Frame.ServiceNodeInterfaces.csproj │ ├── IFrameManagerNode.cs │ ├── IFrameManagerNodeRest.cs │ ├── IFrameNodeSecurity.cs │ ├── IFrameNodeSecurityRest.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Frame.ServiceNodeLibs │ ├── Frame.ServiceNodeLibs.csproj │ ├── FrameManagerNodeService.cs │ ├── FrameManagerNodeServiceRest.cs │ ├── FrameNodeSecurityService.cs │ ├── FrameNodeSecurityServiceRest.cs │ └── Properties │ │ └── AssemblyInfo.cs └── FrameNodeServices.sln ├── Framefrontend ├── .angular-cli.json ├── .editorconfig ├── .gitignore ├── .vs │ ├── config │ │ └── applicationhost.config │ └── frontend │ │ └── v14 │ │ └── .suo ├── README.md ├── e2e │ ├── app.e2e-spec.ts │ ├── app.po.ts │ └── tsconfig.e2e.json ├── frontend.sln ├── karma.conf.js ├── node_modules.rar ├── package.json ├── protractor.conf.js ├── src │ ├── app │ │ ├── app.component.css │ │ ├── app.component.html │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── app.routes.ts │ │ ├── app.service.ts │ │ ├── bizUIDemo │ │ │ ├── bizCustomerUIDemo.component.css │ │ │ ├── bizCustomerUIDemo.component.html │ │ │ ├── bizCustomerUIDemo.component.ts │ │ │ ├── bizInGoodsUIDemo.component.css │ │ │ ├── bizInGoodsUIDemo.component.html │ │ │ ├── bizInGoodsUIDemo.component.ts │ │ │ ├── bizOutGoodsUIDemo.component.css │ │ │ ├── bizOutGoodsUIDemo.component.html │ │ │ ├── bizOutGoodsUIDemo.component.ts │ │ │ ├── bizUIDemo.component.css │ │ │ ├── bizUIDemo.component.html │ │ │ ├── bizUIDemo.component.ts │ │ │ ├── bizUIDemo.module.ts │ │ │ └── bizUIDemo.routes.ts │ │ ├── common_module │ │ │ ├── common.service.ts │ │ │ ├── confirm.dialog.component.css │ │ │ ├── confirm.dialog.component.html │ │ │ ├── confirm.dialog.component.ts │ │ │ ├── dynamic.load.component.directive.ts │ │ │ └── i18ndate.service.ts │ │ ├── login │ │ │ ├── login.component.css │ │ │ ├── login.component.html │ │ │ ├── login.component.ts │ │ │ ├── login.service.ts │ │ │ ├── quitlogin.component.css │ │ │ ├── quitlogin.component.html │ │ │ └── quitlogin.component.ts │ │ ├── not-found.component.css │ │ ├── not-found.component.html │ │ ├── not-found.component.ts │ │ ├── preloading.ts │ │ ├── rxjs-all.ts │ │ ├── sysmanager │ │ │ ├── helpdoc │ │ │ │ └── 使用手册.docx │ │ │ ├── sysmanager.bizdict.component.css │ │ │ ├── sysmanager.bizdict.component.html │ │ │ ├── sysmanager.bizdict.component.ts │ │ │ ├── sysmanager.comdict.component.css │ │ │ ├── sysmanager.comdict.component.html │ │ │ ├── sysmanager.comdict.component.ts │ │ │ ├── sysmanager.entry.component.css │ │ │ ├── sysmanager.entry.component.html │ │ │ ├── sysmanager.entry.component.ts │ │ │ ├── sysmanager.group.component.css │ │ │ ├── sysmanager.group.component.html │ │ │ ├── sysmanager.group.component.ts │ │ │ ├── sysmanager.logdetail.dialog.component.css │ │ │ ├── sysmanager.logdetail.dialog.component.html │ │ │ ├── sysmanager.logdetail.dialog.component.ts │ │ │ ├── sysmanager.modifypwd.component.css │ │ │ ├── sysmanager.modifypwd.component.html │ │ │ ├── sysmanager.modifypwd.component.ts │ │ │ ├── sysmanager.module.ts │ │ │ ├── sysmanager.oppage.dialog.component.css │ │ │ ├── sysmanager.oppage.dialog.component.html │ │ │ ├── sysmanager.oppage.dialog.component.ts │ │ │ ├── sysmanager.page.component.css │ │ │ ├── sysmanager.page.component.html │ │ │ ├── sysmanager.page.component.ts │ │ │ ├── sysmanager.priviliege.component.css │ │ │ ├── sysmanager.priviliege.component.html │ │ │ ├── sysmanager.priviliege.component.ts │ │ │ ├── sysmanager.querylog.component.css │ │ │ ├── sysmanager.querylog.component.html │ │ │ ├── sysmanager.querylog.component.ts │ │ │ ├── sysmanager.resetpwd.component.css │ │ │ ├── sysmanager.resetpwd.component.html │ │ │ ├── sysmanager.resetpwd.component.ts │ │ │ ├── sysmanager.routes.ts │ │ │ ├── sysmanager.service.ts │ │ │ ├── sysmanager.servicehelp.component.css │ │ │ ├── sysmanager.servicehelp.component.html │ │ │ ├── sysmanager.servicehelp.component.ts │ │ │ ├── sysmanager.user.component.css │ │ │ ├── sysmanager.user.component.html │ │ │ └── sysmanager.user.component.ts │ │ └── workbench │ │ │ ├── workbench.bottom.component.css │ │ │ ├── workbench.bottom.component.html │ │ │ ├── workbench.bottom.component.ts │ │ │ ├── workbench.component.css │ │ │ ├── workbench.component.html │ │ │ ├── workbench.component.ts │ │ │ ├── workbench.header.component.css │ │ │ ├── workbench.header.component.html │ │ │ ├── workbench.header.component.ts │ │ │ ├── workbench.module.ts │ │ │ ├── workbench.noprevilege.component.css │ │ │ ├── workbench.noprevilege.component.html │ │ │ ├── workbench.noprevilege.component.ts │ │ │ ├── workbench.routes.ts │ │ │ └── workbench.service.ts │ ├── assets │ │ ├── .gitkeep │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ ├── font-awesome.css.map │ │ │ └── font-awesome.min.css │ │ ├── data │ │ │ ├── nodecenteraddr.json │ │ │ └── useservices.json │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── i18nlang │ │ │ ├── i18ncommon_zh-CN.json │ │ │ └── i18nframe_zh-CN.json │ │ ├── image │ │ │ ├── 404.png │ │ │ ├── bg.jpg │ │ │ ├── df.jpg │ │ │ ├── input_icons_24.png │ │ │ ├── login_03.gif │ │ │ ├── login_04.gif │ │ │ ├── login_06.gif │ │ │ ├── login_07.gif │ │ │ ├── login_08.gif │ │ │ ├── main_01.gif │ │ │ ├── main_04.gif │ │ │ ├── main_07.gif │ │ │ ├── main_08.gif │ │ │ ├── main_09.gif │ │ │ ├── main_14.gif │ │ │ ├── main_16.gif │ │ │ ├── main_18.gif │ │ │ ├── main_23.gif │ │ │ ├── main_38.gif │ │ │ ├── main_40.gif │ │ │ ├── main_42.gif │ │ │ ├── main_47.gif │ │ │ ├── main_49.gif │ │ │ ├── main_51.gif │ │ │ ├── menu-hide.png │ │ │ ├── menu-show.png │ │ │ ├── rows-d.png │ │ │ └── user-ph.png │ │ ├── jquery.d.ts │ │ ├── js │ │ │ └── securities │ │ │ │ └── aes.js │ │ └── login.json │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── favicont.ico │ ├── index.html │ ├── main.ts │ ├── polyfills.ts │ ├── styles.css │ ├── test.ts │ ├── theme-element.css │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ └── typings.d.ts ├── tsconfig.json └── tslint.json ├── README.md ├── WebServiceManager ├── WebServiceManager.sln └── WebServiceManager │ ├── BaseApiHandler.cs │ ├── BaseService.cs │ ├── Properties │ └── AssemblyInfo.cs │ └── WebServiceManager.csproj ├── XxxManager ├── Xxx.Biz │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Somebiz.cs │ └── Xxx.Biz.csproj ├── Xxx.BizExecFacade │ ├── BizFacadeSomebiz.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Xxx.BizExecFacade.csproj ├── Xxx.BizExectute │ ├── BizExectuteSomebiz.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Xxx.BizExectute.csproj ├── Xxx.BizFactory │ ├── BizFactorySomebiz.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Xxx.BizFactory.csproj ├── Xxx.Entities │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SSY_BIZ_DICT.cs │ ├── SSY_FRAME_DICT.cs │ └── Xxx.Entities.csproj ├── Xxx.Service │ ├── App_Code │ │ └── CacheDataMgt.cs │ ├── App_Data │ │ └── PublishProfiles │ │ │ ├── codefc_xxxManager_ref.pubxml │ │ │ └── xxxManager_demo.pubxml │ ├── Global.asax │ ├── SomebizService.svc │ ├── SomebizServiceRest.svc │ ├── Web.Debug.config │ ├── Web.config │ ├── XmlData │ │ ├── ServiceConfig.xml │ │ └── i18nlang │ │ │ ├── CommonLang │ │ │ └── CommonLangi18n_zh-CN.xml │ │ │ ├── FrameLang │ │ │ ├── FrameManager18n_zh-CN.xml │ │ │ └── FrameSecurity18n_zh-CN.xml │ │ │ └── XxxManagerLang │ │ │ └── XxxManageri18n_zh-CN.xml │ └── website.publishproj ├── Xxx.ServiceInterfaces │ ├── ISomebiz.cs │ ├── ISomebizRest.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── Xxx.ServiceInterfaces.csproj ├── Xxx.ServiceLibs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SomebizService.cs │ ├── SomebizServiceRest.cs │ └── Xxx.ServiceLibs.csproj └── XxxManager.sln ├── db ├── mssql │ └── frameuser ├── mysql │ ├── frameuser_ssy_biz_dict.sql │ ├── frameuser_ssy_frame_dict.sql │ ├── frameuser_ssy_group_dict.sql │ ├── frameuser_ssy_group_page_dict.sql │ ├── frameuser_ssy_logconfig.sql │ ├── frameuser_ssy_logcontrol.sql │ ├── frameuser_ssy_logentity.sql │ ├── frameuser_ssy_options.sql │ ├── frameuser_ssy_page_dict.sql │ ├── frameuser_ssy_supermanager.sql │ ├── frameuser_ssy_user_dict.sql │ ├── frameuser_ssy_user_group_dict.sql │ └── frameuser_testsql.sql └── oracle │ ├── frameuser.dmp │ └── initdatabase.txt └── 简要说明.txt /Common/.vs/Common/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/.vs/Common/v14/.suo -------------------------------------------------------------------------------- /Common/Common.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common", "Common\Common.csproj", "{6862EB10-5CC1-45EC-9B44-2B4C6F99F4DB}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {6862EB10-5CC1-45EC-9B44-2B4C6F99F4DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {6862EB10-5CC1-45EC-9B44-2B4C6F99F4DB}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {6862EB10-5CC1-45EC-9B44-2B4C6F99F4DB}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {6862EB10-5CC1-45EC-9B44-2B4C6F99F4DB}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /Common/Common/AppConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/AppConfig.cs -------------------------------------------------------------------------------- /Common/Common/ClassBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/ClassBuilder.cs -------------------------------------------------------------------------------- /Common/Common/Common.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectFiles 5 | 6 | -------------------------------------------------------------------------------- /Common/Common/Cryptography/BKDRManaged.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Common.Cryptography 4 | { 5 | public class BKDRManaged : System.Security.Cryptography.HashAlgorithm 6 | { 7 | protected override void HashCore(byte[] array, int ibStart, int cbSize) 8 | { 9 | int seed = 131; 10 | int hash = this.HashValue == null || this.HashValue.Length < 4 ? 0 : BitConverter.ToInt32(this.HashValue, 0); 11 | for (int i = ibStart; i < cbSize; i++) 12 | { 13 | hash = (hash * seed) + array[i]; 14 | } 15 | this.HashValue = BitConverter.GetBytes(hash & 0x7FFFFFFF); 16 | } 17 | 18 | protected override byte[] HashFinal() 19 | { 20 | return this.HashValue; 21 | } 22 | 23 | public override void Initialize() 24 | { 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /Common/Common/Cryptography/RandomGenerator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Security.Cryptography; 3 | using System.Text; 4 | using System.IO; 5 | 6 | namespace Common.Cryptography 7 | { 8 | public sealed partial class RandomGenerator 9 | { 10 | public static byte[] GetBytes(int count) 11 | { 12 | if (count < 1) 13 | throw new ArgumentOutOfRangeException(); 14 | 15 | using (RandomNumberGenerator rng = new RNGCryptoServiceProvider()) 16 | { 17 | byte[] buffer = new byte[count]; 18 | rng.GetBytes(buffer); 19 | return buffer; 20 | } 21 | } 22 | 23 | public static int GetInt32(int maxValue) 24 | { 25 | Random rnd = new Random(GetInt32()); 26 | return rnd.Next(maxValue); 27 | } 28 | 29 | public static int GetInt32(int minValue, int maxValue) 30 | { 31 | Random rnd = new Random(GetInt32()); 32 | return rnd.Next(minValue, maxValue); 33 | } 34 | 35 | public static int GetInt32() 36 | { 37 | return BitConverter.ToInt32(GetBytes(4), 0); 38 | } 39 | 40 | public static int[] GetInt32Array(int count) 41 | { 42 | if (count < 1) 43 | throw new ArgumentOutOfRangeException(); 44 | 45 | byte[] buffer = GetBytes(count * 4); 46 | int[] result = new int[count]; 47 | for (int i = 0; i < count; i++) 48 | { 49 | result[i] = BitConverter.ToInt32(buffer, i); 50 | } 51 | return result; 52 | } 53 | 54 | public static long GetInt64() 55 | { 56 | return BitConverter.ToInt64(GetBytes(8), 0); 57 | } 58 | 59 | public static double GetDouble() 60 | { 61 | return BitConverter.ToDouble(GetBytes(8), 0); 62 | } 63 | 64 | public static string GetString() 65 | { 66 | return Convert.ToBase64String(Guid.NewGuid().ToByteArray()); 67 | } 68 | 69 | public static string GetString(int count) 70 | { 71 | if (count < 1) 72 | throw new ArgumentOutOfRangeException(); 73 | 74 | return Convert.ToBase64String(GetBytes(count)).Substring(0, count); 75 | } 76 | } 77 | } -------------------------------------------------------------------------------- /Common/Common/DynamicInvokeWCF.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/DynamicInvokeWCF.cs -------------------------------------------------------------------------------- /Common/Common/Email.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/Email.cs -------------------------------------------------------------------------------- /Common/Common/GreatCircleArgorithm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/GreatCircleArgorithm.cs -------------------------------------------------------------------------------- /Common/Common/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Common")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Common")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("5b704bf8-48e4-4ee2-9a5d-d245263aabe6")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Common/Common/RegExpress.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/RegExpress.cs -------------------------------------------------------------------------------- /Common/Common/RhumbLineArgorithm.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/RhumbLineArgorithm.cs -------------------------------------------------------------------------------- /Common/Common/Securitys.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/Securitys.cs -------------------------------------------------------------------------------- /Common/Common/Utilitys.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Common/Common/Utilitys.cs -------------------------------------------------------------------------------- /DataAccessLayer/.vs/DataAccessLayer/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/.vs/DataAccessLayer/v14/.suo -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/AbstractDBFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/AbstractDBFactory.cs -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/DBFactorySingleton.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/DBFactorySingleton.cs -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/DataAccessLayer.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectFiles 5 | 6 | -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/MySqlDBFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/MySqlDBFactory.cs -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/OLEDBFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/OLEDBFactory.cs -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/OracleClientDBFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/OracleClientDBFactory.cs -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("DataAccessLayer")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("DataAccessLayer")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("31c2aae3-d01a-4f23-8a65-75cd38ee4b52")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /DataAccessLayer/DataAccessLayer/SQLiteDBFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/DataAccessLayer/DataAccessLayer/SQLiteDBFactory.cs -------------------------------------------------------------------------------- /Entitys/.vs/Entitys/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Entitys/.vs/Entitys/v14/.suo -------------------------------------------------------------------------------- /Entitys/ComonEnti/ManagerWinServices.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 管理windows服务 12 | /// 13 | [DataContract] 14 | public class ManagerWinServices 15 | { 16 | [DataMember] 17 | public string WinServiceName 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string WinServiceDesc 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | /// 31 | /// 服务操作 S 启动 E 停止 32 | /// 33 | [DataMember] 34 | public string OpAction 35 | { 36 | get; 37 | set; 38 | } 39 | 40 | /// 41 | /// 服务路径 42 | /// 43 | [DataMember] 44 | public string WinServicePath 45 | { 46 | get; 47 | set; 48 | } 49 | 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_BIZNODE_ADDR.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 业务节点地址 12 | /// 13 | [DataContract] 14 | public class SSY_BIZNODE_ADDR 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Url_addr 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Moudiden 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Use_status 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | [DataMember] 45 | public string Remarks 46 | { 47 | get; 48 | set; 49 | } 50 | 51 | [DataMember] 52 | public string Timestampss 53 | { 54 | get; 55 | set; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_BIZ_DICT.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | [DataContract] 11 | public class SSY_BIZ_DICT 12 | { 13 | [DataMember] 14 | public object SSY_BIZ_DICTID { get; set; } 15 | 16 | [DataMember] 17 | public object DOMAINNAMEIDEN { get; set; } 18 | 19 | [DataMember] 20 | public object DOMAINNAMES { get; set; } 21 | 22 | [DataMember] 23 | public object OPTIONIDEN { get; set; } 24 | 25 | [DataMember] 26 | public object OPTIONNAMES { get; set; } 27 | 28 | [DataMember] 29 | public object OPTIONIDEN_CUT { get; set; } 30 | 31 | [DataMember] 32 | public object OPTIONNAMES_CUT { get; set; } 33 | 34 | [DataMember] 35 | public object PYM { get; set; } 36 | 37 | [DataMember] 38 | public object REMARKS { get; set; } 39 | 40 | [DataMember] 41 | public object TIMESTAMPSS { get; set; } 42 | 43 | [DataMember] 44 | public string SequenceXXX { get; set; } 45 | 46 | /// 47 | /// OPFlag(I 增,U 改, D删) 48 | /// 49 | [DataMember] 50 | public string OPFlag { get; set; } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_ControlPage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Entitys/ComonEnti/SSY_ControlPage.cs -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_DATAENTITY.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Entitys.ComonEnti 8 | { 9 | /// 10 | /// 系统公共数据表结构 11 | /// 12 | public class SSY_DATAENTITY 13 | { 14 | /// 15 | /// 数据表名 16 | /// 17 | public object TABLE_NAME { set; get; } 18 | 19 | /// 20 | /// 列名 21 | /// 22 | public object COLUMN_NAME { set; get; } 23 | 24 | /// 25 | /// 列数据类型 26 | /// 27 | public object COLTYPE { set; get; } 28 | 29 | /// 30 | /// 列注释 31 | /// 32 | public object COMMENTS { set; get; } 33 | 34 | /// 35 | /// 列长度 36 | /// 37 | public object DATA_LENGTH { set; get; } 38 | 39 | /// 40 | /// 列是否允许空 41 | /// 42 | public object NULLABLE { set; get; } 43 | 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_DATANODE_ADDR.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 数据节点地址 12 | /// 13 | [DataContract] 14 | public class SSY_DATANODE_ADDR 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Url_addr 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Use_status 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Data_schema 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | [DataMember] 45 | public string Data_user 46 | { 47 | get; 48 | set; 49 | } 50 | 51 | [DataMember] 52 | public string Data_password 53 | { 54 | get; 55 | set; 56 | } 57 | 58 | [DataMember] 59 | public string Data_conn 60 | { 61 | get; 62 | set; 63 | } 64 | 65 | [DataMember] 66 | public string Remarks 67 | { 68 | get; 69 | set; 70 | } 71 | 72 | [DataMember] 73 | public string Timestampss 74 | { 75 | get; 76 | set; 77 | } 78 | 79 | [DataMember] 80 | public string DBFactoryName 81 | { 82 | get; 83 | set; 84 | } 85 | 86 | [DataMember] 87 | public string Systemname { get; set;} 88 | 89 | [DataMember] 90 | public string Isencrydbconn { get; set; } 91 | 92 | [DataMember] 93 | public string Isencrypwd { get; set; } 94 | 95 | [DataMember] 96 | public string Encryhashlenth { get; set; } 97 | 98 | [DataMember] 99 | public string Encrykeystr { get; set; } 100 | 101 | [DataMember] 102 | public string Isusepwdsecuritycheck { get; set; } 103 | 104 | [DataMember] 105 | public string Pwdintervalhours { get; set; } 106 | 107 | [DataMember] 108 | public string Pwdfirstcheck { get; set; } 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_DATA_ACTION_TASK.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 同源数据节点任务 12 | /// 13 | [DataContract] 14 | public class SSY_DATA_ACTION_TASK 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Data_real_conn 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Action_sql 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Action_sql_params 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | 45 | [DataMember] 46 | public string Action_status 47 | { 48 | get; 49 | set; 50 | } 51 | 52 | [DataMember] 53 | public string Execute_cnt 54 | { 55 | get; 56 | set; 57 | } 58 | 59 | [DataMember] 60 | public string Max_execute_cnt 61 | { 62 | get; 63 | set; 64 | } 65 | 66 | [DataMember] 67 | public string Remarks 68 | { 69 | get; 70 | set; 71 | } 72 | 73 | [DataMember] 74 | public string Timestampss 75 | { 76 | get; 77 | set; 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_DYNAMICTOKEN.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 动态令牌 12 | /// 13 | [DataContract] 14 | public class SSY_DYNAMICTOKEN 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Dynamictoken 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Remarks 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Timestampss 39 | { 40 | get; 41 | set; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_FRAME_DICT.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | [DataContract] 11 | public class SSY_FRAME_DICT 12 | { 13 | [DataMember] 14 | public object SSY_FRAME_DICTID { get; set; } 15 | 16 | [DataMember] 17 | public object DOMAINNAMEIDEN { get; set; } 18 | 19 | [DataMember] 20 | public object DOMAINNAMES { get; set; } 21 | 22 | [DataMember] 23 | public object OPTIONIDEN { get; set; } 24 | 25 | [DataMember] 26 | public object OPTIONNAMES { get; set; } 27 | 28 | [DataMember] 29 | public object OPTIONIDEN_CUT { get; set; } 30 | 31 | [DataMember] 32 | public object OPTIONNAMES_CUT { get; set; } 33 | 34 | [DataMember] 35 | public object PYM { get; set; } 36 | 37 | [DataMember] 38 | public object REMARKS { get; set; } 39 | 40 | [DataMember] 41 | public object TIMESTAMPSS { get; set; } 42 | 43 | [DataMember] 44 | public string SequenceXXX { get; set; } 45 | 46 | /// 47 | /// OPFlag(I 增,U 改, D删) 48 | /// 49 | [DataMember] 50 | public string OPFlag { get; set; } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_GROUP_PAGE_DICT.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Entitys.ComonEnti 8 | { 9 | public class SSY_GROUP_PAGE_DICT 10 | { 11 | #region GROUPID 12 | /// 13 | /// GROUPID 14 | /// 15 | private object _gROUPID = null; 16 | public object GROUPID 17 | { 18 | get 19 | { 20 | return this._gROUPID; 21 | 22 | 23 | } 24 | set 25 | { 26 | this._gROUPID = value; 27 | } 28 | } 29 | #endregion 30 | 31 | #region PAGEID 32 | /// 33 | /// PAGEID 34 | /// 35 | private object _pAGEID = null; 36 | public 37 | 38 | object PAGEID 39 | { 40 | get 41 | { 42 | return this._pAGEID; 43 | } 44 | set 45 | { 46 | this._pAGEID = value; 47 | } 48 | } 49 | #endregion 50 | 51 | #region TIMESTAMPSS 52 | /// 53 | /// TIMESTAMPSS 54 | /// 55 | private object _tIMESTAMP = null; 56 | public object TIMESTAMPSS 57 | { 58 | get 59 | { 60 | return this._tIMESTAMP; 61 | } 62 | set 63 | { 64 | 65 | 66 | this._tIMESTAMP = value; 67 | } 68 | } 69 | #endregion 70 | 71 | #region OPFlag 72 | /// 73 | /// OPFlag(I 增,U 改, D删) 74 | /// 75 | private string _oPFlag = string.Empty; 76 | public string OPFlag 77 | { 78 | get 79 | { 80 | return this._oPFlag; 81 | } 82 | set 83 | { 84 | this._oPFlag = value; 85 | } 86 | } 87 | #endregion 88 | 89 | 90 | } 91 | 92 | public class SSY_PAGE_GROUP_MQT 93 | { 94 | public object GROUPID { get; set; } 95 | 96 | public object SSY_PAGE_DICT { get; set; } 97 | 98 | public List SSY_GROUP_PAGE_DICT { get; set; } 99 | } 100 | } 101 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_LOGCONTROL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Entitys.ComonEnti 8 | { 9 | public class SSY_LOGCONTROL 10 | { 11 | #region LOGCONTROLID 12 | /// 13 | /// LOGCONTROLID 14 | /// 15 | private object _lOGCONTROLID = null; 16 | public object LOGCONTROLID 17 | { 18 | get 19 | { 20 | return this._lOGCONTROLID; 21 | } 22 | set 23 | { 24 | this._lOGCONTROLID = value; 25 | } 26 | } 27 | #endregion 28 | 29 | #region DOMAINIDEN 30 | /// 31 | /// DOMAINIDEN 32 | /// 33 | private object _dOMAINIDEN = null; 34 | public object DOMAINIDEN 35 | { 36 | get 37 | { 38 | return this._dOMAINIDEN; 39 | } 40 | set 41 | { 42 | this._dOMAINIDEN = value; 43 | } 44 | } 45 | #endregion 46 | 47 | #region OPTIONIDEN 48 | /// 49 | /// OPTIONIDEN 50 | /// 51 | private object _oPTIONIDEN = null; 52 | public object OPTIONIDEN 53 | { 54 | get 55 | { 56 | return this._oPTIONIDEN; 57 | } 58 | set 59 | { 60 | this._oPTIONIDEN = value; 61 | } 62 | } 63 | #endregion 64 | 65 | #region ISRECORD 66 | /// 67 | /// ISRECORD 68 | /// 69 | private object _iSRECORD = null; 70 | public object ISRECORD 71 | { 72 | get 73 | { 74 | return this._iSRECORD; 75 | } 76 | set 77 | { 78 | this._iSRECORD = value; 79 | } 80 | } 81 | #endregion 82 | 83 | #region OPFlag 84 | /// 85 | /// OPFlag(I 增,U 改, D删) 86 | /// 87 | private string _oPFlag = string.Empty; 88 | public string OPFlag 89 | { 90 | get 91 | { 92 | return this._oPFlag; 93 | } 94 | set 95 | { 96 | this._oPFlag = value; 97 | } 98 | } 99 | #endregion 100 | 101 | 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_NODE_ERRORS.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 节点异常日志 12 | /// 13 | [DataContract] 14 | public class SSY_NODE_ERRORS 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Url_addr 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Node_typs 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Error_desc 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | [DataMember] 45 | public string Remarks 46 | { 47 | get; 48 | set; 49 | } 50 | 51 | [DataMember] 52 | public string Timestampss 53 | { 54 | get; 55 | set; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_Paging.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Runtime.Serialization; 6 | 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 分页对象 12 | /// 13 | /// 14 | [DataContract] 15 | public class SSY_PagingResult 16 | { 17 | [DataMember] 18 | public int TotalSize 19 | { 20 | get; 21 | set; 22 | } 23 | [DataMember] 24 | public T Obj 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public int PageIndex 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public int PageSize 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | /// 45 | /// 分页集合对象 46 | /// 47 | /// 集合对象 48 | /// 页大小 49 | /// 集合对象在数据库中条数 50 | public SSY_PagingResult(T obj, int pageIndex, int totalSize) 51 | { 52 | this.Obj = obj; 53 | this.PageIndex = pageIndex; 54 | this.TotalSize = totalSize; 55 | } 56 | } 57 | 58 | 59 | } 60 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_SERVICESITE.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 服务站点 12 | /// 13 | [DataContract] 14 | public class SSY_SERVICESITE 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Sitecode 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Sitename 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | 38 | [DataMember] 39 | public string Remarks 40 | { 41 | get; 42 | set; 43 | } 44 | 45 | [DataMember] 46 | public string Timestampss 47 | { 48 | get; 49 | set; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_SERVICESITE_SERVICES.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 站点下服务 12 | /// 13 | [DataContract] 14 | public class SSY_SERVICESITE_SERVICES 15 | { 16 | [DataMember] 17 | public string ID 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public string Sitecode 25 | { 26 | get; 27 | set; 28 | } 29 | 30 | [DataMember] 31 | public string Servicecode 32 | { 33 | get; 34 | set; 35 | } 36 | 37 | [DataMember] 38 | public string Servicename 39 | { 40 | get; 41 | set; 42 | } 43 | 44 | [DataMember] 45 | public string Service_relaUrl 46 | { 47 | get; 48 | set; 49 | } 50 | 51 | 52 | [DataMember] 53 | public string Remarks 54 | { 55 | get; 56 | set; 57 | } 58 | 59 | [DataMember] 60 | public string Timestampss 61 | { 62 | get; 63 | set; 64 | } 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_SUPERMANAGER.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Entitys.ComonEnti 8 | { 9 | public class SSY_SUPERMANAGER 10 | { 11 | #region USERID 12 | /// 13 | /// USERID 14 | /// 15 | private object _uSERID = null; 16 | public object USERID 17 | { 18 | get 19 | { 20 | return this._uSERID; 21 | } 22 | 23 | 24 | set 25 | { 26 | this._uSERID = value; 27 | } 28 | } 29 | #endregion 30 | 31 | #region USERNAME 32 | /// 33 | /// USERNAME 34 | /// 35 | private object _uSERNAME = null; 36 | public object USERNAME 37 | { 38 | get 39 | { 40 | return this._uSERNAME; 41 | } 42 | set 43 | { 44 | this._uSERNAME = value; 45 | } 46 | } 47 | #endregion 48 | 49 | #region PASSWORD 50 | /// 51 | /// PASSWORD 52 | /// 53 | private object _pASSWORD = null; 54 | public object PASSWORD 55 | { 56 | get 57 | { 58 | return this._pASSWORD; 59 | } 60 | set 61 | { 62 | 63 | 64 | this._pASSWORD = value; 65 | } 66 | } 67 | #endregion 68 | 69 | #region TIMESTAMPSS 70 | /// 71 | /// TIMESTAMPSS 72 | /// 73 | private object _tIMESTAMP = null; 74 | public object TIMESTAMPSS 75 | { 76 | get 77 | { 78 | return this._tIMESTAMP; 79 | } 80 | set 81 | { 82 | this._tIMESTAMP = value; 83 | } 84 | } 85 | #endregion 86 | 87 | #region OPFlag 88 | /// 89 | /// OPFlag(I 增,U 改, D删) 90 | /// 91 | private string _oPFlag = string.Empty; 92 | public string OPFlag 93 | { 94 | get 95 | { 96 | return this._oPFlag; 97 | } 98 | set 99 | 100 | 101 | { 102 | this._oPFlag = value; 103 | } 104 | } 105 | #endregion 106 | 107 | 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/SSY_ServiceHost.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Entitys.ComonEnti 8 | { 9 | /// 10 | /// 系统宿主服务 11 | /// 12 | public class SSY_ServiceHost 13 | { 14 | #region 节点管理服务 15 | 16 | public const string FrameManagerNodeServiceRest = "FrameManagerNodeServiceRest"; 17 | public const string FrameManagerNodeService = "FrameManagerNodeService"; 18 | public const string FrameNodeSecurityServiceRest = "FrameNodeSecurityServiceRest"; 19 | public const string FrameNodeSecurityService = "FrameNodeSecurityService"; 20 | 21 | #endregion 22 | 23 | #region 框架服务 24 | 25 | public const string Frame_FrameManagerService = "Frame_FrameManagerService"; 26 | public const string Frame_FrameManagerServiceRest = "Frame_FrameManagerServiceRest"; 27 | 28 | public const string Frame_FrameSecurityService = "Frame_FrameSecurityService"; 29 | public const string Frame_FrameSecurityServiceRest = "Frame_FrameSecurityServiceRest"; 30 | 31 | #endregion 32 | 33 | #region 业务服务 34 | 35 | 36 | 37 | #endregion 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Entitys/ComonEnti/UseNodeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Entitys.ComonEnti 9 | { 10 | /// 11 | /// 可用节点集合,包括业务节点和数据节点 12 | /// 13 | [DataContract] 14 | public class UseNodeCollection 15 | { 16 | [DataMember] 17 | public List BizNodeList 18 | { 19 | get; 20 | set; 21 | } 22 | 23 | [DataMember] 24 | public List DataNodeList 25 | { 26 | get; 27 | set; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Entitys/Entitys.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Entitys", "Entitys.csproj", "{0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Debug|x86 = Debug|x86 12 | Release|Any CPU = Release|Any CPU 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Debug|Any CPU.Build.0 = Debug|Any CPU 18 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Debug|x86.ActiveCfg = Debug|x86 19 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Debug|x86.Build.0 = Debug|x86 20 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Release|Any CPU.ActiveCfg = Release|Any CPU 21 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Release|Any CPU.Build.0 = Release|Any CPU 22 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Release|x86.ActiveCfg = Release|x86 23 | {0FA6F210-96A6-4410-ADE3-702A7F1BEAEC}.Release|x86.Build.0 = Release|x86 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Entitys/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Entitys")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Entitys")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("e7777863-d1fe-43fe-ae32-d33f988aa95f")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameCommon/.vs/FrameCommon/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/FrameCommon/.vs/FrameCommon/v14/.suo -------------------------------------------------------------------------------- /FrameCommon/FrameCommon/BizCommon.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/FrameCommon/FrameCommon/BizCommon.cs -------------------------------------------------------------------------------- /FrameCommon/FrameCommon/ConstValue.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/FrameCommon/FrameCommon/ConstValue.cs -------------------------------------------------------------------------------- /FrameCommon/FrameCommon/FrameCommon.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectFiles 5 | 6 | -------------------------------------------------------------------------------- /FrameCommon/FrameCommon/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("FrameCommon")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("FrameCommon")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("1e6b18f0-4680-4263-a92c-689ff20a940e")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameCommon/FrameCommon/TokenEncryptionManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Xml; 7 | using System.Xml.Serialization; 8 | 9 | using Entitys.ComonEnti; 10 | 11 | namespace FrameCommon 12 | { 13 | /// 14 | /// 令牌管理 15 | /// 16 | public class TokenEncryptionManager 17 | { 18 | /// 19 | /// 生成令牌 20 | /// 21 | /// 22 | public static byte[] EncryToken() 23 | { 24 | string encryType = SysEnvironment.TokenEncrpType; //加密算法类型 25 | SysEnvironmentSerialize envserialize = new SysEnvironmentSerialize(); 26 | //TODO 将静态类转换为实例 27 | 28 | //预留按算法加密处理,使用公钥加密 29 | switch (encryType) 30 | { 31 | case "one": 32 | //TODO 令牌处理 33 | break; 34 | default: 35 | break; 36 | } 37 | 38 | envserialize.TokenEncrpValue = ""; //加密后的密文 39 | 40 | byte[] toks = null; 41 | //bool temptoks = XmlSerializer.Serialize(envserialize, out toks); 42 | return toks; 43 | } 44 | 45 | /// 46 | /// 解密令牌 47 | /// 48 | /// 49 | /// 50 | /// 51 | public static SysEnvironmentSerialize DeEncryToken(byte[] encryToken) 52 | { 53 | //反序列华 54 | SysEnvironmentSerialize envserialize = new SysEnvironmentSerialize(); 55 | 56 | //TODO 57 | //bool tt = XmlSerializer.Deserialize(encryToken, out envserialize); 58 | 59 | //string encryType = envserialize.TokenEncrpType; //加密算法类型 60 | //string deStr = ""; //解密结果 61 | ////预留按算法解密 62 | //switch (encryType) 63 | //{ 64 | // case "one": 65 | // //TODO 令牌处理 66 | // break; 67 | // default: 68 | // break; 69 | //} 70 | 71 | //envserialize.TokenEncrpValue = deStr; 72 | 73 | return envserialize; 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /FrameManager/Biz/CommonBiz.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/FrameManager/Biz/CommonBiz.cs -------------------------------------------------------------------------------- /FrameManager/Biz/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Biz")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Biz")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("a1c39451-cfd2-4b30-9f3d-f1ccd870c192")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/BizExecFacade/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("BizExecFacade")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("BizExecFacade")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("00cd0349-310d-4759-ad10-b5cd1454665e")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/BizExectute/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("BizExectute")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("BizExectute")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("6957f9c3-a3d0-4354-ad21-bffcdddb9f34")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/BizFactory/CommonFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/FrameManager/BizFactory/CommonFactory.cs -------------------------------------------------------------------------------- /FrameManager/BizFactory/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的常规信息通过以下 6 | // 特性集控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("BizFactory")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("BizFactory")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2013")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // 将 ComVisible 设置为 false 使此程序集中的类型 18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型, 19 | // 则将该类型上的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("a6ad207c-1905-4c4e-a291-02ce9fa4321a")] 24 | 25 | // 程序集的版本信息由下面四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 内部版本号 30 | // 修订号 31 | // 32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceInterfaces/IFrameSecurity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.ServiceModel.Web; 8 | using System.Data; 9 | using System.IO; 10 | 11 | using Entitys.ComonEnti; 12 | using Common; 13 | 14 | namespace Frame.ServiceInterfaces 15 | { 16 | [ServiceContract(ConfigurationName = "Frame.ServiceInterfaces.FrameSecurityService")] 17 | public interface IFrameSecurity 18 | { 19 | #region 升级接口 20 | 21 | /// 22 | /// 获取用户信息 23 | /// 24 | /// 25 | /// 26 | [OperationContract] 27 | string GetUserForLoginN(string req); 28 | 29 | /// 30 | /// 获取用户信息仅仅为获取令牌验证 31 | /// 32 | /// 33 | /// 34 | [OperationContract] 35 | string GetUserForLogin2N(string req); 36 | 37 | /// 38 | /// 获取验证码 39 | /// 40 | /// 41 | /// 42 | [OperationContract] 43 | byte[] GetVerifyCodePic(string req); 44 | 45 | #endregion 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceInterfaces/IFrameSecurityRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.ServiceModel.Web; 8 | using System.Data; 9 | using System.IO; 10 | 11 | using Entitys.ComonEnti; 12 | using Common; 13 | 14 | namespace Frame.ServiceInterfaces 15 | { 16 | [ServiceContract(ConfigurationName = "Frame.ServiceInterfaces.FrameSecurityServiceRest")] 17 | public interface IFrameSecurityRest 18 | { 19 | #region 升级接口 20 | 21 | /// 22 | /// 获取用户信息 23 | /// 24 | /// 25 | /// 26 | [OperationContract] 27 | [WebInvoke(Method = "POST", UriTemplate = "/FrameApi/GetUserForLoginN", BodyStyle = WebMessageBodyStyle.WrappedRequest, 28 | ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] 29 | string GetUserForLoginN(string req); 30 | 31 | /// 32 | /// 获取用户信息仅仅为获取令牌验证 33 | /// 34 | /// 35 | /// 36 | [OperationContract] 37 | [WebInvoke(Method = "POST", UriTemplate = "/FrameApi/GetUserForLogin2N", BodyStyle = WebMessageBodyStyle.WrappedRequest, 38 | ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] 39 | string GetUserForLogin2N(string model); 40 | 41 | /// 42 | /// 获取验证码 43 | /// 44 | /// 45 | /// 46 | [OperationContract] 47 | [WebInvoke(Method = "POST", UriTemplate = "/FrameApi/GetVerifyCodePic", BodyStyle = WebMessageBodyStyle.WrappedRequest, 48 | ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] 49 | byte[] GetVerifyCodePic(string req); 50 | 51 | #endregion 52 | 53 | 54 | 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceInterfaces/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Frame.ServiceInterfaces")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Frame.ServiceInterfaces")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("1e8d8ac3-c4bf-418c-981e-6895eb09c368")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceLibs/FrameManagerServiceRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.Data; 8 | 9 | using Frame.ServiceInterfaces; 10 | using WebServiceManager; 11 | using Entitys.ComonEnti; 12 | using BizExecFacade; 13 | 14 | namespace Frame.ServiceLibs 15 | { 16 | public class FrameManagerServiceRest: FrameManagerService, IFrameManagerRest 17 | { 18 | 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceLibs/FrameSecurityServiceRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | 8 | using Frame.ServiceNodeInterfaces; 9 | using Frame.ServiceInterfaces; 10 | using WebServiceManager; 11 | using Entitys.ComonEnti; 12 | using System.Data; 13 | using Common; 14 | 15 | namespace Frame.ServiceLibs 16 | { 17 | public class FrameSecurityServiceRest: FrameSecurityService,IFrameSecurityRest 18 | { 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /FrameManager/Frame.ServiceLibs/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Frame.ServiceLibs")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Frame.ServiceLibs")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("f5d9b48f-e6f7-4a8d-a4aa-2b0acc698eea")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/FrameManagerService.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceLibs.FrameManagerService" Factory="System.ServiceModel.Activation.ServiceHostFactory" %> 2 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/FrameManagerServiceRest.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceLibs.FrameManagerServiceRest" Factory="System.ServiceModel.Activation.ServiceHostFactory"%> 2 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/FrameSecurityService.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceLibs.FrameSecurityService" Factory="System.ServiceModel.Activation.ServiceHostFactory" %> 2 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/FrameSecurityServiceRest.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceLibs.FrameSecurityServiceRest" Factory="System.ServiceModel.Activation.ServiceHostFactory"%> 2 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Language="C#" %> 2 | 3 | 52 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 31 | 32 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/XmlData/ServiceConfig.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 6 | 8 | 9 | 11 | 13 | 14 | 16 | 18 | 19 | 21 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/XmlData/i18nlang/CommonLang/CommonLangi18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/XmlData/i18nlang/FrameLang/FrameManager18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /FrameManager/Frame.Services/XmlData/i18nlang/FrameLang/FrameSecurity18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/FrameManagerNodeService.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceNodeLibs.FrameManagerNodeService" Factory="System.ServiceModel.Activation.ServiceHostFactory" %> 2 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/FrameManagerNodeServiceRest.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceNodeLibs.FrameManagerNodeServiceRest" Factory="System.ServiceModel.Activation.ServiceHostFactory"%> 2 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/FrameNodeSecurityService.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceNodeLibs.FrameNodeSecurityService" Factory="System.ServiceModel.Activation.ServiceHostFactory" %> 2 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/FrameNodeSecurityServiceRest.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Frame.ServiceNodeLibs.FrameNodeSecurityServiceRest" Factory="System.ServiceModel.Activation.ServiceHostFactory"%> 2 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Language="C#" %> 2 | 3 | 64 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 31 | 32 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_BIZNODE_ADDR.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_DATA_ACTION_TASK.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_NodeCenter_Manager.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_NodeCenter_ManagerRemark.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_NodeCenter_RunStatus.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_SERVICESITE.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/SSY_SERVICESITE_SERVICES.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/i18nlang/CommonLang/CommonLangi18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNode/XmlData/i18nlang/FrameNodeLang/FrameNodei18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeInterfaces/IFrameManagerNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.ServiceModel.Web; 8 | using System.Data; 9 | 10 | using Entitys.ComonEnti; 11 | using Common; 12 | 13 | namespace Frame.ServiceNodeInterfaces 14 | { 15 | [ServiceContract(ConfigurationName = "Frame.ServiceNodeInterfaces.FrameManagerNodeService")] 16 | public interface IFrameManagerNode 17 | { 18 | #region 升级接口 19 | 20 | /// 21 | /// 向中心节点报告同源单点数据操作失败任务 22 | /// 节点中心后续会继续进行补充完成数据操作 23 | /// 24 | /// 25 | /// 0 成功 其他失败 26 | [OperationContract] 27 | string ReportSameDataActionTaskN(string req); 28 | 29 | /// 30 | /// 获取节点中心同源单点数据操作任务状态 31 | /// 32 | /// 33 | /// 34 | [OperationContract] 35 | string GetSameDataActionTaskStatusN(string req); 36 | 37 | /// 38 | /// 向节点中心报告业务节点、数据节点异常情况 39 | /// 40 | /// 41 | /// 0 成功 其他失败 42 | [OperationContract] 43 | string RecordNodeErrorLogN(string req); 44 | 45 | /// 46 | /// 查询节点异常情况 47 | /// 48 | /// 49 | /// 50 | [OperationContract] 51 | string GetNodeErrorLogsN(string req); 52 | 53 | /// 54 | /// 加载节点运行状态,包括全部节点(可用或不可用) 55 | /// 56 | /// 57 | /// 58 | [OperationContract] 59 | string GetNodeRunStatuN(string req); 60 | 61 | #endregion 62 | 63 | 64 | 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeInterfaces/IFrameNodeSecurity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.ServiceModel.Web; 8 | using System.Data; 9 | 10 | using Entitys.ComonEnti; 11 | using Common; 12 | 13 | namespace Frame.ServiceNodeInterfaces 14 | { 15 | [ServiceContract(ConfigurationName = "Frame.ServiceNodeInterfaces.FrameNodeSecurityService")] 16 | public interface IFrameNodeSecurity 17 | { 18 | #region 升级接口 19 | 20 | /// 21 | /// 获取框架环境 22 | /// 23 | /// 24 | /// 25 | [OperationContract] 26 | string GetFrameParams(string req); 27 | 28 | /// 29 | /// 获取令牌 30 | /// 31 | /// 32 | /// 33 | [OperationContract] 34 | string GetToken(string req); 35 | 36 | /// 37 | /// 检查令牌 38 | /// 39 | /// 40 | /// 41 | [OperationContract] 42 | string CheckToken(string req); 43 | 44 | 45 | /// 46 | /// 加载节点服务地址,仅仅加载目前可用节点(包含业务和数据) 47 | /// 48 | /// 49 | /// 50 | [OperationContract] 51 | string GetDataNodeCollection(string req); 52 | 53 | /// 54 | /// 加载节点服务地址,仅仅加载目前可用节点 55 | /// 56 | /// 57 | /// 58 | [OperationContract] 59 | string GetNodeCollection(string req); 60 | 61 | #endregion 62 | } 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeInterfaces/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Frame.ServiceNodeInterfaces")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Frame.ServiceNodeInterfaces")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("1027eae5-07a6-47be-92cb-95419917abd0")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeLibs/FrameManagerNodeServiceRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.Data; 8 | 9 | using Frame.ServiceNodeInterfaces; 10 | using WebServiceManager; 11 | using Entitys.ComonEnti; 12 | using Common; 13 | 14 | namespace Frame.ServiceNodeLibs 15 | { 16 | public class FrameManagerNodeServiceRest : FrameManagerNodeService, IFrameManagerNodeRest 17 | { 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeLibs/FrameNodeSecurityServiceRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Data; 7 | 8 | using Frame.ServiceNodeInterfaces; 9 | using WebServiceManager; 10 | using Entitys.ComonEnti; 11 | using Common; 12 | 13 | namespace Frame.ServiceNodeLibs 14 | { 15 | public class FrameNodeSecurityServiceRest : FrameNodeSecurityService, IFrameNodeSecurityRest 16 | { 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /FrameNodeServices/Frame.ServiceNodeLibs/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Frame.ServiceNodeLibs")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("Frame.ServiceNodeLibs")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("7b460d80-23fb-4274-88f1-f351ef9a236f")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /Framefrontend/.angular-cli.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "project": { 4 | "name": "frontend" 5 | }, 6 | "apps": [ 7 | { 8 | "root": "src", 9 | "outDir": "dist", 10 | "assets": [ 11 | "assets", 12 | "favicont.ico" 13 | ], 14 | "index": "index.html", 15 | "main": "main.ts", 16 | "polyfills": "polyfills.ts", 17 | "test": "test.ts", 18 | "tsconfig": "tsconfig.app.json", 19 | "testTsconfig": "tsconfig.spec.json", 20 | "prefix": "app", 21 | "styles": [ 22 | "../node_modules/primeng/resources/themes/omega/theme.css", 23 | "../node_modules/primeng/resources/primeng.min.css", 24 | "../node_modules/nprogress/nprogress.css", 25 | "../node_modules/normalize.css/normalize.css", 26 | "assets/css/font-awesome.min.css", 27 | "theme-element.css", 28 | "styles.css" 29 | ], 30 | "scripts": ["../node_modules/chart.js/dist/Chart.js"], 31 | "environmentSource": "environments/environment.ts", 32 | "environments": { 33 | "dev": "environments/environment.ts", 34 | "prod": "environments/environment.prod.ts" 35 | } 36 | } 37 | ], 38 | "e2e": { 39 | "protractor": { 40 | "config": "./protractor.conf.js" 41 | } 42 | }, 43 | "lint": [ 44 | { 45 | "project": "src/tsconfig.app.json", 46 | "exclude": "**/node_modules/**" 47 | }, 48 | { 49 | "project": "src/tsconfig.spec.json", 50 | "exclude": "**/node_modules/**" 51 | }, 52 | { 53 | "project": "e2e/tsconfig.e2e.json", 54 | "exclude": "**/node_modules/**" 55 | } 56 | ], 57 | "test": { 58 | "karma": { 59 | "config": "./karma.conf.js" 60 | } 61 | }, 62 | "defaults": { 63 | "styleExt": "css", 64 | "component": {} 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Framefrontend/.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /Framefrontend/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | 8 | # dependencies 9 | /node_modules 10 | 11 | # IDEs and editors 12 | /.idea 13 | .project 14 | .classpath 15 | .c9/ 16 | *.launch 17 | .settings/ 18 | *.sublime-workspace 19 | 20 | # IDE - VSCode 21 | .vscode/* 22 | !.vscode/settings.json 23 | !.vscode/tasks.json 24 | !.vscode/launch.json 25 | !.vscode/extensions.json 26 | 27 | # misc 28 | /.sass-cache 29 | /connect.lock 30 | /coverage 31 | /libpeerconnection.log 32 | npm-debug.log 33 | testem.log 34 | /typings 35 | 36 | # e2e 37 | /e2e/*.js 38 | /e2e/*.map 39 | 40 | # System Files 41 | .DS_Store 42 | Thumbs.db 43 | -------------------------------------------------------------------------------- /Framefrontend/.vs/frontend/v14/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/.vs/frontend/v14/.suo -------------------------------------------------------------------------------- /Framefrontend/README.md: -------------------------------------------------------------------------------- 1 | # Frontend 2 | 3 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.2. 4 | 5 | ## Development server 6 | 7 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. 8 | 9 | ## Code scaffolding 10 | 11 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. 12 | 13 | ## Build 14 | 15 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. 16 | 17 | ## Running unit tests 18 | 19 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). 20 | 21 | ## Running end-to-end tests 22 | 23 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). 24 | 25 | ## Further help 26 | 27 | To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). 28 | -------------------------------------------------------------------------------- /Framefrontend/e2e/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | 3 | describe('frontend App', () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | 10 | it('should display welcome message', () => { 11 | page.navigateTo(); 12 | expect(page.getParagraphText()).toEqual('Welcome to app!'); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /Framefrontend/e2e/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root h1')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Framefrontend/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "baseUrl": "./", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": [ 9 | "jasmine", 10 | "jasminewd2", 11 | "node" 12 | ] 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Framefrontend/frontend.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "frontend", ".", "{935F3D8D-B5AA-45F5-9913-970F27D00700}" 7 | ProjectSection(WebsiteProperties) = preProject 8 | TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" 9 | Debug.AspNetCompiler.VirtualPath = "/localhost_2594" 10 | Debug.AspNetCompiler.PhysicalPath = "..\frontend\" 11 | Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_2594\" 12 | Debug.AspNetCompiler.Updateable = "true" 13 | Debug.AspNetCompiler.ForceOverwrite = "true" 14 | Debug.AspNetCompiler.FixedNames = "false" 15 | Debug.AspNetCompiler.Debug = "True" 16 | Release.AspNetCompiler.VirtualPath = "/localhost_2594" 17 | Release.AspNetCompiler.PhysicalPath = "..\frontend\" 18 | Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_2594\" 19 | Release.AspNetCompiler.Updateable = "true" 20 | Release.AspNetCompiler.ForceOverwrite = "true" 21 | Release.AspNetCompiler.FixedNames = "false" 22 | Release.AspNetCompiler.Debug = "False" 23 | VWDPort = "2594" 24 | EndProjectSection 25 | EndProject 26 | Global 27 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 28 | Debug|Any CPU = Debug|Any CPU 29 | EndGlobalSection 30 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 31 | {935F3D8D-B5AA-45F5-9913-970F27D00700}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 32 | {935F3D8D-B5AA-45F5-9913-970F27D00700}.Debug|Any CPU.Build.0 = Debug|Any CPU 33 | EndGlobalSection 34 | GlobalSection(SolutionProperties) = preSolution 35 | HideSolutionNode = FALSE 36 | EndGlobalSection 37 | EndGlobal 38 | -------------------------------------------------------------------------------- /Framefrontend/karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular/cli'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular/cli/plugins/karma') 14 | ], 15 | client:{ 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | reports: [ 'html', 'lcovonly' ], 20 | fixWebpackSourcePaths: true 21 | }, 22 | angularCli: { 23 | environment: 'dev' 24 | }, 25 | reporters: ['progress', 'kjhtml'], 26 | port: 9876, 27 | colors: true, 28 | logLevel: config.LOG_INFO, 29 | autoWatch: true, 30 | browsers: ['Chrome'], 31 | singleRun: false 32 | }); 33 | }; 34 | -------------------------------------------------------------------------------- /Framefrontend/node_modules.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/node_modules.rar -------------------------------------------------------------------------------- /Framefrontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "version": "0.0.0", 4 | "license": "MIT", 5 | "scripts": { 6 | "ng": "ng", 7 | "start": "ng serve", 8 | "build": "ng build", 9 | "test": "ng test", 10 | "lint": "ng lint", 11 | "e2e": "ng e2e", 12 | "build --prod --aot": "ng build --prod --aot" 13 | }, 14 | "private": true, 15 | "dependencies": { 16 | "@angular/animations": "^4.2.4", 17 | "@angular/common": "^4.2.4", 18 | "@angular/compiler": "^4.2.4", 19 | "@angular/core": "^4.2.4", 20 | "@angular/flex-layout": "^2.0.0-beta.8", 21 | "@angular/forms": "^4.2.4", 22 | "@angular/http": "^4.2.4", 23 | "@angular/platform-browser": "^4.2.4", 24 | "@angular/platform-browser-dynamic": "^4.2.4", 25 | "@angular/router": "^4.2.4", 26 | "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.27", 27 | "@types/js-base64": "^2.1.5", 28 | "bootstrap": "^4.0.0-alpha.6", 29 | "chart.js": "*", 30 | "core-js": "^2.4.1", 31 | "ngx-bootstrap": "^1.6.3", 32 | "ngx-uploader": "^3.0.5", 33 | "normalize.css": "7.0.0", 34 | "nprogress": "0.2.0", 35 | "primeng": "^4.1.0-rc.1", 36 | "hammerjs": "^2.0.8", 37 | "rxjs": "^5.4.2", 38 | "zone.js": "^0.8.14" 39 | }, 40 | "devDependencies": { 41 | "@angular/cli": "1.4.2", 42 | "@angular/compiler-cli": "^4.2.4", 43 | "@angular/language-service": "^4.2.4", 44 | "@types/jasmine": "~2.5.53", 45 | "@types/jasminewd2": "~2.0.2", 46 | "@types/node": "~6.0.60", 47 | "codelyzer": "~3.1.1", 48 | "jasmine-core": "~2.6.2", 49 | "jasmine-spec-reporter": "~4.1.0", 50 | "karma": "~1.7.0", 51 | "karma-chrome-launcher": "~2.1.1", 52 | "karma-cli": "~1.0.1", 53 | "karma-coverage-istanbul-reporter": "^1.2.1", 54 | "karma-jasmine": "~1.1.0", 55 | "karma-jasmine-html-reporter": "^0.2.2", 56 | "protractor": "~5.1.2", 57 | "ts-node": "~3.2.0", 58 | "tslint": "~5.3.2", 59 | "typescript": "~2.3.3" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Framefrontend/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './e2e/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: 'e2e/tsconfig.e2e.json' 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /Framefrontend/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | 2 | .container { 3 | width: 100%; 4 | height: 100%; 5 | display: block; 6 | } 7 | -------------------------------------------------------------------------------- /Framefrontend/src/app/app.component.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /Framefrontend/src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import {Component, OnInit} from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-root', 5 | templateUrl: './app.component.html', 6 | styleUrls: ['./app.component.css'], 7 | 8 | }) 9 | 10 | export class AppComponent implements OnInit { 11 | ngOnInit() { 12 | 13 | } 14 | 15 | constructor() { 16 | 17 | }; 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Framefrontend/src/app/app.routes.ts: -------------------------------------------------------------------------------- 1 | import {LoginComponent} from './login/login.component'; 2 | import {QuitLoginComponent} from './login/quitlogin.component'; 3 | 4 | export const appRoutes = [ 5 | { 6 | path: '', 7 | redirectTo: 'login', 8 | pathMatch: 'full' 9 | }, 10 | { 11 | path: 'login', 12 | component: LoginComponent 13 | }, 14 | { 15 | path: 'workbench', 16 | loadChildren: './workbench/workbench.module#WorkbenchModule' 17 | }, 18 | { 19 | path: 'quitsystem', 20 | component: QuitLoginComponent 21 | }, 22 | { 23 | path: '**', 24 | component: LoginComponent 25 | } 26 | ]; 27 | -------------------------------------------------------------------------------- /Framefrontend/src/app/app.service.ts: -------------------------------------------------------------------------------- 1 | import {Injectable} from '@angular/core'; 2 | import {Http, Response, Headers, RequestOptions, Request} from '@angular/http'; 3 | 4 | @Injectable() 5 | export class AppService { 6 | constructor(private http: Http) {} 7 | 8 | }//class end 9 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizCustomerUIDemo.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/bizUIDemo/bizCustomerUIDemo.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizCustomerUIDemo.component.html: -------------------------------------------------------------------------------- 1 |
2 |

客户管理

3 |
4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizCustomerUIDemo.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | import { MdDialog, MdDialogRef, MdDialogModule, MD_DIALOG_DATA } from '@angular/material'; 4 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams} from '../../app/common_module/common.service'; 5 | 6 | @Component({ 7 | selector: 'app-bizCustomerUIDemo', 8 | templateUrl: './bizCustomerUIDemo.component.html', 9 | styleUrls: ['./bizCustomerUIDemo.component.css'] 10 | }) 11 | export class BizCustomerUIDemoCardComponent implements OnInit { 12 | 13 | constructor(public commonmodule: CommonRootService) { 14 | 15 | } 16 | 17 | ngOnInit() { 18 | 19 | } 20 | 21 | 22 | 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizInGoodsUIDemo.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/bizUIDemo/bizInGoodsUIDemo.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizInGoodsUIDemo.component.html: -------------------------------------------------------------------------------- 1 |
2 |

进货管理

3 |
4 | 5 | 6 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizInGoodsUIDemo.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | import { MdDialog, MdDialogRef, MdDialogModule, MD_DIALOG_DATA } from '@angular/material'; 4 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams } from '../../app/common_module/common.service'; 5 | 6 | @Component({ 7 | selector: 'app-bizInGoodsUIDemo', 8 | templateUrl: './bizInGoodsUIDemo.component.html', 9 | styleUrls: ['./bizInGoodsUIDemo.component.css'] 10 | }) 11 | export class BizInGoodsUIDemoComponent implements OnInit { 12 | 13 | constructor(public commonmodule: CommonRootService) { 14 | 15 | } 16 | 17 | ngOnInit() { 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizOutGoodsUIDemo.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/bizUIDemo/bizOutGoodsUIDemo.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizOutGoodsUIDemo.component.html: -------------------------------------------------------------------------------- 1 |
2 |

出货管理

3 |
4 | 5 | 6 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizOutGoodsUIDemo.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | import { MdDialog, MdDialogRef, MdDialogModule, MD_DIALOG_DATA } from '@angular/material'; 4 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams } from '../../app/common_module/common.service'; 5 | 6 | @Component({ 7 | selector: 'app-bizOutGoodsUIDemo', 8 | templateUrl: './bizOutGoodsUIDemo.component.html', 9 | styleUrls: ['./bizOutGoodsUIDemo.component.css'] 10 | }) 11 | export class BizOutGoodsUIDemoComponent implements OnInit { 12 | 13 | constructor(public commonmodule: CommonRootService) { 14 | 15 | } 16 | 17 | ngOnInit() { 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizUIDemo.component.css: -------------------------------------------------------------------------------- 1 | .alinkLineHeight{ 2 | line-height: 30px; 3 | text-decoration: none; 4 | } 5 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizUIDemo.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 8 | 10 |
11 |
12 | 13 | 14 |
15 |
16 | 17 | {{group.name}} 18 |
19 |
20 | 21 | {{group.name}} 22 |
23 |
24 | 25 |
26 |
27 |
28 | 29 | {{thrmenu.name}} 30 |
31 |
32 |
33 | 34 |
35 |
36 | 37 |
38 |
39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizUIDemo.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import {FormsModule, ReactiveFormsModule} from "@angular/forms"; 4 | import { FlexLayoutModule } from '@angular/flex-layout'; 5 | import { RouterModule} from "@angular/router"; 6 | 7 | import { MaterialModule} from '@angular/material'; 8 | import 'hammerjs'; 9 | 10 | import { AccordionModule } from 'ngx-bootstrap'; 11 | 12 | import { Dynamic_load_componentDirective, Dynamic_componentItem, Dynamic_omponent } from "../common_module/dynamic.load.component.directive"; 13 | 14 | import {BizUIDemoRoutes} from './bizUIDemo.routes'; 15 | import {BizUIDemoComponent } from './bizUIDemo.component'; 16 | import {BizCustomerUIDemoCardComponent} from './bizCustomerUIDemo.component'; 17 | import {BizInGoodsUIDemoComponent} from './bizInGoodsUIDemo.component'; 18 | import {BizOutGoodsUIDemoComponent} from './bizOutGoodsUIDemo.component'; 19 | 20 | @NgModule({ 21 | imports: [ 22 | FormsModule, 23 | ReactiveFormsModule, 24 | CommonModule, 25 | FlexLayoutModule, 26 | RouterModule.forChild(BizUIDemoRoutes), 27 | AccordionModule.forRoot(), 28 | MaterialModule.forRoot() 29 | ], 30 | declarations: [BizUIDemoComponent, BizCustomerUIDemoCardComponent , 31 | BizInGoodsUIDemoComponent, BizOutGoodsUIDemoComponent], 32 | entryComponents: [], 33 | exports:[RouterModule] 34 | }) 35 | export class BizUIDemoModule { 36 | 37 | } 38 | -------------------------------------------------------------------------------- /Framefrontend/src/app/bizUIDemo/bizUIDemo.routes.ts: -------------------------------------------------------------------------------- 1 | import { BizUIDemoComponent } from './bizUIDemo.component'; 2 | import {BizCustomerUIDemoCardComponent} from './bizCustomerUIDemo.component'; 3 | import {BizInGoodsUIDemoComponent} from './bizInGoodsUIDemo.component'; 4 | import {BizOutGoodsUIDemoComponent} from './bizOutGoodsUIDemo.component'; 5 | 6 | export const BizUIDemoRoutes = [ 7 | { 8 | path: '', 9 | component: BizUIDemoComponent, 10 | children: [ 11 | { 12 | path: '', redirectTo: '001001', pathMatch: 'full' 13 | }, 14 | { 15 | path: '001001', 16 | children: [ 17 | { 18 | path: '', redirectTo: '001001001', pathMatch: 'full' 19 | }, 20 | { 21 | path: '001001001', 22 | component: BizCustomerUIDemoCardComponent 23 | } 24 | ] 25 | }, 26 | { 27 | path: '001005', 28 | children: [ 29 | { 30 | path: '', redirectTo: '001005001', pathMatch: 'full' 31 | }, 32 | { 33 | path: '001005001', 34 | component: BizInGoodsUIDemoComponent 35 | }, 36 | { 37 | path: '001005002', 38 | component: BizOutGoodsUIDemoComponent 39 | } 40 | ] 41 | } 42 | ] 43 | } 44 | ]; 45 | -------------------------------------------------------------------------------- /Framefrontend/src/app/common_module/confirm.dialog.component.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | width: 100%; 3 | height: 100%; 4 | background: url('../../assets/image/bg.jpg') repeat center top; 5 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/common_module/confirm.dialog.component.html: -------------------------------------------------------------------------------- 1 |
2 |

{{actionTitle}}

3 |
4 | {{actionContent}} 5 |

6 |
7 |
8 | 9 | 10 |
11 |
-------------------------------------------------------------------------------- /Framefrontend/src/app/common_module/confirm.dialog.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Inject } from '@angular/core'; 2 | import { ActivatedRoute, Router, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot } from '@angular/router'; 3 | 4 | import { MdDialog, MdDialogRef, MdDialogModule, MD_DIALOG_DATA } from '@angular/material'; 5 | 6 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams } from '../../app/common_module/common.service'; 7 | 8 | @Component({ 9 | selector: 'app-confirm-dialog', 10 | templateUrl: './confirm.dialog.component.html', 11 | styleUrls: ['./confirm.dialog.component.css'] 12 | }) 13 | export class ConfirmDialogComponent implements OnInit { 14 | 15 | actionTitle: string = ""; 16 | actionContent: string = ""; 17 | actionOkText: string = ""; 18 | actionCancelText: string = ""; 19 | 20 | constructor(private dialogRef: MdDialogRef, private commonmodule: CommonRootService, @Inject(MD_DIALOG_DATA) public data: any) { } 21 | 22 | ngOnInit() { 23 | 24 | this.actionTitle = this.data.actionTitle; 25 | this.actionContent = this.data.actionContent; 26 | this.actionOkText = this.data.actionOkText; 27 | this.actionCancelText = this.data.actionCancelText; 28 | } 29 | 30 | 31 | sureYes(): void { 32 | 33 | this.dialogRef.close({ "operationstate": "yes" }); 34 | 35 | } 36 | 37 | sureNo(): void { 38 | 39 | this.dialogRef.close({ "operationstate": "cancel" }); 40 | 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Framefrontend/src/app/common_module/dynamic.load.component.directive.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, Component, Directive, ViewContainerRef, Type } from '@angular/core'; 2 | 3 | @Directive({ 4 | selector: '[dynamic-load-component]' 5 | }) 6 | export class Dynamic_load_componentDirective { 7 | constructor(public viewContainerRef: ViewContainerRef) { }; 8 | } 9 | 10 | export class Dynamic_componentItem { 11 | public componentSelectorName:string = ""; 12 | constructor(public component: Type, public componentParams: any) { }; 13 | 14 | } 15 | 16 | export interface Dynamic_omponent { 17 | componentParams: any; 18 | } 19 | 20 | 21 | -------------------------------------------------------------------------------- /Framefrontend/src/app/common_module/i18ndate.service.ts: -------------------------------------------------------------------------------- 1 | //日期多语言管理 2 | import { NgModule } from '@angular/core'; 3 | import { Injectable } from '@angular/core'; 4 | 5 | @Injectable() 6 | export class I18nDateService { 7 | 8 | constructor() { } 9 | 10 | public getCurrDateLocalConfig(currlang: string): any { 11 | let resObj:any; 12 | if(currlang == "zh-CN"){ 13 | resObj = this.China_date; 14 | } 15 | else if(currlang == "en-ww"){ 16 | resObj = this.Eng_date; 17 | } 18 | return resObj; 19 | } 20 | 21 | //中文配置 22 | private China_date = { 23 | firstDayOfWeek: 0, 24 | dayNames: ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期日'], 25 | dayNamesShort: ['一', '二', '三', '四', '五', '六', '日'], 26 | dayNamesMin: ['一', '二', '三', '四', '五', '六', '日'], 27 | monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], 28 | monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], 29 | today: '今日', 30 | clear: '清空' 31 | }; 32 | 33 | //英文配置 34 | private Eng_date = { 35 | firstDayOfWeek: 0, 36 | dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], 37 | dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 38 | dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], 39 | monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], 40 | monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 41 | today: 'Today', 42 | clear: 'Clear' 43 | }; 44 | 45 | //后续扩展其他语言 46 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/login/login.component.css: -------------------------------------------------------------------------------- 1 | .login-inpput{ 2 | background: url('../../assets/image/input_icons_24.png') no-repeat; 3 | background-position: 0 -61px; 4 | padding-left: 30px; 5 | display: block; 6 | width: 100%; 7 | height: 30px; 8 | border:1px solid #dddddd; 9 | } 10 | .login-password{ 11 | background-position: 0 -140px; 12 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/login/login.service.ts: -------------------------------------------------------------------------------- 1 | import {Injectable} from '@angular/core'; 2 | import {Http, Response, Headers, RequestOptions, Request} from '@angular/http'; 3 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams} from '../common_module/common.service'; 4 | 5 | @Injectable() 6 | export class LoginService { 7 | constructor(public commonmodule: CommonRootService) {} 8 | 9 | //i18nframelang 10 | getI18nFrameLang(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 11 | 12 | this.commonmodule.getHttpInfoData(reqdata, resdataFunc, displayresdataFunc, errorFunc); 13 | 14 | } 15 | 16 | //i18ncommonlang 17 | getI18nCommonLang(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 18 | 19 | this.commonmodule.getHttpInfoData(reqdata, resdataFunc, displayresdataFunc, errorFunc); 20 | 21 | } 22 | 23 | //useservices 24 | getUseServices(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 25 | 26 | this.commonmodule.getHttpInfoData(reqdata, resdataFunc, displayresdataFunc, errorFunc); 27 | 28 | } 29 | 30 | //nodecenteraddr 31 | getNodeCenterAddr(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 32 | 33 | this.commonmodule.getHttpInfoData(reqdata, resdataFunc, displayresdataFunc, errorFunc); 34 | 35 | } 36 | 37 | //biznodeaddr 38 | getBizNodeAddr(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 39 | 40 | this.commonmodule.getHttpInfoDataAuth(reqdata, resdataFunc, displayresdataFunc, errorFunc); 41 | 42 | } 43 | 44 | //Login 45 | login(userToken:string, reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 46 | 47 | //this.commonmodule.getHttpInfoData(reqdata, resdataFunc, displayresdataFunc, errorFunc); 48 | this.commonmodule.getHttpInfoDataAuth(reqdata, resdataFunc, displayresdataFunc, errorFunc); 49 | 50 | } 51 | 52 | //get munu 53 | getMenu(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 54 | 55 | this.commonmodule.getHttpInfoDataAuth(reqdata, resdataFunc, displayresdataFunc, errorFunc); 56 | 57 | } 58 | 59 | 60 | 61 | }//class end 62 | -------------------------------------------------------------------------------- /Framefrontend/src/app/login/quitlogin.component.css: -------------------------------------------------------------------------------- 1 | /* 重新登陆界面 */ 2 | .login-div { 3 | width: 100%; 4 | height: 100%; 5 | background: url('../../assets/image/bg.jpg') repeat center top; 6 | } 7 | h1{ 8 | font-size: 30px; 9 | color: #1B71A5; 10 | font-weight: 700; 11 | } 12 | 13 | button{ 14 | width: 196px; 15 | height: 44px; 16 | background-color:#2493DD; 17 | color: #ffffff; 18 | border-radius: 5px; 19 | margin-top: 10px; 20 | font-weight: 700; 21 | font-size: 16px; 22 | } 23 | -------------------------------------------------------------------------------- /Framefrontend/src/app/login/quitlogin.component.html: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /Framefrontend/src/app/login/quitlogin.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { ActivatedRoute, Router, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot } from '@angular/router'; 3 | import { Base64 } from 'js-base64'; 4 | //import NProgress from 'nprogress'; 5 | 6 | import { Message } from 'primeng/primeng'; 7 | 8 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams } from '../common_module/common.service'; 9 | 10 | @Component({ 11 | selector: 'app-quitlogin', 12 | templateUrl: './quitlogin.component.html', 13 | styleUrls: ['./quitlogin.component.css'] 14 | }) 15 | export class QuitLoginComponent implements OnInit { 16 | 17 | framelang: any = {}; 18 | commonlang: any = {}; 19 | 20 | constructor(public router: Router, public commonmodule: CommonRootService) { } 21 | 22 | ngOnInit() { 23 | //NProgress.done(); 24 | this.framelang = JSON.parse(this.commonmodule.getFrameI18nlang()); 25 | this.commonlang = JSON.parse(this.commonmodule.getCommonI18nlang()); 26 | } 27 | 28 | reLogin(): void { 29 | this.router.navigateByUrl("login"); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /Framefrontend/src/app/not-found.component.css: -------------------------------------------------------------------------------- 1 | .notfound-area{ 2 | width: 100%; 3 | height: 100%; 4 | height: 550px; 5 | background-color: #ffffff; 6 | position: relative; 7 | /* margin: 10px; */ 8 | border:1px solid #A6B3BE; 9 | } 10 | .notfound-area .notfound-box{ 11 | width: 400px; 12 | height: 280px; 13 | position: absolute; 14 | top: 50%; 15 | left: 50%; 16 | margin-left: -200px; 17 | margin-top: -140px; 18 | text-align: center; 19 | } 20 | img{ 21 | width: 100%; 22 | } 23 | p{ 24 | height: 20px; 25 | text-align: center; 26 | margin-top: 24px; 27 | } 28 | input{ 29 | border: 1px solid #F52834; 30 | height: 30px; 31 | width: 160px; 32 | border-radius: 4px; 33 | margin-top: 7px; 34 | color: #F52834; 35 | background-color: #fff; 36 | } 37 | input:hover{ 38 | background-color: #CEE2EC; 39 | cursor: pointer; 40 | } 41 | body{ 42 | height: 100%; 43 | width: 100%; 44 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/not-found.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 页面没找到 4 |

非常抱歉,您访问的页面不存在!

5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /Framefrontend/src/app/not-found.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import {Location} from '@angular/common'; 3 | @Component({ 4 | selector:'app-404', 5 | templateUrl:'./not-found.component.html', 6 | styleUrls:['./not-found.component.css'] 7 | }) 8 | export class PageNotFoundComponent { 9 | constructor(private location: Location) { 10 | } 11 | goBack() { 12 | this.location.back(); 13 | } 14 | } 15 | 16 | /* 17 | import { Component } from '@angular/core'; 18 | import {Location} from "@angular/common"; 19 | @Component({ 20 | template: ` 21 | 页面没找到 22 | `, 23 | styles: [ ' .PageNotFoundComponent { height: 800px }' ], 24 | }) 25 | export class PageNotFoundComponent { 26 | constructor(private location: Location) { 27 | }; 28 | goBack(){ 29 | this.location.back(); 30 | } 31 | } 32 | */ -------------------------------------------------------------------------------- /Framefrontend/src/app/preloading.ts: -------------------------------------------------------------------------------- 1 | //preload 2 | import 'rxjs/add/observable/of'; 3 | import { Injectable } from '@angular/core'; 4 | import { PreloadingStrategy, Route } from '@angular/router'; 5 | import { Observable } from 'rxjs/Observable'; 6 | 7 | @Injectable() 8 | export class Preload implements PreloadingStrategy { 9 | preloadedModules: string[] = []; 10 | preload(route: Route, load: () => Observable): Observable { 11 | if (route.data && route.data['preload']) { 12 | // add the route path to the preloaded module array 13 | setTimeout(()=>{ 14 | this.preloadedModules.push(route.path); 15 | return load(); 16 | },500) 17 | // log the route path to the console 18 | // console.log('Preloaded: ' + route.path); 19 | } else { 20 | return Observable.of(null); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Framefrontend/src/app/rxjs-all.ts: -------------------------------------------------------------------------------- 1 | 2 | // Statics 3 | import 'rxjs/add/observable/throw'; 4 | import 'rxjs/add/observable/combineLatest'; 5 | import 'rxjs/add/observable/from'; 6 | import 'rxjs/add/observable/of'; 7 | // Operators 8 | import 'rxjs/add/operator/catch'; 9 | 10 | import 'rxjs/add/operator/debounceTime'; 11 | import 'rxjs/add/operator/distinctUntilChanged'; 12 | import 'rxjs/add/operator/map'; 13 | import 'rxjs/add/operator/switchMap'; 14 | import 'rxjs/add/operator/toPromise'; 15 | import 'rxjs/add/operator/startWith'; 16 | import 'rxjs/add/operator/bufferCount'; 17 | import 'rxjs/add/operator/bufferTime'; 18 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/helpdoc/使用手册.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/helpdoc/使用手册.docx -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.bizdict.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.bizdict.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.comdict.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.comdict.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.entry.component.css: -------------------------------------------------------------------------------- 1 | .alinkLineHeight{ 2 | line-height: 30px; 3 | text-decoration: none; 4 | } 5 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.entry.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 8 | 10 |
11 |
12 | 13 | 14 |
15 |
16 | 17 | {{group.name}} 18 |
19 |
20 | 21 | {{group.name}} 22 |
23 |
24 | 25 |
26 |
27 |
28 | 29 | {{thrmenu.name}} 30 |
31 |
32 |
33 | 34 |
35 |
36 | 37 |
38 |
39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.group.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.group.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.logdetail.dialog.component.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | width: 100%; 3 | height: 100%; 4 | background: url('../../assets/image/bg.jpg') no-repeat center top; 5 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.logdetail.dialog.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, Inject } from '@angular/core'; 2 | import { ActivatedRoute, Router, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot } from '@angular/router'; 3 | 4 | import { Message } from 'primeng/primeng'; 5 | 6 | import { MdDialog, MdDialogRef, MdDialogModule, MD_DIALOG_DATA } from '@angular/material'; 7 | 8 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams, CheckBizObjectRepatParams } from '../../app/common_module/common.service'; 9 | 10 | import { SysmanagerService } from './sysmanager.service'; 11 | 12 | @Component({ 13 | selector: 'app-sysmanager-logdetail-dialog', 14 | templateUrl: './sysmanager.logdetail.dialog.component.html', 15 | styleUrls: ['./sysmanager.logdetail.dialog.component.css'] 16 | }) 17 | export class SysmanagerLogDetailDialogComponent implements OnInit { 18 | 19 | framelang: any = {}; 20 | commonlang: any = {}; 21 | currselect: any = {}; 22 | consticky: boolean = false; 23 | 24 | errorinfos: any = []; 25 | 26 | constructor(private sysmanagerServ: SysmanagerService, private mainValueName: MainValueName, private checkparams: CheckBizObjectRepatParams, 27 | private dialogRef: MdDialogRef, 28 | private commonmodule: CommonRootService, @Inject(MD_DIALOG_DATA) public data: any) { 29 | 30 | } 31 | 32 | ngOnInit() { 33 | 34 | this.framelang = JSON.parse(this.commonmodule.getFrameI18nlang()); 35 | this.commonlang = JSON.parse(this.commonmodule.getCommonI18nlang()); 36 | this.currselect = this.data; 37 | } 38 | 39 | sureNo(): void { 40 | 41 | this.dialogRef.close({ "operationstate": "cancel" }); 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.modifypwd.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.modifypwd.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.modifypwd.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{framelang.frmModifypwd}}
4 |
5 |
6 |
7 |
8 |
9 | 10 | 11 | 12 |
13 |
14 | 15 | 16 | 17 |
18 |
19 | 20 | 21 | 22 |
23 |
24 | 25 | 26 | 27 |
28 |
29 | 30 | 31 | 32 |
33 |
34 | 38 | 42 |
43 |
44 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.oppage.dialog.component.css: -------------------------------------------------------------------------------- 1 | .bg { 2 | width: 100%; 3 | height: 100%; 4 | background: url('../../assets/image/bg.jpg') repeat center top; 5 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.page.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.page.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.priviliege.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.priviliege.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.querylog.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.querylog.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.resetpwd.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.resetpwd.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.resetpwd.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{framelang.frmResetpwdTitle}}
4 |
5 |
6 |
7 |
8 |
9 | 10 | 11 | 12 | 13 | {{v.text}} 14 | 15 | 16 | 17 | 21 |
22 |
23 |
24 |
25 |
26 | 27 | 28 | 29 |
30 |
31 | 32 | 33 | 34 |
35 |
36 | 37 | 38 | 39 |
40 |
41 | 42 | 43 | 44 |
45 |
46 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.servicehelp.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.servicehelp.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.servicehelp.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{framelang.frmHelpTitle}}
4 |
5 |
6 |
7 |
8 |
9 | 10 | 11 | 12 |
13 | 16 |
17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 |
26 |
27 | 28 | 29 | 30 |
31 |
32 | 33 | 34 | 35 |
36 |
37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 |
46 |
47 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.servicehelp.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { trigger, state, style, animate, transition } from '@angular/animations'; 3 | import { ActivatedRoute, Router, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot } from '@angular/router'; 4 | 5 | import { Message } from 'primeng/primeng'; 6 | 7 | import {MdDialog, MdDialogRef, MD_DIALOG_DATA} from '@angular/material'; 8 | 9 | import {ConfirmDialogComponent} from '../common_module/confirm.dialog.component'; 10 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams, EnvData, CheckBizObjectRepatParams } from '../common_module/common.service'; 11 | 12 | import { SysmanagerService } from './sysmanager.service'; 13 | 14 | @Component({ 15 | selector: 'app-sysmanager-servicehelp', 16 | templateUrl: './sysmanager.servicehelp.component.html', 17 | styleUrls: ['./sysmanager.servicehelp.component.css'] 18 | 19 | }) 20 | export class SysmanagerServicehelpComponent implements OnInit { 21 | 22 | framelang: any = {}; 23 | commonlang: any = {}; 24 | errorinfos: any = []; 25 | consticky: boolean = false; 26 | 27 | frmHelpSystemName:string = ""; 28 | frmHelpUseManualDoc:string = ""; 29 | frmLinkMan:string = ""; 30 | frmHelpTelephone:string = ""; 31 | frmHelpQQ:string = ""; 32 | frmHelpEmail:string = ""; 33 | frmHelpCopyright:string = ""; 34 | frmHelpWebSite:string = ""; 35 | 36 | 37 | constructor(private sysmanagerServ: SysmanagerService, private router: Router, private commonmodule: CommonRootService, 38 | private mainValueName: MainValueName, private checkDBParams: CheckBizObjectRepatParams, private dialog: MdDialog) { 39 | 40 | } 41 | 42 | ngOnInit() { 43 | 44 | this.framelang = JSON.parse(this.commonmodule.getFrameI18nlang()); 45 | this.commonlang = JSON.parse(this.commonmodule.getCommonI18nlang()); 46 | 47 | this.frmHelpSystemName = this.framelang.SystemName; 48 | 49 | 50 | } 51 | 52 | 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Framefrontend/src/app/sysmanager/sysmanager.user.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/sysmanager/sysmanager.user.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.bottom.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/workbench/workbench.bottom.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.bottom.component.html: -------------------------------------------------------------------------------- 1 |
2 |
版权所有:CodeFC(2018-2023)    版本:V1.0
3 |
-------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.bottom.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { trigger, state, style, animate, transition } from '@angular/animations'; 3 | import { ActivatedRoute, Router, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot } from '@angular/router'; 4 | 5 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams, EnvData } from '../common_module/common.service'; 6 | 7 | import { WorkbenchService } from './workbench.service'; 8 | 9 | @Component({ 10 | selector: 'app-workbench-bottom', 11 | templateUrl: './workbench.bottom.component.html', 12 | styleUrls: ['./workbench.bottom.component.css'], 13 | animations: [ 14 | trigger('menuState', [ 15 | state('inactive', style({ 16 | left: '0px' 17 | })), 18 | state('active', style({ 19 | left: '-110px' 20 | })), 21 | transition('inactive => active', animate('200ms ease-in')), 22 | transition('active => inactive', animate('200ms ease-out')) 23 | ]), 24 | trigger('routerState', [ 25 | state('inactive', style({ 26 | marginLeft: '170px' 27 | })), 28 | state('active', style({ 29 | marginLeft: '50px' 30 | })), 31 | transition('inactive => active', animate('200ms ease-in')), 32 | transition('active => inactive', animate('200ms ease-out')) 33 | ]), 34 | trigger('imgState', [ 35 | state('inactive', style({ 36 | left: '16px' 37 | })), 38 | state('active', style({ 39 | left: '123px' 40 | })), 41 | transition('inactive => active', animate('200ms ease-in')), 42 | transition('active => inactive', animate('200ms ease-out')) 43 | ]) 44 | ] 45 | }) 46 | export class WorkbenchBottomComponent implements OnInit { 47 | 48 | constructor(private workbenchServ: WorkbenchService, public router: Router, public commonmodule: CommonRootService) { 49 | }; 50 | 51 | ngOnInit() { 52 | 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |
6 |
7 |
8 | 9 | {{item.name}}  10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 |
23 | 24 |
25 |
-------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.header.component.css: -------------------------------------------------------------------------------- 1 | .logo_max{ 2 | width:200px; 3 | } 4 | .logo_min{ 5 | width:100px; 6 | } -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.module.ts: -------------------------------------------------------------------------------- 1 | import {NgModule} from '@angular/core'; 2 | import {CommonModule} from '@angular/common'; 3 | import {RouterModule} from '@angular/router'; 4 | import {FormsModule, FormControl, ReactiveFormsModule} from '@angular/forms'; 5 | import { FlexLayoutModule } from '@angular/flex-layout'; 6 | 7 | import { MaterialModule} from '@angular/material'; 8 | import 'hammerjs'; 9 | 10 | 11 | import { 12 | GrowlModule, MessagesModule 13 | } from 'primeng/primeng'; 14 | 15 | import { AccordionModule } from 'ngx-bootstrap'; 16 | 17 | import {PageNotFoundComponent} from '../not-found.component'; 18 | 19 | import {workbenchRoutes} from './workbench.routes'; 20 | import {WorkbenchComponent} from './workbench.component'; 21 | import {WorkbenchHeaderComponent} from './workbench.header.component'; 22 | import {WorkbenchBottomComponent} from './workbench.bottom.component'; 23 | import { WorkbenchNoPrevilegeComponent } from "./workbench.noprevilege.component"; 24 | 25 | 26 | @NgModule({ 27 | imports: [ 28 | FormsModule, 29 | ReactiveFormsModule, 30 | CommonModule, 31 | FlexLayoutModule, 32 | 33 | MessagesModule, 34 | GrowlModule, 35 | 36 | RouterModule.forChild(workbenchRoutes), 37 | MaterialModule.forRoot(), 38 | AccordionModule.forRoot() 39 | ], 40 | exports: [], 41 | declarations: [ 42 | WorkbenchComponent, 43 | PageNotFoundComponent, 44 | WorkbenchHeaderComponent, 45 | WorkbenchBottomComponent, 46 | WorkbenchNoPrevilegeComponent 47 | ], 48 | providers: [ 49 | 50 | ], 51 | }) 52 | export class WorkbenchModule { 53 | } 54 | -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.noprevilege.component.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/app/workbench/workbench.noprevilege.component.css -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.noprevilege.component.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

4 | {{commonlang.label_noPreviliege}} 5 |
6 |
7 | -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.routes.ts: -------------------------------------------------------------------------------- 1 | import {WorkbenchComponent} from './workbench.component'; 2 | import {PageNotFoundComponent} from '../not-found.component'; 3 | import { WorkbenchNoPrevilegeComponent } from "./workbench.noprevilege.component"; 4 | 5 | export const workbenchRoutes = [ 6 | { 7 | path: '', 8 | component: WorkbenchComponent, 9 | children: [ 10 | { 11 | path: '', redirectTo: '000', pathMatch: 'full' 12 | }, 13 | { 14 | path: '000', component:WorkbenchNoPrevilegeComponent 15 | }, 16 | { 17 | path: '001', 18 | loadChildren: '../bizUIDemo/bizUIDemo.module#BizUIDemoModule', 19 | data: {preload: true} 20 | }, 21 | { 22 | path: '800', 23 | loadChildren: '../sysmanager/sysmanager.module#SysmanagerModule', 24 | data: {preload: true} 25 | }, 26 | { 27 | path: '**', 28 | component:PageNotFoundComponent 29 | } 30 | ] 31 | } 32 | ]; 33 | -------------------------------------------------------------------------------- /Framefrontend/src/app/workbench/workbench.service.ts: -------------------------------------------------------------------------------- 1 | import {Injectable} from '@angular/core'; 2 | import {Http, Response, Headers, RequestOptions, Request} from '@angular/http'; 3 | import { CommonRootService, MainValueName, PagingParam, RequestParams, ResponseParams} from '../common_module/common.service'; 4 | 5 | 6 | @Injectable() 7 | export class WorkbenchService { 8 | constructor(public commonmodule: CommonRootService) { 9 | } 10 | 11 | //get biz munu 12 | getBizMenu(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 13 | 14 | this.commonmodule.getHttpInfoDataAuth(reqdata, resdataFunc, displayresdataFunc, errorFunc); 15 | 16 | } 17 | 18 | //退出系统 19 | quitSystem(reqdata: RequestParams, resdataFunc: any, displayresdataFunc: any, errorFunc:any): void{ 20 | 21 | this.commonmodule.getHttpInfoDataAuth(reqdata, resdataFunc, displayresdataFunc, errorFunc); 22 | 23 | } 24 | 25 | }//class end 26 | -------------------------------------------------------------------------------- /Framefrontend/src/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/.gitkeep -------------------------------------------------------------------------------- /Framefrontend/src/assets/data/nodecenteraddr.json: -------------------------------------------------------------------------------- 1 | { 2 | "master_node": "http://localhost:10081", 3 | "master_node_state": "1", 4 | "slave_node": "http://localhost:10081", 5 | "slave_node_state": "1", 6 | "timeOutMinutes":"2", 7 | "keypwd": "custom_xxx", 8 | "ivpwd":"custom_xxx" 9 | } -------------------------------------------------------------------------------- /Framefrontend/src/assets/data/useservices.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "frameNodeR100", 4 | "url_addr": "", 5 | "moudname": "框架节点模块", 6 | "moudiden": "FrameNode", 7 | "servname": "节点安全服务", 8 | "serviden": "framenodesecu", 9 | "servcodename": "FrameNodeSecurityServiceRest.svc", 10 | "use_status": "1", 11 | "remarks": "", 12 | "version": "1.0" 13 | }, 14 | { 15 | "id": "frameNodeR105", 16 | "url_addr": "", 17 | "moudname": "框架节点模块", 18 | "moudiden": "FrameNode", 19 | "servname": "节点管理服务", 20 | "serviden": "framenodemgt", 21 | "servcodename": "FrameManagerNodeServiceRest.svc", 22 | "use_status": "1", 23 | "remarks": "", 24 | "version": "1.0" 25 | }, 26 | { 27 | "id": "frameMgtR100", 28 | "url_addr": "", 29 | "moudname": "框架管理模块", 30 | "moudiden": "FrameMgt", 31 | "servname": "框架安全服务", 32 | "serviden": "framesecurity", 33 | "servcodename": "FrameSecurityServiceRest.svc", 34 | "use_status": "1", 35 | "remarks": "", 36 | "version": "1.0" 37 | }, 38 | { 39 | "id": "frameMgtR105", 40 | "url_addr": "", 41 | "moudname": "框架管理模块", 42 | "moudiden": "FrameMgt", 43 | "servname": "框架管理服务", 44 | "serviden": "frameManager", 45 | "servcodename": "FrameManagerServiceRest.svc", 46 | "use_status": "1", 47 | "remarks": "", 48 | "version": "1.0" 49 | }, 50 | { 51 | "id": "somebizMgtR100", 52 | "url_addr": "", 53 | "moudname": "somebiz模块", 54 | "moudiden": "SomebizMgt", 55 | "servname": "somebiz模块服务", 56 | "serviden": "somebizManager", 57 | "servcodename": "SomebizServiceRest.svc", 58 | "use_status": "1", 59 | "remarks": "", 60 | "version": "1.0" 61 | } 62 | ] -------------------------------------------------------------------------------- /Framefrontend/src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Framefrontend/src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Framefrontend/src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Framefrontend/src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /Framefrontend/src/assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /Framefrontend/src/assets/i18nlang/i18ncommon_zh-CN.json: -------------------------------------------------------------------------------- 1 | { 2 | "noticeHttpError_info": "http请求发生未知异常!原因:", 3 | "noticeHttpReturnError": "http请求返回异常!", 4 | "noticeError": "操作发生异常!原因:", 5 | "actionZoneName": "操作", 6 | "action_add": "新增", 7 | "action_query": "查询", 8 | "action_delete": "删除", 9 | "action_deleteAll": "批量删除", 10 | "action_modify": "修改", 11 | "action_save": "保存", 12 | "action_cofirm": "确认", 13 | "action_cancel": "取消", 14 | "action_close": "关闭", 15 | "action_reset": "重置", 16 | "action_resetpassword": "重置默认密码", 17 | "anaReturnResultErr": "解析结果发送错误!原因:", 18 | "noticeDelAction": "确定要删除吗?删除后不可恢复!", 19 | "noticePleaseSelectData": "请选择数据!", 20 | "noticeDataNoChange": "数据无变化!", 21 | "noticeNoFoundData": "没有数据!", 22 | "noticeSaveSuccess": "操作成功!", 23 | "noticeSaveFail": "操作失败!", 24 | "noticeInfoTitle": "提示信息", 25 | "labelAllName": "全部", 26 | "labelIs": "是", 27 | "labelIsNot": "否", 28 | "labelIsUse": "是否启用", 29 | "labelStartUse": "启用", 30 | "labelNotUse": "不启用", 31 | "labelSequenceNum": "序号", 32 | "labelTelephone": "手机", 33 | "labelEmail": "Email", 34 | "labelRemark": "备注", 35 | "labelDate": "日期", 36 | "labelStartDate": "开始日期", 37 | "labelEndDate": "结束日期", 38 | "labelCompDate": "开始日期不能大于结束日期!", 39 | "labelTmp": "模板", 40 | "label_chkRemark": "备注长度小于125或非法输入!", 41 | "label_chkTelephone": "手机格式错误或非法输入!", 42 | "label_chkEmail": "Email格式错误长度小于100或非法输入", 43 | "label_chkGridDataRep": "发现当前表格内如下数据重复,请检查!", 44 | "label_chkGridDataRepErr": "当前表格内数据重复检查发生异常!原因:", 45 | "label_chkGridDataDBRep1": "数据库中,[", 46 | "label_chkGridDataDBRep2": "]里已经存在[", 47 | "label_chkGridDataDBRep3": "]数据!", 48 | "label_chkGridDataDBRepErr": "检查数据库中数据重复失败!原因:", 49 | "label_chkGridDataDBRepCom1": "数据库中已经存在[", 50 | "label_chkGridDataDBRepCom2": "]数据!", 51 | "label_chkGridDataVerifyEmpty": "不能为空!", 52 | "label_chkGridDataCurrRowIndex": "行号:", 53 | "label_chkGridDataPagerFirstText": "首页", 54 | "label_chkGridDataPagerPreviousText": "上页", 55 | "label_chkGridDataPagerNextText": "下页", 56 | "label_chkGridDataPagerEndText": "末页", 57 | "label_quitSystemTitle":"您已经安全退出系统!", 58 | "label_noPreviliege":"工作台!" 59 | 60 | } -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/404.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/bg.jpg -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/df.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/df.jpg -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/input_icons_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/input_icons_24.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/login_03.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/login_03.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/login_04.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/login_04.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/login_06.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/login_06.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/login_07.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/login_07.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/login_08.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/login_08.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_01.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_04.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_04.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_07.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_07.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_08.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_08.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_09.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_09.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_14.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_16.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_18.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_23.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_38.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_40.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_42.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_47.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_49.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/main_51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/main_51.gif -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/menu-hide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/menu-hide.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/menu-show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/menu-show.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/rows-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/rows-d.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/image/user-ph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/assets/image/user-ph.png -------------------------------------------------------------------------------- /Framefrontend/src/assets/login.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "admin", 3 | "passwrod": "admin" 4 | } 5 | -------------------------------------------------------------------------------- /Framefrontend/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /Framefrontend/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // The file contents for the current environment will overwrite these during build. 2 | // The build system defaults to the dev environment which uses `environment.ts`, but if you do 3 | // `ng build --env=prod` then `environment.prod.ts` will be used instead. 4 | // The list of which env maps to which file can be found in `.angular-cli.json`. 5 | 6 | export const environment = { 7 | production: false 8 | }; 9 | -------------------------------------------------------------------------------- /Framefrontend/src/favicont.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/Framefrontend/src/favicont.ico -------------------------------------------------------------------------------- /Framefrontend/src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Loading... 15 | 16 | 17 | -------------------------------------------------------------------------------- /Framefrontend/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.log(err)); 13 | -------------------------------------------------------------------------------- /Framefrontend/src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/long-stack-trace-zone'; 4 | import 'zone.js/dist/proxy.js'; 5 | import 'zone.js/dist/sync-test'; 6 | import 'zone.js/dist/jasmine-patch'; 7 | import 'zone.js/dist/async-test'; 8 | import 'zone.js/dist/fake-async-test'; 9 | import { getTestBed } from '@angular/core/testing'; 10 | import { 11 | BrowserDynamicTestingModule, 12 | platformBrowserDynamicTesting 13 | } from '@angular/platform-browser-dynamic/testing'; 14 | 15 | // Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. 16 | declare const __karma__: any; 17 | declare const require: any; 18 | 19 | // Prevent Karma from running prematurely. 20 | __karma__.loaded = function () {}; 21 | 22 | // First, initialize the Angular testing environment. 23 | getTestBed().initTestEnvironment( 24 | BrowserDynamicTestingModule, 25 | platformBrowserDynamicTesting() 26 | ); 27 | // Then we find all the tests. 28 | const context = require.context('./', true, /\.spec\.ts$/); 29 | // And load the modules. 30 | context.keys().map(context); 31 | // Finally, start Karma to run the tests. 32 | __karma__.start(); 33 | -------------------------------------------------------------------------------- /Framefrontend/src/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "baseUrl": "./", 6 | "module": "es2015", 7 | "types": [] 8 | }, 9 | "exclude": [ 10 | "test.ts", 11 | "**/*.spec.ts" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /Framefrontend/src/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/spec", 5 | "baseUrl": "./", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": [ 9 | "jasmine", 10 | "node" 11 | ] 12 | }, 13 | "files": [ 14 | "test.ts" 15 | ], 16 | "include": [ 17 | "**/*.spec.ts", 18 | "**/*.d.ts" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /Framefrontend/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | /* SystemJS module definition */ 2 | declare var module: NodeModule; 3 | interface NodeModule { 4 | id: string; 5 | } 6 | -------------------------------------------------------------------------------- /Framefrontend/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "outDir": "./dist/out-tsc", 5 | "sourceMap": true, 6 | "declaration": false, 7 | "moduleResolution": "node", 8 | "emitDecoratorMetadata": true, 9 | "experimentalDecorators": true, 10 | "target": "es5", 11 | "typeRoots": [ 12 | "node_modules/@types" 13 | ], 14 | "lib": [ 15 | "es2017", 16 | "dom" 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CFCFrame 2 | 基于angular和wcf的一套微服务研发框架! 3 | 4 | # 介绍 5 | 本框架采用前后端分离模式,以模块为根基,组件为抓手内聚业务, 6 | 7 | 研发出的项目或产品均支持PC端、平板端、Mobile端,真正做到一套代码服务多端。 8 | 9 | 拥有本框架您相当于具备了10多年的软件研发积累。 10 | 11 | 框架本身集成众多亮点功能: 12 | 13 | 1、权限管理、自动鉴权及授权、自动记录日志、通用业务及常规字典管理、业务实现(外观+工厂模式可灵活扩展)、数据访问(工厂模式,理论上支持多种数据库)等 14 | 15 | 2、支持实时多语言、负载均衡、分布式服务、分布式数据库、节点管理中心、自动上报有问题的业务节点和数据节点等 16 | 17 | 3、支持Oracle、MSSQL、MYSQL,理论上支持多种数据库,扩展数据访问工厂即可(同构数据库可以在支持的任意种关系型数据库上运行) 18 | 19 | 4、通用基础功能的封装,包括泛型版本实现 20 | 21 | 5、前端通用HTTP访问集中封装,可以随意使用angular的http或httpclient组件 22 | 23 | 6、后端基础CRUD操作集中封装,应用端只要配置操作字段即可 24 | 25 | 7、前后端入参、出参、错误处理统一封装 26 | 27 | 8、框架UI可支持根据自己的喜好重新设计版面 28 | 29 | 9、提供nuget服务程序(直接部署即可) 30 | 31 | # 文档 32 | 框架具体应用及demo参考:http://www.codefc.cn 33 | 34 | 框架应用交流QQ群:706224870,群文件里有相关技术点的实例源码,供大家参考 35 | 36 | CodeFC贡献的学习资源: 37 | 38 | csdn:https://blog.csdn.net/mql007007 39 | 40 | cnblog:http://www.cnblogs.com/maotou/ 41 | 42 | # 框架采用技术栈 43 | 前端:H5、CSS3、Angular、Typescript、UI库(框架采用Mat2、ngx-bootstrap、PrimeNG,具体应用方可选自己熟悉的UI库来开发业务功能) 44 | 45 | 后端:RESTful、C#.NET、WCF、工厂模式、外观模式、AOP 46 | 47 | 数据库:目前框架实现支持Oracle、MSSQL、MYSQL 48 | 49 | # License 50 | CFCFrame is licensed under the MIT license 51 | -------------------------------------------------------------------------------- /WebServiceManager/WebServiceManager/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("WebServiceManager")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("WebServiceManager")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("cb8c00e4-f17c-4859-910b-07e8145d81e1")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Biz/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.Biz")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.Biz")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("6b186e8f-af4a-49af-9e52-6703487001d6")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.BizExecFacade/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.BizExecFacade")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.BizExecFacade")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("522c838d-8d57-415e-8fcc-4b6ebeb0dfbe")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.BizExectute/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.BizExectute")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.BizExectute")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("a101c00f-abf2-4331-b886-434a1eeba27d")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.BizFactory/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.BizFactory")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.BizFactory")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("b445dd6a-0841-4353-b537-e633a2a1e7a8")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Entities/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.Entities")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.Entities")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("6191a786-671a-4044-adb4-5a6813cc9e6b")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Entities/SSY_BIZ_DICT.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Xxx.Entities 9 | { 10 | [DataContract] 11 | public class SSY_BIZ_DICT 12 | { 13 | [DataMember] 14 | public object SSY_BIZ_DICTID { get; set; } 15 | 16 | [DataMember] 17 | public object DOMAINNAMEIDEN { get; set; } 18 | 19 | [DataMember] 20 | public object DOMAINNAMES { get; set; } 21 | 22 | [DataMember] 23 | public object OPTIONIDEN { get; set; } 24 | 25 | [DataMember] 26 | public object OPTIONNAMES { get; set; } 27 | 28 | [DataMember] 29 | public object OPTIONIDEN_CUT { get; set; } 30 | 31 | [DataMember] 32 | public object OPTIONNAMES_CUT { get; set; } 33 | 34 | [DataMember] 35 | public object PYM { get; set; } 36 | 37 | [DataMember] 38 | public object REMARKS { get; set; } 39 | 40 | [DataMember] 41 | public object TIMESTAMPSS { get; set; } 42 | 43 | [DataMember] 44 | public string SequenceXXX { get; set; } 45 | 46 | /// 47 | /// OPFlag(I 增,U 改, D删) 48 | /// 49 | [DataMember] 50 | public string OPFlag { get; set; } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Entities/SSY_FRAME_DICT.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Runtime.Serialization; 7 | 8 | namespace Xxx.Entities 9 | { 10 | [DataContract] 11 | public class SSY_FRAME_DICT 12 | { 13 | [DataMember] 14 | public object SSY_FRAME_DICTID { get; set; } 15 | 16 | [DataMember] 17 | public object DOMAINNAMEIDEN { get; set; } 18 | 19 | [DataMember] 20 | public object DOMAINNAMES { get; set; } 21 | 22 | [DataMember] 23 | public object OPTIONIDEN { get; set; } 24 | 25 | [DataMember] 26 | public object OPTIONNAMES { get; set; } 27 | 28 | [DataMember] 29 | public object OPTIONIDEN_CUT { get; set; } 30 | 31 | [DataMember] 32 | public object OPTIONNAMES_CUT { get; set; } 33 | 34 | [DataMember] 35 | public object PYM { get; set; } 36 | 37 | [DataMember] 38 | public object REMARKS { get; set; } 39 | 40 | [DataMember] 41 | public object TIMESTAMPSS { get; set; } 42 | 43 | [DataMember] 44 | public string SequenceXXX { get; set; } 45 | 46 | /// 47 | /// OPFlag(I 增,U 改, D删) 48 | /// 49 | [DataMember] 50 | public string OPFlag { get; set; } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Entities/Xxx.Entities.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {6191A786-671A-4044-ADB4-5A6813CC9E6B} 8 | Library 9 | Properties 10 | Xxx.Entities 11 | Xxx.Entities 12 | v4.6 13 | 512 14 | 15 | 16 | true 17 | full 18 | false 19 | bin\Debug\ 20 | DEBUG;TRACE 21 | prompt 22 | 4 23 | 24 | 25 | pdbonly 26 | true 27 | bin\Release\ 28 | TRACE 29 | prompt 30 | 4 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 56 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/App_Data/PublishProfiles/codefc_xxxManager_ref.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | FileSystem 9 | Release 10 | Any CPU 11 | 12 | True 13 | True 14 | True 15 | False 16 | DonotMerge 17 | True 18 | D:\project\codefc\codefc_product\production\publicV1\referenceversion_public\XxxManager 19 | True 20 | 21 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/App_Data/PublishProfiles/xxxManager_demo.pubxml: -------------------------------------------------------------------------------- 1 |  2 | 6 | 7 | 8 | FileSystem 9 | Release 10 | Any CPU 11 | 12 | True 13 | True 14 | True 15 | False 16 | DonotMerge 17 | False 18 | D:\project\frame\framepublic\XxxManager 19 | True 20 | 21 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Language="C#" %> 2 | 3 | 52 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/SomebizService.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Xxx.ServiceLibs.SomebizService" Factory="System.ServiceModel.Activation.ServiceHostFactory" %> 2 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/SomebizServiceRest.svc: -------------------------------------------------------------------------------- 1 | <%@ ServiceHost Language="C#" Debug="true" Service="Xxx.ServiceLibs.SomebizServiceRest" Factory="System.ServiceModel.Activation.ServiceHostFactory"%> 2 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 17 | 18 | 19 | 31 | 32 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/XmlData/ServiceConfig.xml: -------------------------------------------------------------------------------- 1 |  2 | 4 | 6 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/XmlData/i18nlang/CommonLang/CommonLangi18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/XmlData/i18nlang/FrameLang/FrameManager18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/XmlData/i18nlang/FrameLang/FrameSecurity18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /XxxManager/Xxx.Service/XmlData/i18nlang/XxxManagerLang/XxxManageri18n_zh-CN.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /XxxManager/Xxx.ServiceInterfaces/ISomebiz.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.ServiceModel.Web; 8 | using System.Data; 9 | 10 | using Entitys.ComonEnti; 11 | using Common; 12 | using FrameCommon; 13 | 14 | namespace Xxx.ServiceInterfaces 15 | { 16 | [ServiceContract(ConfigurationName = "Xxx.ServiceInterfaces.SomebizService")] 17 | public interface ISomebiz 18 | { 19 | #region 字典相关 20 | 21 | /// 22 | /// 获取全部系统字典 23 | /// 24 | /// 25 | /// 26 | [OperationContract] 27 | string GetFrameDictAll(string req); 28 | 29 | /// 30 | /// 获取系统字典(某个字典的全部字典项) 31 | /// 32 | /// 33 | /// 34 | [OperationContract] 35 | string GetFrameDictPager(string req); 36 | 37 | /// 38 | /// 操作业务表,动作有增、改、删 39 | /// 40 | /// 41 | /// 42 | [OperationContract] 43 | string OpBizObjectSingle_SSY_FRAME_DICT(string req); 44 | 45 | 46 | /// 47 | /// 获取全部业务字典 48 | /// 49 | /// 50 | /// 51 | [OperationContract] 52 | string GetBizDictAll(string req); 53 | 54 | /// 55 | /// 获取系统字典(某个字典的全部字典项) 56 | /// 57 | /// 58 | /// 59 | [OperationContract] 60 | string GetBizDictPager(string req); 61 | 62 | /// 63 | /// 操作业务表,动作有增、改、删 64 | /// 65 | /// 66 | /// 67 | [OperationContract] 68 | string OpBizObjectSingle_SSY_BIZ_DICT(string req); 69 | 70 | /// 71 | /// 获取某个字典 72 | /// 73 | /// 74 | /// 75 | [OperationContract] 76 | string GetDicts(string req); 77 | 78 | #endregion 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /XxxManager/Xxx.ServiceInterfaces/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.ServiceInterfaces")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.ServiceInterfaces")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("962b54f6-bed5-49ee-bb0a-b95ca2113e7a")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.ServiceLibs/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("Xxx.ServiceLibs")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Xxx.ServiceLibs")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("5368ab1f-5119-46dd-816e-e26832d7a9d5")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /XxxManager/Xxx.ServiceLibs/SomebizServiceRest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.ServiceModel; 7 | using System.Data; 8 | 9 | using WebServiceManager; 10 | using Entitys.ComonEnti; 11 | using BizExecFacade; 12 | using Common; 13 | using FrameCommon; 14 | using Xxx.BizExecFacade; 15 | using Xxx.ServiceInterfaces; 16 | 17 | namespace Xxx.ServiceLibs 18 | { 19 | public class SomebizServiceRest : SomebizService, ISomebizRest 20 | { 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /db/mssql/frameuser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/db/mssql/frameuser -------------------------------------------------------------------------------- /db/mysql/frameuser_ssy_options.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64) 2 | -- 3 | -- Host: 127.0.0.1 Database: frameuser 4 | -- ------------------------------------------------------ 5 | -- Server version 5.7.17-log 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `ssy_options` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `ssy_options`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `ssy_options` ( 26 | `ssy_options_id` varchar(50) NOT NULL COMMENT 'ID', 27 | `domainnameiden` varchar(50) NOT NULL COMMENT '数据域配置识别', 28 | `domainnames` varchar(50) NOT NULL COMMENT '数据域配置名称', 29 | `optioniden` varchar(10) NOT NULL COMMENT '数据域配置项识别', 30 | `optionnames` varchar(100) NOT NULL COMMENT '数据域配置项名称', 31 | `optioniden_cut` varchar(100) DEFAULT NULL COMMENT '数据域配置项识别简称', 32 | `optionnames_cut` varchar(100) DEFAULT NULL COMMENT '数据域配置项名称简称', 33 | `pym` varchar(100) DEFAULT NULL COMMENT '拼音助记码', 34 | `remarks` varchar(100) DEFAULT NULL COMMENT '备注', 35 | `timestampss` varchar(50) DEFAULT NULL COMMENT '时间戳', 36 | PRIMARY KEY (`ssy_options_id`) 37 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 38 | /*!40101 SET character_set_client = @saved_cs_client */; 39 | 40 | -- 41 | -- Dumping data for table `ssy_options` 42 | -- 43 | 44 | LOCK TABLES `ssy_options` WRITE; 45 | /*!40000 ALTER TABLE `ssy_options` DISABLE KEYS */; 46 | /*!40000 ALTER TABLE `ssy_options` ENABLE KEYS */; 47 | UNLOCK TABLES; 48 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 49 | 50 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 51 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 52 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 53 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 54 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 55 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 56 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 57 | 58 | -- Dump completed on 2018-05-29 9:50:46 59 | -------------------------------------------------------------------------------- /db/mysql/frameuser_ssy_supermanager.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64) 2 | -- 3 | -- Host: 127.0.0.1 Database: frameuser 4 | -- ------------------------------------------------------ 5 | -- Server version 5.7.17-log 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `ssy_supermanager` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `ssy_supermanager`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `ssy_supermanager` ( 26 | `userid` varchar(50) NOT NULL COMMENT '用户ID', 27 | `username` varchar(50) DEFAULT NULL COMMENT '用户名称', 28 | `password` varchar(80) DEFAULT NULL COMMENT '用户口令', 29 | `timestampss` varchar(50) DEFAULT NULL COMMENT '时间戳', 30 | PRIMARY KEY (`userid`) 31 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='超级用户口令'; 32 | /*!40101 SET character_set_client = @saved_cs_client */; 33 | 34 | -- 35 | -- Dumping data for table `ssy_supermanager` 36 | -- 37 | 38 | LOCK TABLES `ssy_supermanager` WRITE; 39 | /*!40000 ALTER TABLE `ssy_supermanager` DISABLE KEYS */; 40 | INSERT INTO `ssy_supermanager` VALUES ('super','管理员','123',''); 41 | /*!40000 ALTER TABLE `ssy_supermanager` ENABLE KEYS */; 42 | UNLOCK TABLES; 43 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 44 | 45 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 46 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 47 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 48 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 49 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 50 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 51 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 52 | 53 | -- Dump completed on 2018-05-29 9:50:49 54 | -------------------------------------------------------------------------------- /db/mysql/frameuser_ssy_user_group_dict.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64) 2 | -- 3 | -- Host: 127.0.0.1 Database: frameuser 4 | -- ------------------------------------------------------ 5 | -- Server version 5.7.17-log 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `ssy_user_group_dict` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `ssy_user_group_dict`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `ssy_user_group_dict` ( 26 | `userid` varchar(50) NOT NULL COMMENT '角色', 27 | `groupid` varchar(50) NOT NULL COMMENT '用户', 28 | `timestampss` varchar(50) DEFAULT NULL COMMENT '时间戳', 29 | KEY `FK_SSY_USER_DIC_idx` (`userid`), 30 | KEY `FK_SSY_GROUP_DICT` (`groupid`), 31 | CONSTRAINT `FK_SSY_GROUP_DICT` FOREIGN KEY (`groupid`) REFERENCES `ssy_group_dict` (`groupid`) ON DELETE CASCADE ON UPDATE NO ACTION, 32 | CONSTRAINT `FK_SSY_USER_DIC` FOREIGN KEY (`userid`) REFERENCES `ssy_user_dict` (`userid`) ON DELETE CASCADE ON UPDATE NO ACTION 33 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户和组'; 34 | /*!40101 SET character_set_client = @saved_cs_client */; 35 | 36 | -- 37 | -- Dumping data for table `ssy_user_group_dict` 38 | -- 39 | 40 | LOCK TABLES `ssy_user_group_dict` WRITE; 41 | /*!40000 ALTER TABLE `ssy_user_group_dict` DISABLE KEYS */; 42 | INSERT INTO `ssy_user_group_dict` VALUES ('test6','grp001','2017-09-05 14:06:37'),('mqg','grp001','2016-03-07 19:49:21'),('u1n','grp002','2018-01-16 15:44:47'); 43 | /*!40000 ALTER TABLE `ssy_user_group_dict` ENABLE KEYS */; 44 | UNLOCK TABLES; 45 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 46 | 47 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 48 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 49 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 50 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 51 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 52 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 53 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 54 | 55 | -- Dump completed on 2018-05-29 9:50:50 56 | -------------------------------------------------------------------------------- /db/mysql/frameuser_testsql.sql: -------------------------------------------------------------------------------- 1 | -- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64) 2 | -- 3 | -- Host: 127.0.0.1 Database: frameuser 4 | -- ------------------------------------------------------ 5 | -- Server version 5.7.17-log 6 | 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 10 | /*!40101 SET NAMES utf8 */; 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 12 | /*!40103 SET TIME_ZONE='+00:00' */; 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 17 | 18 | -- 19 | -- Table structure for table `testsql` 20 | -- 21 | 22 | DROP TABLE IF EXISTS `testsql`; 23 | /*!40101 SET @saved_cs_client = @@character_set_client */; 24 | /*!40101 SET character_set_client = utf8 */; 25 | CREATE TABLE `testsql` ( 26 | `sqlcol` varchar(4000) NOT NULL COMMENT 'test sql' 27 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 28 | /*!40101 SET character_set_client = @saved_cs_client */; 29 | 30 | -- 31 | -- Dumping data for table `testsql` 32 | -- 33 | 34 | LOCK TABLES `testsql` WRITE; 35 | /*!40000 ALTER TABLE `testsql` DISABLE KEYS */; 36 | /*!40000 ALTER TABLE `testsql` ENABLE KEYS */; 37 | UNLOCK TABLES; 38 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 39 | 40 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 41 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 42 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 43 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 44 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 45 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 46 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 47 | 48 | -- Dump completed on 2018-05-29 9:50:46 49 | -------------------------------------------------------------------------------- /db/oracle/frameuser.dmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/db/oracle/frameuser.dmp -------------------------------------------------------------------------------- /db/oracle/initdatabase.txt: -------------------------------------------------------------------------------- 1 | create tablespace FRAMEDATA 2 | datafile 'D:\xxx\FRAMEDATA.dbf' 3 | size 1024m 4 | autoextend on 5 | next 100m 6 | maxsize unlimited; 7 | 8 | 9 | create temporary tablespace FRAMEDATATMPTMP 10 | tempfile 'D:\xxx\FRAMEDATATMP.dbf' 11 | size 500m ; 12 | 13 | 14 | 15 | -- Create the user 16 | create user FRAMEUSER 17 | identified by "frameuser" 18 | default tablespace FRAMEDATA 19 | temporary tablespace FRAMEDATATMPTMP 20 | profile DEFAULT 21 | password expire; 22 | -- Grant/Revoke role privileges 23 | grant connect to FRAMEUSER with admin option; 24 | grant dba to FRAMEUSER with admin option; 25 | grant resource to FRAMEUSER; 26 | -- Grant/Revoke system privileges 27 | grant create view to FRAMEUSER; 28 | grant unlimited tablespace to FRAMEUSER with admin option; 29 | -------------------------------------------------------------------------------- /简要说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mqg007/CFCFrame/6b5eb34bc93ed0604a6720e00f41b39c316bb57a/简要说明.txt --------------------------------------------------------------------------------