프로젝트

일반

사용자정보

개정판 f7a2b3e1

IDf7a2b3e182b3480f05a8f0f06fbf4d127f265959
상위 6cfbddb5
하위 71f5a3be

백흠경이(가) 5년 이상 전에 추가함

issue #1187: fixed FileSave project

Change-Id: I0a384761408535168154dca37fc67ad0181e57e7

차이점 보기:

FileSave/FileUploadWevService/FileUpload.asmx.cs
25 25
        {
26 26
            KCOMDataModel.DataModel.KCOMEntities entity = new KCOMDataModel.DataModel.KCOMEntities(KCOMDataModel.Common.ConnectStringBuilder.KCOMConnectionString().ToString());
27 27

  
28
            /// 사용자가 Comment한 이미지 URL를 생성한다.
29
            
28 30
            var item = entity.PROPERTIES.Where(data => data.TYPE == "SystemInfo" && data.PROPERTY == "Url").FirstOrDefault();
29 31
            string result = "";
30 32
            if (item!=null)
......
33 35
            }
34 36
            else
35 37
            {
36
                result = string.Format("http://165.244.178.145:5977/UserData/{0}/{1}/{2}", ProjectNo, UserID, FileName);
38
                throw new Exception("SystemInfo 정보가 없습니다."); 
37 39
            }
38 40

  
39 41
            try
40 42
            {
41
                string DirectoryPath = string.Format(@"D:\TileSource\UserData\{0}\{1}", ProjectNo, UserID);
43
                var TileSourceProperty = entity.PROPERTIES.Where(data => data.TYPE == "TileSorceStorage" && data.PROPERTY == ProjectNo).FirstOrDefault();
44
                if(TileSourceProperty == null)
45
                {
46
                    throw new Exception("TileSourceStorage 정보가 없습니다.");
47
                }
48
                /// 실제 이미지를 저장할 위치
49
                string DirectoryPath = string.Format(Path.Combine(TileSourceProperty.VALUE , "UserData", ProjectNo, UserID));
42 50
                DirectoryInfo directoryInfo_ = new DirectoryInfo(DirectoryPath);
43 51

  
44 52
                if (!directoryInfo_.Exists)
FileSave/KCOMDataModel/App.Config
9 9
  </configSections>
10 10
  <connectionStrings>
11 11
    <add name="KCOMEntities"
12
         connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;application name=EntityFramework&quot;"
12
         connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.132.77;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;application name=EntityFramework&quot;"
13 13
         providerName="System.Data.EntityClient" />
14
    <add name="CIEntities" 
15
         connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;user id=doftech;password=dof1073#;MultipleActiveResultSets=True;App=EntityFramework&quot;" 
14
    <add name="CIEntities"
15
         connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.132.77;initial catalog=markus;user id=doftech;password=dof1073#;MultipleActiveResultSets=True;App=EntityFramework&quot;"
16 16
         providerName="System.Data.EntityClient" />
17 17
    <!--<add name="KCOMEntities"
18 18
     connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=10.11.252.2;initial catalog=markus;persist security info=True;user id=ProjectPortalDBConn;password=ProjectPortalDBConn;multipleactiveresultsets=True;application name=EntityFramework&quot;"
......
31 31
  <applicationSettings>
32 32
    <KCOMDataModel.Properties.Settings>
33 33
      <setting name="ProjectConnectionString" serializeAs="String">
34
        <value>data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof1073#</value>
35
        <!--<value>data source=10.11.252.3;database={0};user id=ProjectPortalDBConn;password=ProjectPortalDBConn</value>-->
34
        <value>data source=10.11.132.77;database={0};user id=doftech;password=dof1073#</value>
36 35
      </setting>
37 36
    </KCOMDataModel.Properties.Settings>
38 37
  </applicationSettings>
FileSave/KCOMDataModel/Properties/Settings.Designer.cs
12 12
    
13 13
    
14 14
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
15
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
16 16
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 17
        
18 18
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
......
25 25
        
26 26
        [global::System.Configuration.ApplicationScopedSettingAttribute()]
27 27
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28
        [global::System.Configuration.DefaultSettingValueAttribute("data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof" +
29
            "1073#")]
28
        [global::System.Configuration.DefaultSettingValueAttribute("data source=10.11.132.77;database={0};user id=doftech;password=dof1073#")]
30 29
        public string ProjectConnectionString {
31 30
            get {
32 31
                return ((string)(this["ProjectConnectionString"]));
FileSave/KCOMDataModel/Properties/Settings.settings
3 3
  <Profiles />
4 4
  <Settings>
5 5
    <Setting Name="ProjectConnectionString" Type="System.String" Scope="Application">
6
      <Value Profile="(Default)">data source=cloud.devdoftech.co.kr,7777;database={0};user id=doftech;password=dof1073#</Value>
7
      <!--<Value Profile="(Default)">data source=10.11.252.2;database={0};user id==ProjectPortalDBConn;password==ProjectPortalDBConn</Value>-->
6
      <Value Profile="(Default)">data source=10.11.132.77;database={0};user id=doftech;password=dof1073#</Value>
8 7
    </Setting>
9 8
  </Settings>
10 9
</SettingsFile>
FinalService/KCOM_FinalService/ConsoleApp1/ConsoleApp1.csproj
61 61
      <Project>{a714bd67-8aac-4ed8-8ecf-7853c3549a68}</Project>
62 62
      <Name>MarkupToPDF</Name>
63 63
    </ProjectReference>
64
    <ProjectReference Include="..\UploadFinal\UploadFinal.csproj">
65
      <Project>{9cf3737a-e04d-4a55-924e-c88725dfbec7}</Project>
66
      <Name>UploadFinal</Name>
67
    </ProjectReference>
68 64
  </ItemGroup>
69 65
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
70 66
</Project>
FinalService/KCOM_FinalService/KCOM_FinalService.sln
17 17
EndProject
18 18
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarkupToPDF", "MarkupToPDF\MarkupToPDF.csproj", "{A714BD67-8AAC-4ED8-8ECF-7853C3549A68}"
19 19
EndProject
20
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UploadFinal", "UploadFinal\UploadFinal.csproj", "{9CF3737A-E04D-4A55-924E-C88725DFBEC7}"
21
EndProject
22 20
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FinalService_Watcher", "FinalService_Watcher\FinalService_Watcher.csproj", "{78839E61-B116-4AB2-B358-FF4FB19090EF}"
23 21
EndProject
24 22
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonLib", "CommonLib\CommonLib.csproj", "{EE9AAABC-1678-43A4-878E-CEDBB577CF01}"
......
27 25
EndProject
28 26
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KCOM_FinalService_Console", "KCOM_FinalService_Console\KCOM_FinalService_Console.csproj", "{35CC3A14-08A0-4828-9A29-61A3989ECE52}"
29 27
EndProject
28
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UploadFinal", "..\..\Site\SNI\UploadFinal\UploadFinal.csproj", "{9CF3737A-E04D-4A55-924E-C88725DFBEC7}"
29
EndProject
30 30
Global
31 31
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
32 32
		Debug|Any CPU = Debug|Any CPU
......
97 97
		{A714BD67-8AAC-4ED8-8ECF-7853C3549A68}.Release|x64.Build.0 = Release|x64
98 98
		{A714BD67-8AAC-4ED8-8ECF-7853C3549A68}.Release|x86.ActiveCfg = Release|Any CPU
99 99
		{A714BD67-8AAC-4ED8-8ECF-7853C3549A68}.Release|x86.Build.0 = Release|Any CPU
100
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
101
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
102
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x64.ActiveCfg = Debug|Any CPU
103
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x64.Build.0 = Debug|Any CPU
104
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x86.ActiveCfg = Debug|Any CPU
105
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x86.Build.0 = Debug|Any CPU
106
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
107
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|Any CPU.Build.0 = Release|Any CPU
108
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x64.ActiveCfg = Release|Any CPU
109
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x64.Build.0 = Release|Any CPU
110
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x86.ActiveCfg = Release|Any CPU
111
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x86.Build.0 = Release|Any CPU
112 100
		{78839E61-B116-4AB2-B358-FF4FB19090EF}.Debug|Any CPU.ActiveCfg = Debug|x86
113 101
		{78839E61-B116-4AB2-B358-FF4FB19090EF}.Debug|Any CPU.Build.0 = Debug|x86
114 102
		{78839E61-B116-4AB2-B358-FF4FB19090EF}.Debug|x64.ActiveCfg = Debug|x86
......
155 143
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x64.Build.0 = Release|Any CPU
156 144
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x86.ActiveCfg = Release|Any CPU
157 145
		{35CC3A14-08A0-4828-9A29-61A3989ECE52}.Release|x86.Build.0 = Release|Any CPU
146
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
147
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
148
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x64.ActiveCfg = Debug|Any CPU
149
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x64.Build.0 = Debug|Any CPU
150
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x86.ActiveCfg = Debug|Any CPU
151
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Debug|x86.Build.0 = Debug|Any CPU
152
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
153
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|Any CPU.Build.0 = Release|Any CPU
154
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x64.ActiveCfg = Release|Any CPU
155
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x64.Build.0 = Release|Any CPU
156
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x86.ActiveCfg = Release|Any CPU
157
		{9CF3737A-E04D-4A55-924E-C88725DFBEC7}.Release|x86.Build.0 = Release|Any CPU
158 158
	EndGlobalSection
159 159
	GlobalSection(SolutionProperties) = preSolution
160 160
		HideSolutionNode = FALSE

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)