Browse Source

修改白条状态表,支持无码。

master
yibo 7 years ago
parent
commit
174d010681
4 changed files with 6 additions and 1 deletions
  1. +0
    -1
      B3ClientService/BO/Bill/CarcassFullInfo.cs
  2. +2
    -0
      B3ClientService/OfflinRpc/CarcassInStoreRpc.cs
  3. +2
    -0
      B3ClientService/OfflinRpc/CarcassSaleOutStoreRpc.cs
  4. +2
    -0
      B3ClientService/OfflinRpc/CarcassTakeOutRpc.cs

+ 0
- 1
B3ClientService/BO/Bill/CarcassFullInfo.cs View File

@ -29,7 +29,6 @@ namespace BWP.B3ClientService.BO
[LogicName("创建时间")]
public DateTime CreateTime { get; set; }
[DbColumn(AllowNull = false, Unique = true)]
[LogicName("条码")]
public string BarCode { get; set; }


+ 2
- 0
B3ClientService/OfflinRpc/CarcassInStoreRpc.cs View File

@ -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));


+ 2
- 0
B3ClientService/OfflinRpc/CarcassSaleOutStoreRpc.cs View File

@ -38,6 +38,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));


+ 2
- 0
B3ClientService/OfflinRpc/CarcassTakeOutRpc.cs View File

@ -37,6 +37,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));


Loading…
Cancel
Save