public List <Item> ItemListQuery(ItemQueryCondition condition) { //使用拼接SQL查询 var command = _DB.GetCommand("ItemListQuery"); var result = command.ExecuteEntityList <Item>(new{ ItemNumber = condition.ItemNumber , ItemName = condition.ItemName , ItemStatus = condition.ItemStatus }); return(result); }
public List <Item> ItemListQuery(ItemQueryCondition condition) { return(_itemSearchDataService.ItemListQuery(condition)); }
public List <Item> ItemListQuery([FromBody] ItemQueryCondition condition) { return(_itemListSearchService.ItemListQuery(condition)); }