更改查询表并添加新编译项
在 `U9C_MES.cs` 文件中,将查询的表从 `mes_MaterialBarCode` 更改为 `mes_MaterialBarCodeByBin`。
在 `Tiger.Model.Net.csproj` 文件中,添加了两个新的编译项:
* `Entitys\MES\YadaU9\mes_MaterialBarCodeByBin.cs`
* `Entitys\MES\YadaU9\mes_WhLotCodeQtyInfo.cs`
| | |
| | | DbClient db = Biz.DataSource["YadaU9C"].Client; |
| | | try |
| | | { |
| | | var list = db.Queryable<mes_MaterialBarCode>().Where("ModifiedOn > @startTime And ModifiedOn < @endTime", new { startTime = input.startTime, endTime = input.endTime }).ToList(); |
| | | var list = db.Queryable<mes_MaterialBarCodeByBin>().Where("ModifiedOn > @startTime And ModifiedOn < @endTime", new { startTime = input.startTime, endTime = input.endTime }).ToList(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | <Compile Include="Entitys\BAS\BAS_ITEM_DOC.cs" /> |
| | | <Compile Include="Entitys\MES\YadaU9\mes_Bin.cs" /> |
| | | <Compile Include="Entitys\MES\YadaU9\mes_MaterialBarCode.cs" /> |
| | | <Compile Include="Entitys\MES\YadaU9\mes_MaterialBarCodeByBin.cs" /> |
| | | <Compile Include="Entitys\MES\YadaU9\mes_Wh.cs" /> |
| | | <Compile Include="Entitys\MES\YadaU9\mes_WhLotCodeQtyInfo.cs" /> |
| | | <Compile Include="Entitys\MQTTEntity.cs" /> |
| | | <Compile Include="Entitys\Api\Base.cs" /> |
| | | <Compile Include="Entitys\Automate\SNInfo.cs" /> |