更改
This commit is contained in:
@@ -86,10 +86,17 @@ namespace Tnb.WarehouseMgr
|
|||||||
feedBox.material_code = carryMaterial.material_code;
|
feedBox.material_code = carryMaterial.material_code;
|
||||||
feedBox.qty = carryMaterial.qty;
|
feedBox.qty = carryMaterial.qty;
|
||||||
feedBox.batch = carryMaterial?.code_batch!;
|
feedBox.batch = carryMaterial?.code_batch!;
|
||||||
feedBox.status = carry.status;
|
|
||||||
feedBox.modify_id = _userManager.UserId;
|
feedBox.modify_id = _userManager.UserId;
|
||||||
feedBox.modify_time = DateTime.Now;
|
feedBox.modify_time = DateTime.Now;
|
||||||
var row = await _db.Updateable(feedBox).ExecuteCommandAsync();
|
var row = await _db.Updateable(feedBox)
|
||||||
|
.UpdateColumns(it => new {
|
||||||
|
it.material_id,
|
||||||
|
it.material_code,
|
||||||
|
it.qty,
|
||||||
|
it.batch,
|
||||||
|
it.modify_id,
|
||||||
|
it.modify_time
|
||||||
|
}).ExecuteCommandAsync();
|
||||||
//更新投料记录条码表
|
//更新投料记录条码表
|
||||||
if (carryCodes != null)
|
if (carryCodes != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user