业务代码更改
This commit is contained in:
@@ -114,8 +114,8 @@ namespace Tnb.WarehouseMgr
|
|||||||
setSortingH.id = SnowflakeIdHelper.NextId();
|
setSortingH.id = SnowflakeIdHelper.NextId();
|
||||||
setSortingH.kittingout_id = ko.id;
|
setSortingH.kittingout_id = ko.id;
|
||||||
setSortingH.seq = ko.seq;
|
setSortingH.seq = ko.seq;
|
||||||
setSortingH.org_id = _userManager.User.OrganizeId;
|
setSortingH.org_id = ko.org_id;
|
||||||
setSortingH.create_id = _userManager.UserId;
|
setSortingH.create_id = ko.create_id;
|
||||||
setSortingH.create_time = DateTime.Now;
|
setSortingH.create_time = DateTime.Now;
|
||||||
await curDb.Insertable(setSortingH).ExecuteCommandAsync();
|
await curDb.Insertable(setSortingH).ExecuteCommandAsync();
|
||||||
|
|
||||||
@@ -155,8 +155,6 @@ namespace Tnb.WarehouseMgr
|
|||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task KittingOutByIsToBeShipped(CancellationTokenSource? cts = default)
|
public async Task KittingOutByIsToBeShipped(CancellationTokenSource? cts = default)
|
||||||
{
|
{
|
||||||
if (_userManager.User == null) return;
|
|
||||||
|
|
||||||
var curDb = _db.CopyNew();
|
var curDb = _db.CopyNew();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -195,7 +193,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
|
|
||||||
WmsPretaskH preTask = new()
|
WmsPretaskH preTask = new()
|
||||||
{
|
{
|
||||||
org_id = _userManager.User.OrganizeId,
|
org_id = ko.org_id,
|
||||||
startlocation_id = sPoint?.location_id!,
|
startlocation_id = sPoint?.location_id!,
|
||||||
startlocation_code = sPoint?.location_code!,
|
startlocation_code = sPoint?.location_code!,
|
||||||
endlocation_id = ePoint?.location_id!,
|
endlocation_id = ePoint?.location_id!,
|
||||||
@@ -216,7 +214,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
area_code = it.Key,
|
area_code = it.Key,
|
||||||
require_id = ko.id,
|
require_id = ko.id,
|
||||||
require_code = ko.bill_code,
|
require_code = ko.bill_code,
|
||||||
create_id = _userManager.UserId,
|
create_id = ko.create_id,
|
||||||
create_time = DateTime.Now,
|
create_time = DateTime.Now,
|
||||||
source_id = ko.source_id,
|
source_id = ko.source_id,
|
||||||
source_code = ko.source_code
|
source_code = ko.source_code
|
||||||
|
|||||||
Reference in New Issue
Block a user