| | |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.service.BasicData; |
| | | |
| | | /// <summary> |
| | | /// 物料单位换算信息 |
| | | /// </summary> |
| | | public class MesUnitMatrixingManager : Repository<MesUnitMatrixing> |
| | | { |
| | | public bool Save(ErpUnitMatrixing unit) |
| | |
| | | CONVMOL=unit.FConvertMolecules, |
| | | CONVDEN=unit.FConvertDenominator, |
| | | AltUnits=unit.FCurrentUnitId, |
| | | ValStates=unit.FForbidStatus |
| | | ValStates=unit.FForbidStatus, |
| | | |
| | | FSubsidiary = string.IsNullOrEmpty(unit.FUseOrgId) ? "1" : unit.FUseOrgId, |
| | | Fumbrella = string.IsNullOrEmpty(unit.FCreateOrgId) ? "1" : unit.FCreateOrgId, |
| | | }; |
| | | |
| | | // ERP: 0=未禁用, 1=禁用 |