Browse Source

Merge branch 'master' of http://dev.ccwin-in.com:3000/BoXu.Zheng/BeiJinSettleAccount

master
学 赵 1 year ago
parent
commit
eec1fe8a48
  1. 9
      .drone.yml
  2. 3
      code/src/.editorconfig
  3. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs
  4. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
  5. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.cmd
  6. 14
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.sh
  7. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/stop.sh
  8. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/SaSeEdiCompareExportBaseService.cs

9
.drone.yml

@ -42,10 +42,8 @@ steps:
script:
- mkdir -p /d/BQ-JS/publish
- cd /d/BQ-JS/publish
- cmd.exe
- stop.sh
- exit
- sleep 3s
- ./stop.cmd
- sleep 3
- cd ..
- rm -rf publish
- mkdir -p publish
@ -73,8 +71,7 @@ steps:
command_timeout: 10m
script:
- cd /d/BQ-JS/publish
- cmd.exe
- start.sh
- ./start.cmd
# - name: deploy-scp
# image: appleboy/drone-scp

3
code/src/.editorconfig

@ -8,6 +8,9 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.cmd]
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs

@ -17,7 +17,7 @@ namespace Win.Sfs.SettleAccount
Log.Logger = new LoggerConfiguration()
.WriteTo.Async(c => c.Console())
.WriteTo.Async(c => c.File("Logs/logs.txt"
.WriteTo.Async(c => c.File("../Logs/logs.txt"
, rollingInterval: RollingInterval.Day
, rollOnFileSizeLimit: true
, fileSizeLimitBytes: 30 * 1024 * 1024))

6
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj

@ -97,9 +97,15 @@
<None Update="start.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="start.sh">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="stop.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="tempkey.jwk">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties appsettings_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>

7
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.cmd

@ -1,12 +1,5 @@
@echo off
tasklist|find /i "SettleAccount.HttpApi.Host.exe"
if %errorlevel% == 0 (
exit
)
cd /d %~dp0
%1 start mshta vbscript:createobject("wscript.shell").run("""%~0"" ::",0)(window.close)&&exit

14
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.sh

@ -1,14 +0,0 @@
@echo off
tasklist|find /i "SettleAccount.HttpApi.Host.exe"
if %errorlevel% == 0 (
exit
)
cd /d %~dp0
%1 start mshta vbscript:createobject("wscript.shell").run("""%~0"" ::",0)(window.close)&&exit
start /b SettleAccount.HttpApi.Host.exe --urls http://*:16082

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/stop.sh

@ -1,3 +0,0 @@
@echo off
taskkill /im SettleAccount.HttpApi.Host.exe /f /t

1
code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/SaSeEdiCompareExportBaseService.cs

@ -181,7 +181,6 @@ namespace SettleAccount.Job.Services.Report
/// </summary>
public virtual void HandleSaDetailsMain<T>(List<SaSeEdiCompareDiff> saSeEdiCompareDiff, EnumBusinessType businessType, int version) where T : SA_BASE
{
return;
var haveSaHaveSes = saSeEdiCompareDiff.FindAll(t => t.Category == EnumSaSeEdiCompareCategory.HaveSaHaveSeHaveEdi || t.Category == EnumSaSeEdiCompareCategory.HaveSaHaveSeNotHaveEdi);
if (haveSaHaveSes.Any())
{

Loading…
Cancel
Save