场库备案列表查询
public partial class CTNY_LIB
{
/// <summary>
/// GUID
/// </summary>
public string ID { get; set; }
/// <summary>
/// 场库名称
/// </summary>
public string LIB_NAME { get; set; }
/// <summary>
/// 场库地址
/// </summary>
public string LIB_ADDRESS { get; set; }
/// <summary>
/// 组织机构代码
/// </summary>
public string LIB_ORGCODE { get; set; }
/// <summary>
/// 法人
/// </summary>
public string LIB_CORPORATION { get; set; }
/// <summary>
/// 企业性质
/// </summary>
public string LIB_NATURE { get; set; }
/// <summary>
/// 负责人
/// </summary>
public string LIB_HEAD { get; set; }
/// <summary>
/// 法人电话
/// </summary>
public string LIB_CORPORATION_TEL { get; set; }
/// <summary>
/// 负责人电话
/// </summary>
public string LIB_HEAD_TEL { get; set; }
/// <summary>
/// 场库建立时间(年、月)
/// </summary>
public string LIB_BUILD_TIME { get; set; }
/// <summary>
/// 质量管理体系认证类型及证书号
/// </summary>
public string LIB_QMSC { get; set; }
/// <summary>
/// 场库占地面积
/// </summary>
public Nullable<int> LIB_AREA { get; set; }
/// <summary>
/// 堆场面积
/// </summary>
public Nullable<int> LIB_YARD_AREA { get; set; }
/// <summary>
/// 检验检疫专用场库面积
/// </summary>
public Nullable<int> LIB_CHECK_AREA { get; set; }
/// <summary>
/// 1:自有 ,2:租赁
/// </summary>
public string LIB_PROPERTY { get; set; }
/// <summary>
/// 场库所有人
/// </summary>
public string LIB_OWN { get; set; }
/// <summary>
/// 场库属性:1:物流监管场库□,2:进口收用货单位监管场库□
/// </summary>
public string LIB_ATT { get; set; }
/// <summary>
/// 0 暂存1 提交2 驳回(审核不通过)3 合格(审核通过)
/// </summary>
public string ROW_STATE { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CREATE_BY { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public Nullable<System.DateTime> CREATE_TIME { get; set; }
/// <summary>
/// 审核人
/// </summary>
public string DATA_AUDIT_BY { get; set; }
/// <summary>
/// 审核时间
/// </summary>
public Nullable<System.DateTime> DATA_AUDIT_TIME { get; set; }
/// <summary>
/// 审核结果
/// </summary>
public string DATA_AUDIT_RESULT { get; set; }
/// <summary>
/// 审核备注(驳回原因)
/// </summary>
public string DATA_AUDIT_REMARK { get; set; }
/// <summary>
/// 提交时间
/// </summary>
public Nullable<System.DateTime> SUBMIT_TIME { get; set; }
/// <summary>
/// 到期时间
/// </summary>
public Nullable<System.DateTime> MATURITIES { get; set; }
/// <summary>
/// 备注
/// </summary>
public string REMARK { get; set; }
}
场库备案单条查询
public partial class CTNY_LIB
{
同LIST
}
场库备案增加
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/lib/save
- request: from body
- response: ""
- test: {"ID":"001","LIB_NAME":"宁波测试","LIB_ADDRESS":"宁波测试","LIB_ORGCODE":"380000","LIB_CORPORATION":"法人",
"LIB_NATURE":"企业性质","LIB_HEAD":"负责人","LIB_CORPORATION_TEL":"法人电话","LIB_HEAD_TEL":"负责人电话",
"LIB_BUILD_TIME":"场库建立时间(年、月)","LIB_QMSC":"质量管理体系认证类型及证书号","LIB_AREA":56,"LIB_YARD_AREA":99,
"LIB_CHECK_AREA":34,"LIB_PROPERTY":"1:自有 ,2:租赁","LIB_OWN":"场库所有人","LIB_ATT":"场库属性","ROW_STATE":"0",
"CREATE_BY":"admin","CREATE_TIME":"2017-03-03T00:00:00","DATA_AUDIT_BY":"审核人","DATA_AUDIT_TIME":"2017-03-03T00:00:00",
"DATA_AUDIT_RESULT":"审核结果","DATA_AUDIT_REMARK":"审核备注(驳回原因)","SUBMIT_TIME":"2017-03-03T00:00:00",
"MATURITIES":"2017-03-03T00:00:00","REMARK":"123"}
场库备案编辑
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/lib/update
- request: from body
- response: ""
- test: {"ID":"001","LIB_NAME":"宁波测试","LIB_ADDRESS":"宁波测试","LIB_ORGCODE":"380000","LIB_CORPORATION":"法人",
"LIB_NATURE":"企业性质","LIB_HEAD":"负责人","LIB_CORPORATION_TEL":"法人电话","LIB_HEAD_TEL":"负责人电话",
"LIB_BUILD_TIME":"场库建立时间(年、月)","LIB_QMSC":"质量管理体系认证类型及证书号","LIB_AREA":56,"LIB_YARD_AREA":99,
"LIB_CHECK_AREA":34,"LIB_PROPERTY":"1:自有 ,2:租赁","LIB_OWN":"场库所有人","LIB_ATT":"场库属性","ROW_STATE":"0",
"CREATE_BY":"admin","CREATE_TIME":"2017-03-03T00:00:00","DATA_AUDIT_BY":"审核人","DATA_AUDIT_TIME":"2017-03-03T00:00:00",
"DATA_AUDIT_RESULT":"审核结果","DATA_AUDIT_REMARK":"审核备注(驳回原因)","SUBMIT_TIME":"2017-03-03T00:00:00",
"MATURITIES":"2017-03-03T00:00:00","REMARK":"123"}
场库备案通过审核
场库备案退回(审核不通过)
场库备案删除
场库备案附件列表查询
public partial class CTNY_CERT
{
/// <summary>
/// GUID
/// </summary>
public string ID { get; set; }
/// <summary>
/// 备案主单ID
/// </summary>
public string PID { get; set; }
/// <summary>
/// 证书名称
/// </summary>
public string CERT_NAME { get; set; }
/// <summary>
/// 证书有效期
/// </summary>
public Nullable<System.DateTime> CERT_VALIDITY { get; set; }
/// <summary>
/// 附件关联ID
/// </summary>
public string FILE_ID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public Nullable<System.DateTime> CREATE_TIME { get; set; }
}
场库备案附件单条查询
public partial class CTNY_CERT
{
同LIST
}
场库备案附件增加
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/cert/save
- request: from body
- response: ""
- test: {"ID":"001","PID":"0012","CERT_NAME":"efg","CERT_VALIDITY":"2017-03-03T00:00:00",
"FILE_ID":"0987654","CREATE_TIME":"2017-03-22T00:00:00"}
场库备案附件编辑
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/cert/update
- request: from body
- response: ""
- test: {"ID":"001","PID":"0012","CERT_NAME":"efg","CERT_VALIDITY":"2017-03-03T00:00:00",
"FILE_ID":"0987654","CREATE_TIME":"2017-03-22T00:00:00"}
场库备案附件删除
场库台帐登记列表查询
public partial class CTNY_RECORD
{
/// <summary>
/// GUID
/// </summary>
public string ID { get; set; }
/// <summary>
/// 台帐序号
/// </summary>
public string RECORD_NO { get; set; }
/// <summary>
/// 报检号
/// </summary>
public string DECL_NO { get; set; }
/// <summary>
/// 台帐日期
/// </summary>
public Nullable<System.DateTime> RECORD_DATE { get; set; }
/// <summary>
/// 主施检部门
/// </summary>
public string INSP_DEPT { get; set; }
/// <summary>
/// 电子查验时间
/// </summary>
public Nullable<System.DateTime> CHECK_TIME { get; set; }
/// <summary>
/// 查验模式
/// </summary>
public string CHECK_MODE { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CTN_NO { get; set; }
/// <summary>
/// 箱型
/// </summary>
public string CTN_TYPE { get; set; }
/// <summary>
/// 旧封号
/// </summary>
public string OLD_SEAL_NO { get; set; }
/// <summary>
/// 新封号
/// </summary>
public string NEW_SEAL_NO { get; set; }
/// <summary>
/// 来源国
/// </summary>
public string COUNTRY { get; set; }
/// <summary>
/// 货代名称
/// </summary>
public string ENT_NAME { get; set; }
/// <summary>
/// 报检员
/// </summary>
public string DECL_PERSON { get; set; }
/// <summary>
/// 检疫员
/// </summary>
public string INSP_PERSON { get; set; }
/// <summary>
/// 是否有木 0:无 1:有
/// </summary>
public string IS_HAVE_WOOD { get; set; }
/// <summary>
/// 是否疫区 0:无 1:有
/// </summary>
public string IS_EPIDEMIC { get; set; }
/// <summary>
/// 总箱量(20)
/// </summary>
public Nullable<decimal> CTN_NUM_ALL_20 { get; set; }
/// <summary>
/// 抽查箱量(20)
/// </summary>
public Nullable<decimal> CTN_NUM_CHECK_20 { get; set; }
/// <summary>
/// 总箱量(40)
/// </summary>
public Nullable<decimal> CTN_NUM_ALL_40 { get; set; }
/// <summary>
/// 抽查箱量(40)
/// </summary>
public Nullable<decimal> CTN_NUM_CHECK_40 { get; set; }
/// <summary>
/// 查验情况
/// </summary>
public string CHECK_RESULT { get; set; }
/// <summary>
/// 检疫处理
/// </summary>
public string QT { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CREATE_BY { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public Nullable<System.DateTime> CREATE_TIME { get; set; }
/// <summary>
/// 备注
/// </summary>
public string REMARK { get; set; }
}
场库台帐登记单条查询
public partial class CTNY_RECORD
{
同LIST
}
场库台帐登记增加
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/record/save
- request: from body
- response: ""
- test: {"ID":"3df47ef7-d75a-4c55-aaa2-67dcf21e72dd","RECORD_NO":"000001","DECL_NO":"3800376298232",
"RECORD_DATE":"2017-03-03T00:00:00","INSP_DEPT":"3809872","CHECK_TIME":"2017-03-03T00:00:00",
"CHECK_MODE":"ttt","CTN_NO":"T0937232","CTN_TYPE":"1","OLD_SEAL_NO":"2324242","NEW_SEAL_NO":"232323",
"COUNTRY":"美国","ENT_NAME":"宁波测试","DECL_PERSON":"yyl","INSP_PERSON":"yyl","IS_HAVE_WOOD":"1",
"IS_EPIDEMIC":"0","CTN_NUM_ALL_20":5.0,"CTN_NUM_CHECK_20":3.0,"CTN_NUM_ALL_40":1.0,"CTN_NUM_CHECK_40":4.0,
"CHECK_RESULT":"ok","QT":"ok","CREATE_BY":"admin","CREATE_TIME":"2017-03-31T00:00:00","REMARK":"111"}
场库台帐登记编辑
- mode: HttpPost
- url: http://dev.nbeport.com/ctny/v1/rest/record/update
- request: from body
- response: ""
- test: {"ID":"3df47ef7-d75a-4c55-aaa2-67dcf21e72dd","RECORD_NO":"000001","DECL_NO":"3800376298232",
"RECORD_DATE":"2017-03-03T00:00:00","INSP_DEPT":"3809872","CHECK_TIME":"2017-03-03T00:00:00",
"CHECK_MODE":"ttt","CTN_NO":"T0937232","CTN_TYPE":"1","OLD_SEAL_NO":"2324242","NEW_SEAL_NO":"232323",
"COUNTRY":"美国","ENT_NAME":"宁波测试","DECL_PERSON":"yyl","INSP_PERSON":"yyl","IS_HAVE_WOOD":"1",
"IS_EPIDEMIC":"0","CTN_NUM_ALL_20":5.0,"CTN_NUM_CHECK_20":3.0,"CTN_NUM_ALL_40":1.0,"CTN_NUM_CHECK_40":4.0,
"CHECK_RESULT":"ok","QT":"ok","CREATE_BY":"admin","CREATE_TIME":"2017-03-31T00:00:00","REMARK":"111"}
场库台帐登记删除