1
This commit is contained in:
@@ -79,28 +79,35 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
if (_dicBizType.ContainsKey(disTask.biz_type))
|
||||
{
|
||||
switch (_dicBizType[disTask.biz_type])
|
||||
{
|
||||
case "空载具出库":
|
||||
case "寄存出库":
|
||||
case "齐套出库":
|
||||
case "一般出库":
|
||||
{
|
||||
WareHouseUpInput upInput = new() {
|
||||
loginType = "web",
|
||||
bizTypeId = disTask.biz_type,
|
||||
requireId = disTask.require_id,
|
||||
carryIds = new List<string> { input.carryId },
|
||||
distaskCodes = input.distaskCodes };
|
||||
await DoUpdate(upInput); //回更业务
|
||||
//switch (_dicBizType[disTask.biz_type])
|
||||
//{
|
||||
// case "空载具出库":
|
||||
// case "寄存出库":
|
||||
// case "齐套出库":
|
||||
// case "一般出库":
|
||||
// {
|
||||
|
||||
WareHouseUpInput upInput = new() { loginType = "web", bizTypeId = disTask.biz_type, requireId = disTask.require_id, carryIds = new List<string> { input.carryId }, distaskCodes = input.distaskCodes };
|
||||
await DoUpdate(upInput); //回更业务
|
||||
// WareHouseUpInput upInput = new() { loginType = "web", bizTypeId = disTask.biz_type, requireId = disTask.require_id, carryIds = new List<string> { input.carryId }, distaskCodes = input.distaskCodes };
|
||||
// await DoUpdate(upInput); //回更业务
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
case "载具移出":
|
||||
{
|
||||
WareHouseUpInput upInput = new() { loginType = "web", bizTypeId = disTask.biz_type, requireId = disTask.require_id, carryIds = new List<string> { input.carryId }, distaskCodes = input.distaskCodes };
|
||||
await DoUpdate(upInput); //回更业务
|
||||
}
|
||||
break;
|
||||
// }
|
||||
// break;
|
||||
// case "载具移出":
|
||||
// {
|
||||
// WareHouseUpInput upInput = new() { loginType = "web", bizTypeId = disTask.biz_type, requireId = disTask.require_id, carryIds = new List<string> { input.carryId }, distaskCodes = input.distaskCodes };
|
||||
// await DoUpdate(upInput); //回更业务
|
||||
// }
|
||||
// break;
|
||||
|
||||
}
|
||||
//}
|
||||
}
|
||||
disTask.is_sign = 1;
|
||||
await _db.Updateable(disTask).UpdateColumns(it => it.is_sign).ExecuteCommandAsync();
|
||||
|
||||
Reference in New Issue
Block a user