|
|
@ -127,11 +127,13 @@ namespace SlnMesnac.Repository.service.Impl
|
|
|
|
};*/
|
|
|
|
};*/
|
|
|
|
recordMaterialInput = new RecordMaterialInput()
|
|
|
|
recordMaterialInput = new RecordMaterialInput()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
equip_id = mcsInputRecord.EquipId.ToString(),
|
|
|
|
equip_id = mcsInputRecord.EquipId.ToString() == "0" ? "1" :mcsInputRecord.EquipId.ToString(),
|
|
|
|
can_number = mcsInputRecord.CanNumber,
|
|
|
|
can_number = mcsInputRecord.CanNumber,
|
|
|
|
equip_type = "mcs",
|
|
|
|
equip_type = "mcs",
|
|
|
|
|
|
|
|
scaleNum = "101",
|
|
|
|
|
|
|
|
material_barcode = mcsInputRecord.MaterialBarcode,
|
|
|
|
input_quantity = mcsInputRecord.InputQuantity,
|
|
|
|
input_quantity = mcsInputRecord.InputQuantity,
|
|
|
|
input_weight = mcsInputRecord.InputQuantity,
|
|
|
|
input_weight = Convert.ToDecimal(mcsInputRecord.InputWeight),
|
|
|
|
is_remainder = mcsInputRecord.IsRemainder,
|
|
|
|
is_remainder = mcsInputRecord.IsRemainder,
|
|
|
|
remainder_quantity = mcsInputRecord.RemainderQuantity,
|
|
|
|
remainder_quantity = mcsInputRecord.RemainderQuantity,
|
|
|
|
remainder_weight = Convert.ToDecimal(mcsInputRecord.RemainderWeight),
|
|
|
|
remainder_weight = Convert.ToDecimal(mcsInputRecord.RemainderWeight),
|
|
|
@ -156,11 +158,12 @@ namespace SlnMesnac.Repository.service.Impl
|
|
|
|
};*/
|
|
|
|
};*/
|
|
|
|
recordMaterialInput = new RecordMaterialInput()
|
|
|
|
recordMaterialInput = new RecordMaterialInput()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
equip_id = cwssInputRecord.EquipId.ToString(),
|
|
|
|
equip_id = cwssInputRecord.EquipId.ToString() == "0" ? "1" :cwssInputRecord.EquipId.ToString(),
|
|
|
|
can_number = cwssInputRecord.CanNumber,
|
|
|
|
can_number = cwssInputRecord.CanNumber,
|
|
|
|
equip_type = "cwss",
|
|
|
|
equip_type = "cwss",
|
|
|
|
|
|
|
|
material_barcode = cwssInputRecord.MaterialBarcode,
|
|
|
|
input_quantity = cwssInputRecord.InputQuantity,
|
|
|
|
input_quantity = cwssInputRecord.InputQuantity,
|
|
|
|
input_weight = cwssInputRecord.InputQuantity,
|
|
|
|
input_weight = Convert.ToDecimal(cwssInputRecord.InputWeight),
|
|
|
|
is_remainder = cwssInputRecord.IsRemainder,
|
|
|
|
is_remainder = cwssInputRecord.IsRemainder,
|
|
|
|
remainder_quantity = cwssInputRecord.RemainderQuantity,
|
|
|
|
remainder_quantity = cwssInputRecord.RemainderQuantity,
|
|
|
|
remainder_weight = Convert.ToDecimal(cwssInputRecord.RemainderWeight),
|
|
|
|
remainder_weight = Convert.ToDecimal(cwssInputRecord.RemainderWeight),
|
|
|
|