学 赵
1 year ago
21 changed files with 6431 additions and 342 deletions
@ -0,0 +1,137 @@ |
|||||
|
//库存扣减
|
||||
|
import { version, state3 } from "../_options.js"; |
||||
|
|
||||
|
const schema = { |
||||
|
title: "寄售库库存扣减审批", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
version, |
||||
|
state: state3, |
||||
|
billNum: { |
||||
|
title: "发票号", |
||||
|
type: "string", |
||||
|
link: true, |
||||
|
}, |
||||
|
settleBillNum: { |
||||
|
title: "关联结算单号", |
||||
|
type: "string", |
||||
|
}, |
||||
|
invGroupNum: { |
||||
|
title: "发票分组号", |
||||
|
type: "string", |
||||
|
link: true, |
||||
|
}, |
||||
|
site: { |
||||
|
title: "地点", |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
export default function (businessType) { |
||||
|
let service; |
||||
|
if (businessType === "JisBBAC") { |
||||
|
service = "b-bAC_PD_SERVICE"; |
||||
|
} else if (businessType === "JisHBPO") { |
||||
|
service = "h-bPO_PD_SERVICE"; |
||||
|
} else { |
||||
|
service = "p-uB_PD_SERVICE"; |
||||
|
} |
||||
|
|
||||
|
const queryUrl = `settleaccount/${service}/detail-query`; |
||||
|
const queryMethod = "POST"; |
||||
|
|
||||
|
return { |
||||
|
query: { |
||||
|
url: queryUrl, |
||||
|
method: queryMethod, |
||||
|
hasFilter: true, |
||||
|
schema: { |
||||
|
title: "不可结算单", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filters: { |
||||
|
title: "项目", |
||||
|
type: "array", |
||||
|
hidden: true, |
||||
|
items: { |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
logic: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
column: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
action: { |
||||
|
type: "int", |
||||
|
}, |
||||
|
value: { |
||||
|
type: "string", |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
default: [ |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "version", |
||||
|
action: "equal", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "billNum", |
||||
|
action: "equal", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "settleBillNum", |
||||
|
action: "equal", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "invGroupNum", |
||||
|
action: "equal", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
{ |
||||
|
logic: "and", |
||||
|
column: "state", |
||||
|
action: "equal", |
||||
|
value: null, |
||||
|
readOnly: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
sorting: { |
||||
|
hidden: true, |
||||
|
}, |
||||
|
businessType: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
edit: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,106 @@ |
|||||
|
using System; |
||||
|
using System.Linq; |
||||
|
using System.Linq.Dynamic.Core; |
||||
|
using System.Text.Json; |
||||
|
using System.Threading.Tasks; |
||||
|
using Magicodes.ExporterAndImporter.Core.Extension; |
||||
|
using Microsoft.Extensions.DependencyInjection; |
||||
|
using Omu.ValueInjecter; |
||||
|
using Volo.Abp.Application.Services; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Win.Sfs.SettleAccount.Entities.BQ.Vmi; |
||||
|
using Win.Sfs.Shared.RepositoryBase; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Entities.BQ; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 异步更新库存
|
||||
|
/// </summary>
|
||||
|
public class VmiAsyncBalanceService : ApplicationService, IJobService, ITransientDependency |
||||
|
{ |
||||
|
private readonly IServiceProvider _serviceProvider; |
||||
|
|
||||
|
public VmiAsyncBalanceService(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
this._serviceProvider = serviceProvider; |
||||
|
} |
||||
|
|
||||
|
public async Task Invoke(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
using var scope = _serviceProvider.CreateScope(); |
||||
|
var db = scope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); |
||||
|
using var transaction = db.Database.BeginTransaction(); |
||||
|
try |
||||
|
{ |
||||
|
var messages = db.Set<VmiMessage>().Where(o => !o.isConsumed).OrderBy(o => o.Number).ToList(); |
||||
|
var repo = db.Set<VmiBalance>(); |
||||
|
foreach (var message in messages) |
||||
|
{ |
||||
|
var log = JsonSerializer.Deserialize<VmiLog>(message.Message); |
||||
|
var balance = db.Set<VmiBalance>().FirstOrDefault( |
||||
|
o => o.DeliverBillType == log.DeliverBillType && |
||||
|
o.CodeType == log.CodeType && |
||||
|
o.DeliverBillType == log.DeliverBillType && |
||||
|
o.VinCode == log.VinCode && |
||||
|
o.ErpToLoc == log.ErpToLoc && |
||||
|
o.OrderNum == log.OrderNum && |
||||
|
o.factory == log.factory && |
||||
|
o.Configcode == log.Configcode); |
||||
|
if (balance == null) |
||||
|
{ |
||||
|
balance = new VmiBalance(GuidGenerator.Create()); |
||||
|
balance.InjectFrom(log); |
||||
|
await repo.AddAsync(balance).ConfigureAwait(false); |
||||
|
log.InjectFrom(balance); |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
var logType = log.LogType; |
||||
|
|
||||
|
var qty = balance.Qty;// + log.ty
|
||||
|
if (logType == VmiLogType.Type100) |
||||
|
{ |
||||
|
//发运入库,负库存字段需要更新
|
||||
|
if (balance.Qty < decimal.Zero) |
||||
|
{ |
||||
|
balance.InjectFrom(log); |
||||
|
} |
||||
|
} |
||||
|
else if (logType == VmiLogType.Type300) |
||||
|
{ |
||||
|
//反结入库,只更新库存
|
||||
|
} |
||||
|
else if (logType == VmiLogType.Type500) |
||||
|
{ |
||||
|
//调整入库,更新库存和其他字段
|
||||
|
balance.InjectFrom(log); |
||||
|
} |
||||
|
// 更新库存
|
||||
|
balance.Qty = qty; |
||||
|
if (balance.Qty == decimal.Zero) |
||||
|
{ |
||||
|
//删除0库存
|
||||
|
repo.Remove(balance); |
||||
|
} |
||||
|
if (logType == VmiLogType.Type100 && balance.Qty < decimal.Zero && log.Qty > 0) |
||||
|
{ |
||||
|
//更新补货
|
||||
|
var log2 = db.Set<VmiLog>().FirstOrDefault(o => o.Id == log.Id); |
||||
|
if (log2 != null) |
||||
|
{ |
||||
|
log2.IsReplenished = true; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
message.isConsumed = true; |
||||
|
} |
||||
|
transaction.Commit(); |
||||
|
} |
||||
|
catch (Exception ex) |
||||
|
{ |
||||
|
Console.WriteLine(ex.ToString()); |
||||
|
transaction.Rollback(); |
||||
|
throw; |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,116 @@ |
|||||
|
using System; |
||||
|
using System.Linq; |
||||
|
using System.Linq.Dynamic.Core; |
||||
|
using System.Threading.Tasks; |
||||
|
using EFCore.BulkExtensions; |
||||
|
using Microsoft.AspNetCore.SignalR; |
||||
|
using Microsoft.Extensions.DependencyInjection; |
||||
|
using SettleAccount.Job.SignalR; |
||||
|
using Volo.Abp.Application.Services; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Win.Sfs.SettleAccount.Entities.BQ.Vmi; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Entities.BQ; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 消息表定时清理
|
||||
|
/// </summary>
|
||||
|
public class VmiAsyncMessageService : ApplicationService, IJobService, ITransientDependency |
||||
|
{ |
||||
|
private readonly IServiceProvider _serviceProvider; |
||||
|
|
||||
|
public VmiAsyncMessageService(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
this._serviceProvider = serviceProvider; |
||||
|
} |
||||
|
|
||||
|
public Task Invoke(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
using var scope = _serviceProvider.CreateScope(); |
||||
|
var db = scope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); |
||||
|
db.Set<VmiMessage>().Where(o => o.isConsumed).BatchDelete(); |
||||
|
var count = db.Set<VmiMessage>().Where(o => !o.isConsumed).Count(); |
||||
|
scope.ServiceProvider.GetService<IHubContext<PageHub>>().Clients.All.ServerToClient("VmiBalance", count.ToString(), ""); |
||||
|
return Task.CompletedTask; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存事务定时备份
|
||||
|
/// </summary>
|
||||
|
public class VmiLogbackupService : ApplicationService, IJobService, ITransientDependency |
||||
|
{ |
||||
|
private readonly IServiceProvider _serviceProvider; |
||||
|
|
||||
|
public VmiLogbackupService(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
this._serviceProvider = serviceProvider; |
||||
|
} |
||||
|
|
||||
|
public Task Invoke(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
using var scope = _serviceProvider.CreateScope(); |
||||
|
var db = scope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); |
||||
|
using var transaction = db.Database.BeginTransaction(); |
||||
|
try |
||||
|
{ |
||||
|
var task = db.Set<VmiSyncTask>().FirstOrDefault(o => o.Number == "Set_VmiLog"); |
||||
|
if (task != null) |
||||
|
{ |
||||
|
var now = DateTime.Now; |
||||
|
task.LastUpdate = now; |
||||
|
var query = db.Set<VmiLog>().Where(o => o.UpdatedTime >= task.LastUpdate && o.UpdatedTime < now); |
||||
|
foreach (var item in query) |
||||
|
{ |
||||
|
//同步到questdb
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
catch |
||||
|
{ |
||||
|
transaction.Rollback(); |
||||
|
throw; |
||||
|
} |
||||
|
return Task.CompletedTask; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库存余额定时备份
|
||||
|
/// </summary>
|
||||
|
public class VmiLogBalanceService : ApplicationService, IJobService, ITransientDependency |
||||
|
{ |
||||
|
private readonly IServiceProvider _serviceProvider; |
||||
|
|
||||
|
public VmiLogBalanceService(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
this._serviceProvider = serviceProvider; |
||||
|
} |
||||
|
|
||||
|
public Task Invoke(IServiceProvider serviceProvider) |
||||
|
{ |
||||
|
using var scope = _serviceProvider.CreateScope(); |
||||
|
var db = scope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); |
||||
|
using var transaction = db.Database.BeginTransaction(); |
||||
|
try |
||||
|
{ |
||||
|
var task = db.Set<VmiSyncTask>().FirstOrDefault(o => o.Number == "Set_VmiBalance"); |
||||
|
if (task != null) |
||||
|
{ |
||||
|
var now = DateTime.Now; |
||||
|
task.LastUpdate = now; |
||||
|
var query = db.Set<VmiBalance>().Where(o => o.UpdatedTime >= task.LastUpdate && o.UpdatedTime < now); |
||||
|
foreach (var item in query) |
||||
|
{ |
||||
|
//同步到questdb
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
catch |
||||
|
{ |
||||
|
transaction.Rollback(); |
||||
|
throw; |
||||
|
} |
||||
|
return Task.CompletedTask; |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,255 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308231 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b3183f11-1cb2-48b0-8970-aa641eb5771d")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Site", |
||||
|
table: "Set_PUB_SA", |
||||
|
type: "nvarchar(64)", |
||||
|
maxLength: 64, |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "fe58be3c510f477da0752ac73c40d681"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "5b04d6f48ea64f1594b4f54a57b74637"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "f31814e50b6f41f384278fb6f0af0998"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "0198660d53f34e529c1b72060251e05d"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "2c87caef446f428da6f3f243e8d7c3f9"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "613b7650456c4c97a67bcff9c90a32d0"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "b4f16078aa6f43d49da98f03072c7ce9"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "6a28afa95d824c11adf073841328d4d7"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "cfd79a067c014e8fa2123fe3d3055af5"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "9df05934dd384f12a55d4469cad4ef08"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "79a28a9f333543219b44e10b1c50d8ef"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "40066948ecb841e4849cfb928b117045"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "134d1d1587d64f3abd932d6bc86d8e57"); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "LastUpdate", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("eaaaf238-9865-4851-91d4-faa239bf6fca"), null, null, null, "506b3fdc042d453fb4ee16c3fc5fa518", null, null, 1, null, "ErpToLoc", null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiSyncTask", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "f489e433f5f14309810179ef2498ec00"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiSyncTask", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
||||
|
columns: new[] { "ConcurrencyStamp", "Name" }, |
||||
|
values: new object[] { "93224b6dfb8347348e757dd7f828d28d", "库存余额备份" }); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("eaaaf238-9865-4851-91d4-faa239bf6fca")); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Site", |
||||
|
table: "Set_PUB_SA"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "0a86eea1216549839d882d9acb0e5e03"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "637639f7ef6844789186e40ea883c0b5"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "9fd0847f12d44ca0888ec5468cffe209"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "c25d4ff8ba1d4f4fab5ca41211d77fa3"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "67acda8899f543e0866fd36aa29fd631"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "022cd0d93f234af8bb31afe5ffa94221"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "448d1c6b6105465b9688434d1ea931ec"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "53abb840e287470a8f7b641010ab2316"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "25bf9614ce2c42bb90499a28d9666db3"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "55f5f3c94e374afcb8409decbfbd2ca0"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "30efce301b314bc5b46511dca438048a"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "335f6624aaf94c5ba8fead27577b14cc"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_JobItem", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "1893ae6d3ffb410c9ac2bdb293cb1367"); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "LastUpdate", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("b3183f11-1cb2-48b0-8970-aa641eb5771d"), null, null, null, "a7cae35c36f14f5790ff8895f394fa3c", null, null, 1, null, "ErpToLoc", null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiSyncTask", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "2cebf1e28ade4a82a6becea62a0e7a64"); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiSyncTask", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
||||
|
columns: new[] { "ConcurrencyStamp", "Name" }, |
||||
|
values: new object[] { "245f452a0bd640c2a5fae8be9f72e806", "库存事务备份" }); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue