yibo 7 years ago
parent
commit
3d226e1d90
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      B3SheepButcherManage.Web/Utils/B3SheepButcherManageChoiceBoxProvider.cs

+ 2
- 0
B3SheepButcherManage.Web/Utils/B3SheepButcherManageChoiceBoxProvider.cs View File

@ -1,4 +1,5 @@
using BWP.B3Frameworks.Utils; using BWP.B3Frameworks.Utils;
using BWP.B3ProduceUnitedInfos.NamedValueTemplate;
using BWP.B3SheepButcherManage; using BWP.B3SheepButcherManage;
using BWP.B3SheepButcherManage.BO; using BWP.B3SheepButcherManage.BO;
using BWP.B3UnitedInfos.BO; using BWP.B3UnitedInfos.BO;
@ -38,6 +39,7 @@ namespace BWP.Web.Utils
dom.Columns.Add(DQSelectColumn.Field("ID", goods)); dom.Columns.Add(DQSelectColumn.Field("ID", goods));
dom.Where.Conditions.Add(DQCondition.EQ(goodsProperty, "IsButchery", true)); dom.Where.Conditions.Add(DQCondition.EQ(goodsProperty, "IsButchery", true));
dom.Where.Conditions.Add(DQCondition.EQ("Stopped", false)); dom.Where.Conditions.Add(DQCondition.EQ("Stopped", false));
dom.Where.Conditions.Add(DQCondition.EQ("LiveVarieties_Nature", .));
DomainUtil.AddDomainPermissionLimit(dom, typeof(GoodsProperty), goodsProperty); DomainUtil.AddDomainPermissionLimit(dom, typeof(GoodsProperty), goodsProperty);
if (!string.IsNullOrEmpty(argu.InputArgument)) if (!string.IsNullOrEmpty(argu.InputArgument))
{ {


Loading…
Cancel
Save