zhupei 4 年 前
コミット
b190a34a7a

File diff suppressed because it is too large
+ 539 - 0
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs


+ 9 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkorderAppController.cs

155
                 Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
155
                 Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
156
                 int DTJ = 0, DFP = 0, DCL = 0, CLZ = 0, YWJ = 0, THDTJ = 0, THDFP = 0, YJGD = 0, EJGD = 0, SJGD = 0, CJSL=0,ZX=0;
156
                 int DTJ = 0, DFP = 0, DCL = 0, CLZ = 0, YWJ = 0, THDTJ = 0, THDFP = 0, YJGD = 0, EJGD = 0, SJGD = 0, CJSL=0,ZX=0;
157
                 string where = $" and (F_Type=" + 2 + "or (F_Duplicate in(2,0)and F_Type=3))";
157
                 string where = $" and (F_Type=" + 2 + "or (F_Duplicate in(2,0)and F_Type=3))";
158
+               if (ro.F_RoleCode == "DS")//电商角色
159
+                {
160
+                    where += "and F_Content like  '%电商%'";
161
+                }
158
                 for (int i=0;i<12;i ++)
162
                 for (int i=0;i<12;i ++)
159
                 {
163
                 {
160
                     switch (i )
164
                     switch (i )
405
                 if (CJ == 1)
409
                 if (CJ == 1)
406
                 {
410
                 {
407
                     sql += $" and (F_Type=" + 4 + "or (F_Duplicate in(4)and F_Type=3))";
411
                     sql += $" and (F_Type=" + 4 + "or (F_Duplicate in(4)and F_Type=3))";
408
-                    if ( ro.F_RoleCode == "YWY" || ro.F_RoleCode == "ZG")
412
+                    if (ro.F_RoleCode == "YWY" || ro.F_RoleCode == "ZG")
409
                     {
413
                     {
410
                         sql += "AND F_Notifications ='" + ua.F_UserCode + "'";
414
                         sql += "AND F_Notifications ='" + ua.F_UserCode + "'";
411
                     }
415
                     }
658
                         sql += "AND F_CreateUser='"+ua .F_UserCode +"'";
662
                         sql += "AND F_CreateUser='"+ua .F_UserCode +"'";
659
                     }
663
                     }
660
                 }
664
                 }
665
+                if (ro.F_RoleCode == "DS")//电商角色
666
+                {
667
+                    sql += "and F_Content like  '%电商%'";
668
+                }
661
                 if (isdc >0)
669
                 if (isdc >0)
662
                 {
670
                 {
663
                    
671
                    

+ 0 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/packages.config

1
 <?xml version="1.0" encoding="utf-8"?>
1
 <?xml version="1.0" encoding="utf-8"?>
2
 <packages>
2
 <packages>
3
-  <package id="log4net" version="2.0.8" targetFramework="net45" />
4
   <package id="Microsoft.ApplicationInsights" version="2.2.0" targetFramework="net45" />
3
   <package id="Microsoft.ApplicationInsights" version="2.2.0" targetFramework="net45" />
5
   <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.6" targetFramework="net45" />
4
   <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.6" targetFramework="net45" />
6
   <package id="Microsoft.ApplicationInsights.DependencyCollector" version="2.2.0" targetFramework="net45" />
5
   <package id="Microsoft.ApplicationInsights.DependencyCollector" version="2.2.0" targetFramework="net45" />

+ 5 - 4
codegit/CallCenterCommon/CallCenter.QuartzService/CallCenter.QuartzService.csproj

42
       <HintPath>..\..\packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll</HintPath>
42
       <HintPath>..\..\packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll</HintPath>
43
       <Private>True</Private>
43
       <Private>True</Private>
44
     </Reference>
44
     </Reference>
45
-    <Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
46
-      <HintPath>..\..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
47
-      <Private>True</Private>
45
+    <Reference Include="log4net, Version=2.0.7.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
46
+      <HintPath>..\..\packages\log4net.2.0.7\lib\net45-full\log4net.dll</HintPath>
48
     </Reference>
47
     </Reference>
49
     <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
48
     <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
50
       <HintPath>..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
49
       <HintPath>..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
96
     <None Include="job_scheduling_data_2_0.xsd">
95
     <None Include="job_scheduling_data_2_0.xsd">
97
       <SubType>Designer</SubType>
96
       <SubType>Designer</SubType>
98
     </None>
97
     </None>
99
-    <None Include="packages.config" />
98
+    <None Include="packages.config">
99
+      <SubType>Designer</SubType>
100
+    </None>
100
     <None Include="bin\Debug\Uninstall.bat" />
101
     <None Include="bin\Debug\Uninstall.bat" />
101
   </ItemGroup>
102
   </ItemGroup>
102
   <ItemGroup>
103
   <ItemGroup>

+ 1 - 1
codegit/CallCenterCommon/CallCenter.QuartzService/packages.config

2
 <packages>
2
 <packages>
3
   <package id="Common.Logging" version="3.3.1" targetFramework="net45" />
3
   <package id="Common.Logging" version="3.3.1" targetFramework="net45" />
4
   <package id="Common.Logging.Core" version="3.3.1" targetFramework="net45" />
4
   <package id="Common.Logging.Core" version="3.3.1" targetFramework="net45" />
5
-  <package id="log4net" version="2.0.8" targetFramework="net45" />
5
+  <package id="log4net" version="2.0.7" targetFramework="net45" />
6
   <package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
6
   <package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
7
   <package id="Quartz" version="2.5.0" targetFramework="net45" />
7
   <package id="Quartz" version="2.5.0" targetFramework="net45" />
8
 </packages>
8
 </packages>