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