bug
This commit is contained in:
@@ -477,6 +477,11 @@ namespace Tnb.ProductionMgr
|
|||||||
// .Where(x => x.carry_id == detail.member_carry_id)
|
// .Where(x => x.carry_id == detail.member_carry_id)
|
||||||
// .ExecuteCommandAsync();
|
// .ExecuteCommandAsync();
|
||||||
|
|
||||||
|
await db.Updateable<WmsCarryH>()
|
||||||
|
.SetColumns(x => x.carry_status == ((int)EnumCarryStatus.空闲).ToString())
|
||||||
|
.Where(x => x.id==detail.member_carry_id)
|
||||||
|
.ExecuteCommandAsync();
|
||||||
|
|
||||||
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
||||||
{
|
{
|
||||||
carry_id = detail.member_carry_id
|
carry_id = detail.member_carry_id
|
||||||
@@ -517,7 +522,8 @@ namespace Tnb.ProductionMgr
|
|||||||
List<PrdMaterialReceiptD> dList = await db.Queryable<PrdMaterialReceiptD>()
|
List<PrdMaterialReceiptD> dList = await db.Queryable<PrdMaterialReceiptD>()
|
||||||
.Where(x => x.material_receipt_id == prdMaterialReceiptH.id).ToListAsync();
|
.Where(x => x.material_receipt_id == prdMaterialReceiptH.id).ToListAsync();
|
||||||
|
|
||||||
List<String> carryIds = dList.Select(x => x.member_carry_id).ToList();
|
//List<String> carryIds = dList.Select(x => x.member_carry_id).ToList();
|
||||||
|
List<String> carryIds = new List<string>();
|
||||||
carryIds.Add(prdMaterialReceiptH.carry_id);
|
carryIds.Add(prdMaterialReceiptH.carry_id);
|
||||||
// foreach (var item in dList)
|
// foreach (var item in dList)
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -1697,12 +1697,12 @@ namespace Tnb.ProductionMgr
|
|||||||
{
|
{
|
||||||
// if (dic.TryGetValue(prdMoTask.workline_id, out string value))
|
// if (dic.TryGetValue(prdMoTask.workline_id, out string value))
|
||||||
// {
|
// {
|
||||||
materialBoxCode = await _redisData.GetHash("value", "WBZX_x1_take_tp");
|
// materialBoxCode = await _redisData.GetHash("value", "WBZX_x1_take_tp");
|
||||||
if (materialBoxCode == null || materialBoxCode.IsEmpty())
|
// if (materialBoxCode == null || materialBoxCode.IsEmpty())
|
||||||
{
|
// {
|
||||||
throw Oops.Bah("托盘条码信息未空");
|
// throw Oops.Bah("托盘条码信息未空");
|
||||||
}
|
// }
|
||||||
report.material_box_code = materialBoxCode;
|
report.material_box_code = input.material_box_code;
|
||||||
// }
|
// }
|
||||||
// else
|
// else
|
||||||
// {
|
// {
|
||||||
|
|||||||
Reference in New Issue
Block a user