| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_DTO.Base; |
| | | |
| | | namespace WIDESEA_IBasicService |
| | | { |
| | | public interface IBasicService: IDependency |
| | | public interface IBasicService : IDependency |
| | | { |
| | | /// <summary> |
| | | /// è´§ä½ä¸å¡å± |
| | |
| | | IPalletCodeInfoService PalletCodeInfoService { get; } |
| | | |
| | | IMaterielCodeInfoService MaterielCodeInfoService { get; } |
| | | |
| | | IMaterialUnitService MaterialUnitService { get; } |
| | | |
| | | #region |
| | | string CreateCodeByRule(string ruleCode); |
| | | #endregion |
| | | |
| | | #region åä½è½¬æ¢ |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="fromUnit"></param> |
| | | /// <param name="toUnit"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitQuantityConvert(string materialCode, string fromUnit, string toUnit, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼é¢æè½¬éè´ |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitUsageToPurchase(string materialCode, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼é¢æè½¬åºå |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitUsageToInventory(string materialCode, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼éè´è½¬åºå |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitPurchaseToInventory(string materialCode, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼éè´è½¬é¢æ |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitPurchaseToUsage(string materialCode, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼åºåè½¬é¢æ |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitInventoryToUsage(string materialCode, decimal quantity); |
| | | |
| | | /// <summary> |
| | | /// åä½è½¬æ¢ï¼åºå转éè´ |
| | | /// </summary> |
| | | /// <param name="materialCode"></param> |
| | | /// <param name="quantity"></param> |
| | | /// <returns></returns> |
| | | /// <exception cref="Exception"></exception> |
| | | public UnitConvertResultDTO UnitInventoryToPurchase(string materialCode, decimal quantity); |
| | | #endregion |
| | | } |
| | | } |