You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB
C#

using Common.Utilities;
using djy.Model.Afr;
using djy.Model.AFRDto;
using djy.Model.AmsDto;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace djy.IService.Afr
{
public interface IAfrService
{
#region 字典接口
List<CommonCNEN> GetCountry(string strlink, int page, int limit);
List<CommonMappiCode> GetCARRIER();
List<CommonMappiCode> GetCTNALL();
List<CommonMappiCode> GetPackage();
List<CodeDangerGradeDto> GetDangerousGoods(string strlink);
List<CommonMappiCode> GetPort(string strlink, int page, int limit);
List<CommonCodeValue> GetVessel(string strlink, int page, int limit);
#endregion
Task<PageModel<AFRMaster>> Load(AFRMasterInputDto input);
Task<AFRMaster> Get(string gid);
Task<AFRMaster> SaveInfo(AFRMaster input);
Task Delete(string ids);
Task<(bool isSuccess, string message)> Send(string ids, string hids, int sendType);
Task SaveReceipt(AFRReceiptDto input);
Task<List<AFRMasterHistory>> GetHistory(string pid, string hid);
Task<List<AFRAddrTemplate>> GetTemplate(string type, string name);
Task SaveTemplate(AFRAddrTemplate input);
Task DeleteTemplate(string ids);
//Task<User> GetUser();
}
}