|
|
|
@ -159,6 +159,8 @@ namespace BWP.B3ClientService.Rpcs |
|
|
|
|
|
|
|
static long? GetID(string code, IDmoSession session) |
|
|
|
{ |
|
|
|
if (string.IsNullOrEmpty(code)) |
|
|
|
return null; |
|
|
|
var query = new DQueryDom(new JoinAlias(typeof(CarcassFullInfo))); |
|
|
|
query.Columns.Add(DQSelectColumn.Field("ID")); |
|
|
|
query.Where.Conditions.Add(DQCondition.EQ("BarCode", code)); |
|
|
|
|