|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using djy.Model;
|
|
|
|
|
using Common;
|
|
|
|
|
using djy.Model.AmsDto;
|
|
|
|
|
using Common.Utilities;
|
|
|
|
|
using djy.Model.Ams;
|
|
|
|
|
using djy.IService.Djy;
|
|
|
|
|
using Common.DJYModel;
|
|
|
|
|
|
|
|
|
|
namespace djy.IService.Ams
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// AMS
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IAmsService:IsBase
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
string SaveInfo(AMSDto dto, User user);
|
|
|
|
|
|
|
|
|
|
TableData Load(AMSQuery req, User user,UserAuthorityDto aut);
|
|
|
|
|
|
|
|
|
|
void Delete(string ids, User user);
|
|
|
|
|
|
|
|
|
|
List<CommonCNEN> GetCountry();
|
|
|
|
|
|
|
|
|
|
List<CommonCodeValue> GetCodePortLoad();
|
|
|
|
|
|
|
|
|
|
List<CommonMappiCode> GetCARRIER();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<CommonCodeValue> GetCTNALL();
|
|
|
|
|
List<CommonCodeValue> GetPackage();
|
|
|
|
|
|
|
|
|
|
List<CodeDangerGradeDto> GetDangerousGoods(string strlink);
|
|
|
|
|
|
|
|
|
|
List<CommonCodeValue> GetPort(string strlink);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<CommonCodeValue> GetVessel(string strlink);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Task<Response> SendDE(string Gid, User user, string docType,string hid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Response SaveReceipt(string retdto);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<CommonCodeValue> GetCodeProvince(string code);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<CodeCityDto> GetCodeCity(string provinceCode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string SaveTemplate(AMS_AddrTemplate dto, User user);
|
|
|
|
|
|
|
|
|
|
List<AMS_AddrTemplate> GetTemplate(User user, string type,string TemPlateName);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void DeleteTemplate(string ids);
|
|
|
|
|
byte[] PDF(string ids);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|