1、根据需求进行数据表的设计。

数据库名 e6yun3_tms_customized 数据库表名(代理盈利信息) agent_profit_info
字段名 类型 是否为空 默认值 描述
created_user_id int(11) not null 0 创建人
created_time datetime not null CURRENT_TIMESTAMP 创建时间/生成时间
modified_user_id int(11) not null 0 修改人
modified_time datetime not null CURRENT_TIMESTAMP 修改时间
waybill_no varchar(64) not null 0 运单单号
order_no varchar(64) not null 0 关联订单单号
customer_name varchar(64) not null
客户名称
pay_person varchar(64) not null
结算方
corp_id int(11) not null
公司id
valid tinyint(1) not null 1 是否可用
id varchar(18) not null
主键递增
ticket_person varchar(18) not null
开票方
carrier varchar(18) not null
承运商
cost_status varchar(18) not null
费用状态
waybill_status varchar(18) not null
运单状态
gross_margin decimal(18,6) not null 0.000000 毛利
receive_freight decimal(18,6) not null 0.000000 应收运费
receive_premium decimal(18,6) not null 0.000000 应收保险费
receive_extrude_fee decimal(18,6) not null 0.000000 应收压车费
receive_loader_fee decimal(18,6) not null 0.000000 应收装卸费
receive_damage_fee decimal(18,6) not null 0.000000 应收货损费
receive_overload_fee decimal(18,6) not null 0.000000 应收超重费
receive_excrete_fee decimal(18,6) not null 0.000000 应收拆单费
receive_message_fee decimal(18,6) not null 0.000000 应收信息费
receive_express_fee decimal(18,6) not null 0.000000 应收快递费
receive_delivery_fee decimal(18,6) not null 0.000000 应收提货送货费
receive_pound_fee decimal(18,6) not null 0.000000 应收磅费
receive_receipt_fee decimal(18,6) not null 0.000000 应收办单费
receive_debit_fee decimal(18,6) not null 0.000000 应收违约金
receive_damaged_goods_fee decimal(18,6) not null 0.000000 应收货损品回收费
receive_tally_fee decimal(18,6) not null 0.000000 应收现场理货费
receive_run_fee decimal(18,6) not null 0.000000 应收跑空费
receive_material_handling_fee decimal(18,6) not null 0.000000 应收装卸材料费
receive_fall_fee decimal(18,6) not null 0.000000 应收倒运费
receive_reinforce_fee decimal(18,6) not null 0.000000 应收加固费
handle_waybill_fee decimal(18,6) not null 0.000000 应付运费
handle_waybill_account varchar(256) not null
应付运费费结算对象
handle_premium_fee decimal(18,6) not null 0.000000 应付保险费
handle_premium_account varchar(256) not null 人保 应付保险费结算对象
handle_service_fee decimal(18,6) not null 0.000000 应付业务开发费
handle_service_account varchar(256) not null 阮初强 应付业务开发费结算对象
handle_care_fee decimal(18,6) not null 0.000000 应付关爱基金
handle_care_account varchar(256) not null 阮初强 应付关爱基金结算对象
handle_operation_fee decimal(18,6) not null 0.000000 应付操作费
handle_opertion_account varchar(256) not null 阮初强 应付操作费结算对象
handle_tallying_fee decimal(18,6) not null 0.000000 应付理货基金
handle_tallying_account varchar(256) not null 阮初强 应付理货基金结算对象
handle_loader_fee decimal(18,6) not null 0.000000 应付装卸费
handle_loader_account varchar(256) not null
应付装卸费结算对象
handle_damage_fee decimal(18,6) not null 0.000000 应付货损费
handle_damage_account varchar(256) not null 应付货损费结算对象
handle_overload_fee decimal(18,6) not null 0.000000 应付超重费
handle_overload_account varchar(256) not null 应付超重费结算对象
handle_excrete_fee decimal(18,6) not null 0.000000 应付拆单费
handle_excrete_account varchar(256) not null 应付拆单费结算对象
handle_extrude_fee decimal(18,6) not null 0.000000 应付压车费
handle_extrude_account varchar(256) not null 应付压车费结算对象
handle_message_fee decimal(18,6) not null 0.000000 应付信息费
handle_message_account varchar(256) not null 应付信息费结算对象
handle_express_fee decimal(18,6) not null 0.000000 应付快递费
handle_express_account varchar(256) not null 应付快递费结算对象
handle_delivery_fee decimal(18,6) not null 0.000000 应付提货送货费
handle_delivery_account varchar(256) not null 应付提货送货结算对象
handle_pound_fee decimal(18,6) not null 0.000000 应付磅费
handle_pound_account varchar(256) not null 应付磅费结算对象
handle_store_fee decimal(18,6) not null 0.000000 应付仓库接洽费
handle_store_account varchar(256) not null 应付仓库接洽费结算对象
handle_receipt_fee decimal(18,6) not null 0.000000 应付办单费
handle_receipt_account varchar(256) not null 应付办单费结算对象
handle_debit_fee decimal(18,6) not null 0.000000 应付违约金
handle_debit_account varchar(256) not null 应付违约金结算对象
handle_amendment_fee decimal(18,6) not null 0.000000 应付改单费
handle_amendment_account varchar(256) not null 应付改单费结算对象
handle_reception_fee decimal(18,6) not null 0.000000 应付业务接待费
handle_reception_account varchar(256) not null 应付业务接待费结算对象
handle_tally_fee decimal(18,6) not null 0.000000 应付现场理货费
handle_tally_account varchar(256) not null 应付现场理货费结算对象
handle_run_fee decimal(18,6) not null 0.000000 应付跑空费
handle_run_account varchar(256) not null 应付跑空费结算对象
handle_material_handling_fee decimal(18,6) not null 0.000000 应付装卸材料费
handle_material_handling_account varchar(256) not null 应付装卸材料费结算对象
handle_fall_fee decimal(18,6) not null 0.000000 应付倒运费
handle_fall_account varchar(256) not null 应付倒运费结算对象
handle_adjustment_fee decimal(18,6) not null 0.000000 应付小额调整
handle_adjustment_account varchar(256) not null 应付小额调整结算对象
handle_railway_fee decimal(18,6) not null 0.000000 应付铁路运费
handle_railway_account varchar(256) not null 应付铁路运费结算对象
handle_gate_fee decimal(18,6) not null 0.000000 应付入闸费
handle_gate_account varchar(256) not null 应付入闸费结算对象
handle_standby_fee decimal(18,6) not null 0.000000 应付客户备用金
handle_standby_account varchar(256) not null 应付客户备用金结算对象
handle_trailer_fee decimal(18,6) not null 0.000000 应付起运港拖车费
handle_trailer_account varchar(256) not null 应付起运港拖车费结算对象
handle_recycle_fee decimal(18,6) not null 0.000000 应付货损品回收费
handle_recycle_account varchar(256) not null 应付货损品回收费结算对象
handle_reinforce_fee decimal(18,6) not null 0.000000 应付加固费
handle_reinforce_account varchar(256) not null 应付加固费结算对象

1.1 SQ设计

  1. CREATE TABLE `agent_profit_info` (
  2. `created_user_id` int(11) NOT NULL DEFAULT '0' COMMENT '创建人',
  3. `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间/生成时间',
  4. `modified_user_id` int(11) NOT NULL DEFAULT '0' COMMENT '修改人',
  5. `modified_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  6. `waybill_no` varchar(64) utf8 NOT NULL DEFAULT '' COMMENT '运单单号',
  7. `order_no` json NOT NULL COMMENT '关联订单单号',
  8. `customer_name` varchar(64) NOT NULL DEFAULT '' COMMENT '客户名称',
  9. `pay_person` varchar(64) NOT NULL DEFAULT '' COMMENT '结算方',
  10. `corp_id` int(11) NOT NULL DEFAULT '0' COMMENT '公司id',
  11. `valid` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否可用',
  12. `id` varchar(18) NOT NULL DEFAULT '' COMMENT '主键id',
  13. `ticket_person` varchar(18) NOT NULL DEFAULT '' COMMENT '开票方',
  14. `carrier_id` tinyint(4) NOT NULL DEFAULT '0' COMMENT '承运商ID',
  15. `carrier` varchar(18) NOT NULL DEFAULT '' COMMENT '承运商',
  16. `cost_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '费用状态',
  17. `waybill_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '运单状态',
  18. `gross_margin` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '毛利',
  19. `receive_freight` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收运费',
  20. `receive_premium` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收保险费',
  21. `receive_extrude_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收压车费',
  22. `receive_loader_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收装卸费',
  23. `receive_damage_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收货损费',
  24. `receive_overload_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收超重费',
  25. `receive_excrete_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收拆单费',
  26. `receive_message_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收信息费',
  27. `receive_express_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收快递费',
  28. `receive_delivery_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收提货送货费',
  29. `receive_pound_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收磅费',
  30. `receive_receipt_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收办单费',
  31. `receive_debit_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收违约金',
  32. `receive_recycle_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收货损品回收费',
  33. `receive_tally_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收现场理货费',
  34. `receive_run_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收跑空费',
  35. `receive_material_handling_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收装卸材料费',
  36. `receive_fall_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收倒运费',
  37. `receive_reinforce_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应收加固费',
  38. `pay_waybill_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付运费',
  39. `pay_waybill_account` varchar(256) NOT NULL COMMENT '应付运费费结算对象',
  40. `pay_premium_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付保险费',
  41. `pay_premium_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付保险费结算对象',
  42. `pay_care_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付关爱基金',
  43. `pay_care_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付关爱基金结算对象',
  44. `pay_service_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付业务开发费',
  45. `pay_service_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付业务开发费结算对象',
  46. `pay_operation_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付操作费',
  47. `pay_opertion_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付操作费结算对象',
  48. `pay_tallying_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付理货基金',
  49. `pay_tallying_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付理货基金结算对象',
  50. `pay_loader_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付装卸费',
  51. `pay_loader_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付装卸费结算对象',
  52. `pay_damage_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付货损费',
  53. `pay_damage_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付货损费结算对象',
  54. `pay_overload_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付超重费',
  55. `pay_overload_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付超重费结算对象',
  56. `pay_excrete_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付拆单费',
  57. `pay_excrete_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付拆单费结算对象',
  58. `pay_extrude_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付压车费',
  59. `pay_extrude_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付压车费结算对象',
  60. `pay_message_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付信息费',
  61. `pay_message_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付信息费结算对象',
  62. `pay_express_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付快递费',
  63. `pay_express_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付快递费结算对象',
  64. `pay_delivery_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付提货送货费',
  65. `pay_delivery_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付提货送货结算对象',
  66. `pay_pound_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付磅费',
  67. `pay_pound_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付磅费结算对象',
  68. `pay_store_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付仓库接洽费',
  69. `pay_store_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付仓库接洽费结算对象',
  70. `pay_receipt_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付办单费',
  71. `pay_receipt_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付办单费结算对象',
  72. `pay_debit_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付违约金',
  73. `pay_debit_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付违约金结算对象',
  74. `pay_amendment_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付改单费',
  75. `pay_amendment_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付改单费结算对象',
  76. `pay_reception_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付业务接待费',
  77. `pay_reception_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付业务接待费结算对象',
  78. `pay_tally_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付现场理货费',
  79. `pay_tally_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付现场理货费结算对象',
  80. `pay_run_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付跑空费',
  81. `pay_run_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付跑空费结算对象',
  82. `pay_material_handling_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付装卸材料费',
  83. `pay_material_handling_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付装卸材料费结算对象',
  84. `pay_fall_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付倒运费',
  85. `pay_fall_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付倒运费结算对象',
  86. `pay_adjustment_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付小额调整',
  87. `pay_adjustment_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付小额调整结算对象',
  88. `pay_railway_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付铁路运费',
  89. `pay_railway_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付铁路运费结算对象',
  90. `pay_gate_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付入闸费',
  91. `pay_gate_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付入闸费结算对象',
  92. `pay_standby_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付客户备用金',
  93. `pay_standby_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付客户备用金结算对象',
  94. `pay_trailer_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付起运港拖车费',
  95. `pay_trailer_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付起运港拖车费结算对象',
  96. `pay_recycle_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付货损品回收费',
  97. `pay_recycle_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付货损品回收费结算对象',
  98. `pay_reinforce_fee` decimal(18, 6) NOT NULL DEFAULT '0.000000' COMMENT '应付加固费',
  99. `pay_reinforce_account` varchar(256) NOT NULL DEFAULT '' COMMENT '应付加固费结算对象',
  100. PRIMARY KEY (`id`)
  101. )ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='代理服务盈利表';

1.2 AgentProfitQueryVO 的设计

属性:

  1. private List<Date> createdTimeList;// 创建时间
  2. private List<String> coustomerList;// 客户
  3. private List<String> carrierList;// 承运商
  4. private List<String> waybillStatusList;// 运单状态
  5. private List<String> costStatusList;// 费用状态
  6. private String waybillNo;// 运单号
  7. private String orderNo;// 关联订单号
  8. private PageParamNewVO<Object> pageParamNewVO;// 分页参数

1.3 AgentProfitPageVO

属性对应数据库表中的每一个字段

1.3 AgentProfitPagePO

属性对应数据库表中的每一个字段

2、接口文档设计

2.1 代理盈利分页查询

URL:

agentProfit/agentPage

请求参数:

  1. {
  2. // 创建时间
  3. "createdTimeList": [
  4. "2022-03-16T15:44:32.071Z"
  5. ],
  6. // 客户
  7. "coustomerList": [
  8. "String"
  9. ],
  10. // 承运商
  11. "carrierList":[
  12. "String"
  13. ],
  14. // 运单状态
  15. "waybillStatusList":[
  16. "String"
  17. ],
  18. // 费用状态
  19. "costStatusList":[
  20. "String"
  21. ],
  22. // 运单号
  23. "waybillNo":"String",
  24. // 关联订单号
  25. "orderNo":"String",
  26. // 分页
  27. "pageParamNewVO": {
  28. "curPage": 0,
  29. "data": [
  30. {}
  31. ],
  32. "otherObject": {},
  33. "pageSize": 0,
  34. "sortDir": "string",
  35. "sortIndx": "string",
  36. "totalRecords": 0
  37. }
  38. }

请求响应:

  1. {
  2. "code": 1,
  3. "message": "操作成功",
  4. "result": {
  5. "curPage": 1,
  6. "data":[
  7. {
  8. "createdUserId":Integer,// 创建人
  9. "createdTime":"2022-03-17 14:50:08",// 创建时间/生成时间
  10. "modifiedUserId":Integer,// 修改人
  11. "modifiedTime":"2022-03-17 14:50:08",// 修改时间
  12. "waybillNo":String,// 运单单号
  13. "orderNo":String,// 关联订单单号
  14. "customerName":String,// 客户名称
  15. "payPerson":String,// 结算方
  16. "corpId":Integer,// 公司id
  17. "valid":1,// 是否可用
  18. "id":String,// 主键递增
  19. "ticketPerson":String,// 开票方
  20. "carrier":StringString,// 承运商
  21. "costStatus":
  22. {
  23. id:"1",
  24. name:"已提交财务系统"
  25. },
  26. ,// 费用状态 1 表示已提交财务系统 2 表示未提交财务系统
  27. "waybillStatus":
  28. {// 1 -->待派车 2 -->待运输 3 -->运输中 4 -->待签收 5 -->回单待审核
  29. // 6 -->账单待生成 7 -->已完成 8 -->异常完成 9 -->已拒签
  30. id:"1",
  31. name:"待派车"
  32. },// 运单状态
  33. "grossMargin":Decimal,// 毛利
  34. "receiveFreight":Decimal,// 应收运费
  35. "receivePremium":Decimal,// 应收保险费
  36. "receiveExtrudeFee":Decimal,// 应收压车费
  37. "receiveLoaderFee":Decimal,// 应收装卸费
  38. "receiveDamageFee":Decimal,// 应收货损费
  39. "receiveOverloadFee":Decimal,// 应收超重费
  40. "receiveExcreteFee":Decimal,// 应收拆单费
  41. "receiveMessageFee":Decimal,// 应收信息费
  42. "receiveExpressFee":Decimal,// 应收快递费
  43. "receiveDeliveryFee":Decimal,// 应收提货送货费
  44. "receivePoundFee":Decimal,// 应收磅费
  45. "receiveReceiptFee":Decimal,// 应收办单费
  46. "receiveDebitFee":Decimal,// 应收违约金
  47. "receiveRecycleFee":Decimal,// 应收货损品回收费
  48. "receiveTallyFee":Decimal,// 应收现场理货费
  49. "receiveRunFee":Decimal,// 应收跑空费
  50. "receiveMaterialHandlingFee":Decimal,// 应收装卸材料费
  51. "receiveFallFee":Decimal,// 应收倒运费
  52. "receiveReinforceFee":Decimal,// 应收加固费
  53. "payWaybillFee":Decimal,// 应付运费
  54. "payWaaybillAccount":String,// 应付运费费结算对象
  55. "payPremiumFee":Decimal,// 应付保险费
  56. "payPremiumAccount":String,// 应付保险费结算对象
  57. "payServiceFee":Decimal,// 应付业务开发费
  58. "payServiceAccount":String,// 应付业务开发费结算对象
  59. "payCareFee":Decimal,// 应付关爱基金
  60. "payCareAccount":String,// 应付关爱基金结算对象
  61. "payOperationFee":Decimal,// 应付操作费
  62. "payOpertionAccount":String,// 应付操作费结算对象
  63. "payTallyingFee":Decimal,// 应付理货基金
  64. "payTallyingAccount":String,// 应付理货基金结算对象
  65. "payLoaderFee":Decimal,// 应付装卸费
  66. "payLoaderAccount":String,// 应付装卸费结算对象
  67. "payDamageFee":Decimal,// 应付货损费
  68. "payDamageAccount":String,// 应付货损费结算对象
  69. "payOverloadFee":Decimal,// 应付超重费
  70. "payOverloadAccount":String,// 应付超重费结算对象
  71. "payExcreteFee":Decimal,// 应付拆单费
  72. "payExcreteAccount":String,// 应付拆单费结算对象
  73. "payExtrudeFee":Decimal,// 应付压车费
  74. "payExtrudeAccount":String,// 应付压车费结算对象
  75. "payMessageFee":Decimal,// 应付信息费
  76. "payMessageAccount":String,// 应付信息费结算对象
  77. "payExpressFee":Decimal,// 应付快递费
  78. "payExpressAccount":String,// 应付快递费结算对象
  79. "payDeliveryFee":Decimal,// 应付提货送货费
  80. "payDeliveryAccount":String,// 应付提货送货结算对象
  81. "payPoundFee":Decimal,// 应付磅费
  82. "payPoundAccount":String,// 应付磅费结算对象
  83. "payStoreFee":Decimal,// 应付仓库接洽费
  84. "payStoreAccount":String,// 应付仓库接洽费结算对象
  85. "payReceiptFee":Decimal,// 应付办单费
  86. "payReceiptAccount":String,// 应付办单费结算对象
  87. "payDebitFee":Decimal,// 应付违约金
  88. "payDebitAccount":String,// 应付违约金结算对象
  89. "payAmendmentFee":Decimal,// 应付改单费
  90. "payAmendmentAccount":String,// 应付改单费结算对象
  91. "payReceptionFee":Decimal,// 应付业务接待费
  92. "payReceptionAccount":String,// 应付业务接待费结算对象
  93. "payTallyFee":Decimal,// 应付现场理货费
  94. "payTallyAccount":String,// 应付现场理货费结算对象
  95. "payRunFee":Decimal,// 应付跑空费
  96. "payRunAccount":String,// 应付跑空费结算对象
  97. "payMaterialHandlingFee":Decimal,// 应付装卸材料费
  98. "payMaterialHandlingAccount":String,// 应付装卸材料费结算对象
  99. "payFallFee":Decimal,// 应付倒运费
  100. "payFallAccount":String,// 应付倒运费结算对象
  101. "payAdjustmentFee":Decimal,// 应付小额调整
  102. "payAdjustmentAccount":String,// 应付小额调整结算对象
  103. "payRailwayFee":Decimal,// 应付铁路运费
  104. "payRailwayAccount":String,// 应付铁路运费结算对象
  105. "payGateFee":Decimal,// 应付入闸费
  106. "payGateAccount":String,// 应付入闸费结算对象
  107. "payStandbyFee":Decimal,// 应付客户备用金
  108. "payStandbyAccount":String,// 应付客户备用金结算对象
  109. "payTrailerFee":Decimal,// 应付起运港拖车费
  110. "payTrailerAccount":String,// 应付起运港拖车费结算对象
  111. "payRecycleFee":Decimal,// 应付货损品回收费
  112. "payRecycleAccount":String,// 应付货损品回收费结算对象
  113. "payReinforceFee":Decimal,// 应付加固费
  114. "payReinforceFeeAccount":String// 应付加固费结算对象
  115. },
  116. {
  117. ...
  118. }
  119. ]
  120. }
  121. }

2.2 上报应收/应付接口

描述:根据主键ID查询一个对象

URL:

agentProfit/reported?id=xxx&type=1

请求方式:get

请求参数

  1. id:表示代理服务盈利表的id
  2. type : 1 ---> 表示上报应收 2 ---> 表示上报应付

请求响应

  1. {
  2. "code":1
  3. "message":"操作成功"
  4. "result":{
  5. "id":Integer,//标识
  6. "waybillNo":"T20181022IPGM0033",// 运单号
  7. "orderNo":"W20181022IPGM0033",// 订单号
  8. "customerName":"泰晟新材料科技有限公司",// 客户
  9. "mateList":[// 匹配费目项
  10. {
  11. "id":Integer,// 匹配费用项的标识
  12. "feeName":"压车费",// 匹配费用项的名字
  13. "feePrice":1234.998,// 费用项的价格
  14. "account":null,// 结算对象 如果是type 1 ,则结算对象为空,如果是 2 ,则展示
  15. },
  16. {
  17. ...
  18. }
  19. ],
  20. "receiveFeeList":[
  21. {// 人工费用项
  22. "id":Integer,// 匹配费用项的标识
  23. "feeName":"装卸费",// 匹配费用项的名字
  24. "feePrice":1234.998,// 费用项的价格
  25. "account":"哈哈哈哈",// 结算对象 如果是type 1 ,则结算对象为空,如果是 2 ,则展示
  26. },
  27. {
  28. ...
  29. }
  30. ]
  31. }
  32. }

2.3 应收/应付费目项下拉框接口

URL:

agentProfit/getFeeItem

请求方式:

get

请求参数:

请求响应

  1. {
  2. "code":
  3. "message":
  4. "result":{
  5. "receiveFeeEnum":[// 应报费目项
  6. {
  7. "id":1,// 标识
  8. "feeName":"运费",// 费目项名称
  9. "feePrice":568.899,// 费目项所对应的费用
  10. "filedName":"receiveFreight",// 费目项所对应的数据库表中的字段名
  11. "feeType":1// 费目项类型 1---> 表示匹配费目项 2---> 表示人工上报费目项
  12. },
  13. {
  14. "id":Integer,
  15. "feeName":"保险费",
  16. "feePrice":Deciml,
  17. "filedName":"receivePremium",
  18. "feeType":1
  19. },
  20. {
  21. "id":Integer,
  22. "feeName":"压车费",
  23. "feePrice":1234.988,
  24. "filedName":"receiveExtrudeFee",
  25. "feeType":2
  26. },
  27. {
  28. "id":Integer,
  29. "feeName":"装卸费",
  30. "feePrice":Deciml,
  31. "filedName":"receiveLoaderFee",
  32. "feeType":2
  33. },
  34. {
  35. "id":Integer,
  36. "feeName":"货损费",
  37. "feePrice":Deciml,
  38. "filedName":"receiveDamageFee",
  39. "feeType":2
  40. },
  41. {
  42. "id":Integer,
  43. "feeName":"超重费",
  44. "feePrice":Deciml,
  45. "filedName":"receiveOverloadFee",
  46. "feeType":2
  47. },
  48. {
  49. "id":Integer,
  50. "feeName":"拆单费",
  51. "feePrice":Deciml,
  52. "filedName":"receiveExcreteFee",
  53. "feeType":2
  54. },
  55. {
  56. "id":Integer,
  57. "feeName":"信息费",
  58. "feePrice":Deciml,
  59. "filedName":"receiveMessageFee",
  60. "feeType":2
  61. },
  62. {
  63. "id":Integer,
  64. "feeName":"快递费",
  65. "feePrice":Deciml,
  66. "filedName":"receiveExpressFee",
  67. "feeType":2
  68. },
  69. {
  70. "id":Integer,
  71. "feeName":"提货送货费",
  72. "feePrice":Deciml,
  73. "filedName":"receiveDeliveryFee",
  74. "feeType":2
  75. },
  76. {
  77. "id":Integer,
  78. "feeName":"磅费",
  79. "feePrice":Deciml,
  80. "filedName":"receivePoundFee",
  81. "feeType":2
  82. },
  83. {
  84. "id":Integer,
  85. "feeName":"办单费",
  86. "feePrice":Deciml,
  87. "filedName":"receiveReceiptFee",
  88. "feeType":2
  89. },
  90. {
  91. "id":Integer,
  92. "feeName":"违约金",
  93. "feePrice":Deciml,
  94. "filedName":"receiveDebitFee",
  95. "feeType":2
  96. },
  97. {
  98. "id":Integer,
  99. "feeName":"货损品回收费",
  100. "feePrice":Deciml,
  101. "filedName":"handleRecycleAccount",
  102. "feeType":2
  103. },
  104. {
  105. "id":Integer,
  106. "feeName":"现场理货费",
  107. "feePrice":Deciml,
  108. "filedName":"receiveTallyFee",
  109. "feeType":2
  110. },
  111. {
  112. "id":Integer,
  113. "feeName":"跑空费",
  114. "feePrice":Deciml,
  115. "filedName":"receiveRunFee",
  116. "feeType":2
  117. },
  118. {
  119. "id":Integer,
  120. "feeName":"装卸材料费",
  121. "feePrice":Deciml,
  122. "filedName":"receiveMaterialHandlingFee",
  123. "feeType":2
  124. },
  125. {
  126. "id":Integer,
  127. "feeName":"到运费",
  128. "feePrice":Deciml,
  129. "filedName":"receiveFallFee",
  130. "feeType":2
  131. },
  132. {
  133. "id":Integer,
  134. "feeName":"加固费",
  135. "feePrice":Deciml,
  136. "filedName":"receiveReinforceFee",
  137. "feeType":2
  138. }
  139. ],
  140. "payFeeEnum":[// 应付费目项
  141. {
  142. "id":Integer,// 标识
  143. "feeName":"运费",// 费目项名称
  144. "feePrice":Deciml,// 费目项所对应的费用
  145. "filedName":"payWaybillFee",// 费目项所对应的数据库表中的字段名
  146. "accountName":"运费结算对象",// 结算对象名
  147. "accountFiledName":"payWaybillAccount",
  148. "feeType":1// 费目项类型 1---> 表示匹配费目项 2---> 表示人工上报费目项
  149. },
  150. {
  151. "id":Integer,
  152. "feeName":"保险费",
  153. "feePrice":Deciml,
  154. "filedName":"payPremiumFee",
  155. "accountName":"保险费结算对象",// 结算对象名
  156. "accountFiledName":"payPremiumAccount",
  157. "feeType":1
  158. },
  159. {
  160. "id":Integer,
  161. "feeName":"业务开发费",
  162. "feePrice":Deciml,
  163. "filedName":"payServiceFee",
  164. "accountName":"业务开发费结算对象",// 结算对象名
  165. "accountFiledName":"payServiceAccount",
  166. "feeType":1
  167. },
  168. {
  169. "id":Integer,
  170. "feeName":"关爱基金",
  171. "feePrice":Deciml,
  172. "filedName":"payCareFee",
  173. "accountName":"关爱基金结算对象",// 结算对象名
  174. "accountFiledName":"payCareAccount",
  175. "feeType":1
  176. },
  177. {
  178. "id":Integer,
  179. "feeName":"操作费",
  180. "feePrice":Deciml,
  181. "filedName":"payOperationFee",
  182. "accountName":"操作费结算对象",// 结算对象名
  183. "accountFiledName":"payOpertionAccount",
  184. "feeType":1
  185. },
  186. {
  187. "id":Integer,
  188. "feeName":"理会基金",
  189. "feePrice":Deciml,
  190. "filedName":"payTallyingFounds",
  191. "accountName":"货损费结算对象",// 结算对象名
  192. "accountFiledName":"payTallyingAccount",
  193. "feeType":1
  194. },
  195. {
  196. "id":Integer,// 标识
  197. "feeName":"装卸费",// 费目项名称
  198. "feePrice":Deciml,// 费目项所对应的费用
  199. "filedName":"payLoaderFee",// 费目项所对应的数据库表中的字段名
  200. "accountName":"装卸费结算对象",// 结算对象名
  201. "accountFiledName":"payLoaderAccount",
  202. "feeType":2// 费目项类型 1---> 表示匹配费目项 2---> 表示人工上报费目项
  203. },
  204. {
  205. "id":Integer,
  206. "feeName":"货损费",
  207. "feePrice":Deciml,
  208. "filedName":"payDamageFee",
  209. "accountName":"货损费结算对象",// 结算对象名
  210. "accountFiledName":"payDamageAccount",
  211. "feeType":2
  212. },
  213. {
  214. "id":Integer,
  215. "feeName":"超重费",
  216. "feePrice":Deciml,
  217. "filedName":"payOverloadFee",
  218. "accountName":"超重费结算对象",// 结算对象名
  219. "accountFiledName":"payOverloadAccount",
  220. "feeType":2
  221. },
  222. {
  223. "id":Integer,
  224. "feeName":"拆单费",
  225. "feePrice":Deciml,
  226. "filedName":"payExcreteFee",
  227. "accountName":"拆单费结算对象",// 结算对象名
  228. "accountFiledName":"payExcreteAccount",
  229. "feeType":2
  230. },
  231. {
  232. "id":Integer,
  233. "feeName":"压车费",
  234. "feePrice":Deciml,
  235. "filedName":"payExtrudeFee",
  236. "accountName":"压车费结算对象",// 结算对象名
  237. "accountFiledName":"payExtrudeAccount",
  238. "feeType":2
  239. },
  240. {
  241. "id":Integer,
  242. "feeName":"信息费",
  243. "feePrice":Deciml,
  244. "filedName":"payMessageFee",
  245. "accountName":"信息费结算对象",// 结算对象名
  246. "accountFiledName":"payMessageAccount",
  247. "feeType":2
  248. },
  249. {
  250. "id":Integer,
  251. "feeName":"快递费",
  252. "feePrice":Deciml,
  253. "filedName":"payExpressFee",
  254. "accountName":"快递费结算对象",// 结算对象名
  255. "accountFiledName":"payExpressAccount",
  256. "feeType":2
  257. },
  258. {
  259. "id":Integer,
  260. "feeName":"提货送货费",
  261. "feePrice":Deciml,
  262. "filedName":"payDeliveryFee",
  263. "accountName":"提货送货费结算对象",// 结算对象名
  264. "accountFiledName":"payDeliveryAccount",
  265. "feeType":2
  266. },
  267. {
  268. "id":Integer,
  269. "feeName":"磅费",
  270. "feePrice":Deciml,
  271. "filedName":"payPoundFee",
  272. "accountName":"磅费结算对象",// 结算对象名
  273. "accountFiledName":"payPoundAccount",
  274. "feeType":2
  275. },
  276. {
  277. "id":Integer,
  278. "feeName":"仓库接洽费",
  279. "feePrice":Deciml,
  280. "filedName":"payStoreFee",
  281. "accountName":"仓库接洽费结算对象",// 结算对象名
  282. "accountFiledName":"payStoreAccount",
  283. "feeType":2
  284. },
  285. {
  286. "id":Integer,
  287. "feeName":"办单费",
  288. "feePrice":Deciml,
  289. "filedName":"payReceiptFee",
  290. "accountName":"办单费结算对象",// 结算对象名
  291. "accountFiledName":"payReceiptAccount",
  292. "feeType":2
  293. },
  294. {
  295. "id":Integer,
  296. "feeName":"违约金",
  297. "feePrice":Deciml,
  298. "filedName":"payDebitFee",
  299. "accountName":"违约金结算对象",// 结算对象名
  300. "accountFiledName":"payDebitAccount",
  301. "feeType":2
  302. },
  303. {
  304. "id":Integer,
  305. "feeName":"改单费",
  306. "feePrice":Deciml,
  307. "filedName":"payAmendmentFee",
  308. "accountName":"改单费结算对象",// 结算对象名
  309. "accountFiledName":"payAmendmentAccount",
  310. "feeType":2
  311. },
  312. {
  313. "id":Integer,
  314. "feeName":"业务接待费",
  315. "feePrice":Deciml,
  316. "filedName":"payReceptionFee",
  317. "accountName":"业务接待费结算对象",// 结算对象名
  318. "accountFiledName":"payReceptionAccount",
  319. "feeType":2
  320. },
  321. {
  322. "id":Integer,
  323. "feeName":"现场理货费",
  324. "feePrice":Deciml,
  325. "filedName":"payTallyFee",
  326. "accountName":"现场理货费结算中心",// 结算对象名
  327. "accountFiledName":"payTallyAccount",
  328. "feeType":2
  329. },
  330. {
  331. "id":Integer,
  332. "feeName":"跑空费",
  333. "feePrice":Deciml,
  334. "filedName":"payRunFee",
  335. "accountName":"跑空费结算对象",// 结算对象名
  336. "accountFiledName":"payRunAccount",
  337. "feeType":2
  338. },
  339. {
  340. "id":Integer,
  341. "feeName":"装卸材料费",
  342. "feePrice":Deciml,
  343. "filedName":"payMaterialHandlingFee",
  344. "accountName":"装卸材料费结算对象",// 结算对象名
  345. "accountFiledName":"payMaterialHandlingAccount",
  346. "feeType":2
  347. },
  348. {
  349. "id":Integer,
  350. "feeName":"倒运费",
  351. "feePrice":Deciml,
  352. "filedName":"payFallFee",
  353. "accountName":"倒到运费结算对象",// 结算对象名
  354. "accountFiledName":"payFallAccount",
  355. "feeType":2
  356. },
  357. {
  358. "id":Integer,
  359. "feeName":"小额调整",
  360. "feePrice":Deciml,
  361. "filedName":"payAdjustmentFee",
  362. "accountName":"小额调整结算对象",// 结算对象名
  363. "accountFiledName":"payAdjustmentAccount",
  364. "feeType":2
  365. },
  366. {
  367. "id":Integer,
  368. "feeName":"铁路运费",
  369. "feePrice":Deciml,
  370. "filedName":"payRailwayFee",
  371. "accountName":"铁路运费结算对象",// 结算对象名
  372. "accountFiledName":"payRailwayAccount",
  373. "feeType":2
  374. },
  375. {
  376. "id":Integer,
  377. "feeName":"入闸费",
  378. "feePrice":Deciml,
  379. "filedName":"payGateFee",
  380. "accountName":"入闸费结算对象",// 结算对象名
  381. "accountFiledName":"payGateAccount",
  382. "feeType":2
  383. },
  384. {
  385. "id":Integer,
  386. "feeName":"客户备用金",
  387. "feePrice":Deciml,
  388. "filedName":"payStandbyFee",
  389. "accountName":"客户备用金结算对象",// 结算对象名
  390. "accountFiledName":"payStandbyAccount",
  391. "feeType":2
  392. },
  393. {
  394. "id":Integer,
  395. "feeName":"起运港拖车费",
  396. "feePrice":Deciml,
  397. "filedName":"payTrailerFee",
  398. "accountName":"起运港拖车费结算对象",// 结算对象名
  399. "accountFiledName":"payTrailerAccount",
  400. "feeType":2
  401. },
  402. {
  403. "id":Integer,
  404. "feeName":"货损品回收费",
  405. "feePrice":Deciml,
  406. "filedName":"payRecycleFee",
  407. "accountName":"货损品回收费结算对象",// 结算对象名
  408. "accountFiledName":"payRecycleAccount",
  409. "feeType":2
  410. },
  411. {
  412. "id":Integer,
  413. "feeName":"加固费",
  414. "feePrice":Deciml,
  415. "filedName":"payReinforceFee",
  416. "accountName":"加固费结算对象",// 结算对象名
  417. "accountFiledName":"payReinforceFee",
  418. "feeType":2
  419. }{
  420. "id":Integer,// 标识
  421. "feeName":"运费",// 费目项名称
  422. "feePrice":Deciml,// 费目项所对应的费用
  423. "filedName":"",// 费目项所对应的数据库表中的字段名
  424. "accountName":"货损费结算对象",// 结算对象名
  425. "feeType":1// 费目项类型 1---> 表示匹配费目项 2---> 表示人工上报费目项
  426. },
  427. {
  428. "id":Integer,
  429. "feeName":"保险费",
  430. "feePrice":Deciml,
  431. "filedName":"",
  432. "accountName":"货损费结算对象",// 结算对象名
  433. "feeType":1
  434. },
  435. {
  436. "id":Integer,
  437. "feeName":"业务开发费",
  438. "feePrice":Deciml,
  439. "filedName":"",
  440. "accountName":"货损费结算对象",// 结算对象名
  441. "feeType":1
  442. },
  443. {
  444. "id":Integer,
  445. "feeName":"关爱基金",
  446. "feePrice":Deciml,
  447. "filedName":"",
  448. "accountName":"货损费结算对象",// 结算对象名
  449. "feeType":1
  450. },
  451. {
  452. "id":Integer,
  453. "feeName":"操作费",
  454. "feePrice":Deciml,
  455. "filedName":"",
  456. "accountName":"货损费结算对象",// 结算对象名
  457. "feeType":1
  458. },
  459. {
  460. "id":Integer,
  461. "feeName":"理会基金",
  462. "feePrice":Deciml,
  463. "filedName":"",
  464. "accountName":"货损费结算对象",// 结算对象名
  465. "feeType":1
  466. },
  467. {
  468. "id":Integer,// 标识
  469. "feeName":"装卸费",// 费目项名称
  470. "feePrice":Deciml,// 费目项所对应的费用
  471. "filedName":"",// 费目项所对应的数据库表中的字段名
  472. "accountName":"装卸费结算对象",// 结算对象名
  473. "feeType":2// 费目项类型 1---> 表示匹配费目项 2---> 表示人工上报费目项
  474. },
  475. {
  476. "id":Integer,
  477. "feeName":"货损费",
  478. "feePrice":Deciml,
  479. "filedName":"",
  480. "accountName":"货损费结算对象",// 结算对象名
  481. "feeType":2
  482. },
  483. {
  484. "id":Integer,
  485. "feeName":"超重费",
  486. "feePrice":Deciml,
  487. "filedName":"",
  488. "accountName":"超重费结算对象",// 结算对象名
  489. "feeType":2
  490. },
  491. {
  492. "id":Integer,
  493. "feeName":"拆单费",
  494. "feePrice":Deciml,
  495. "filedName":"",
  496. "accountName":"拆单费结算对象",// 结算对象名
  497. "feeType":2
  498. },
  499. {
  500. "id":Integer,
  501. "feeName":"压车费",
  502. "feePrice":Deciml,
  503. "filedName":"",
  504. "accountName":"压车费结算对象",// 结算对象名
  505. "feeType":2
  506. },
  507. {
  508. "id":Integer,
  509. "feeName":"信息费",
  510. "feePrice":Deciml,
  511. "filedName":"",
  512. "accountName":"信息费结算对象",// 结算对象名
  513. "feeType":2
  514. },
  515. {
  516. "id":Integer,
  517. "feeName":"快递费",
  518. "feePrice":Deciml,
  519. "filedName":"",
  520. "accountName":"快递费结算对象",// 结算对象名
  521. "feeType":2
  522. },
  523. {
  524. "id":Integer,
  525. "feeName":"提货送货费",
  526. "feePrice":Deciml,
  527. "filedName":"",
  528. "accountName":"提货送货费结算对象",// 结算对象名
  529. "feeType":2
  530. },
  531. {
  532. "id":Integer,
  533. "feeName":"磅费",
  534. "feePrice":Deciml,
  535. "filedName":"",
  536. "accountName":"磅费结算对象",// 结算对象名
  537. "feeType":2
  538. },
  539. {
  540. "id":Integer,
  541. "feeName":"仓库接洽费",
  542. "feePrice":Deciml,
  543. "filedName":"",
  544. "accountName":"仓库接洽费结算对象",// 结算对象名
  545. "feeType":2
  546. },
  547. {
  548. "id":Integer,
  549. "feeName":"办单费",
  550. "feePrice":Deciml,
  551. "filedName":"",
  552. "accountName":"办单费结算对象",// 结算对象名
  553. "feeType":2
  554. },
  555. {
  556. "id":Integer,
  557. "feeName":"违约金",
  558. "feePrice":Deciml,
  559. "filedName":"",
  560. "accountName":"违约金结算对象",// 结算对象名
  561. "feeType":2
  562. },
  563. {
  564. "id":Integer,
  565. "feeName":"改单费",
  566. "feePrice":Deciml,
  567. "filedName":"",
  568. "accountName":"改单费结算对象",// 结算对象名
  569. "feeType":2
  570. },
  571. {
  572. "id":Integer,
  573. "feeName":"货损品回收费",
  574. "feePrice":Deciml,
  575. "filedName":"",
  576. "accountName":"货损品回收费结算对象",// 结算对象名
  577. "feeType":2
  578. },
  579. {
  580. "id":Integer,
  581. "feeName":"业务接待费",
  582. "feePrice":Deciml,
  583. "filedName":"",
  584. "accountName":"业务接待费结算对象",// 结算对象名
  585. "feeType":2
  586. },
  587. {
  588. "id":Integer,
  589. "feeName":"现场理货费",
  590. "feePrice":Deciml,
  591. "filedName":"",
  592. "accountName":"现场理货费结算中心",// 结算对象名
  593. "feeType":2
  594. },
  595. {
  596. "id":Integer,
  597. "feeName":"跑空费",
  598. "feePrice":Deciml,
  599. "filedName":"",
  600. "accountName":"跑空费结算对象",// 结算对象名
  601. "feeType":2
  602. },
  603. {
  604. "id":Integer,
  605. "feeName":"装卸材料费",
  606. "feePrice":Deciml,
  607. "filedName":"",
  608. "accountName":"装卸材料费结算对象",// 结算对象名
  609. "feeType":2
  610. },
  611. {
  612. "id":Integer,
  613. "feeName":"到运费",
  614. "feePrice":Deciml,
  615. "filedName":"",
  616. "accountName":"到运费结算对象",// 结算对象名
  617. "feeType":2
  618. },
  619. {
  620. "id":Integer,
  621. "feeName":"小额调整",
  622. "feePrice":Deciml,
  623. "filedName":"",
  624. "accountName":"小额调整结算对象",// 结算对象名
  625. "feeType":2
  626. },
  627. {
  628. "id":Integer,
  629. "feeName":"铁路运费",
  630. "feePrice":Deciml,
  631. "filedName":"",
  632. "accountName":"铁路运费结算对象",// 结算对象名
  633. "feeType":2
  634. },
  635. {
  636. "id":Integer,
  637. "feeName":"入闸费",
  638. "feePrice":Deciml,
  639. "filedName":"",
  640. "accountName":"入闸费结算对象",// 结算对象名
  641. "feeType":2
  642. },
  643. {
  644. "id":Integer,
  645. "feeName":"客户备用金",
  646. "feePrice":Deciml,
  647. "filedName":"",
  648. "accountName":"客户备用金结算对象",// 结算对象名
  649. "feeType":2
  650. },
  651. {
  652. "id":Integer,
  653. "feeName":"起运港拖车费",
  654. "feePrice":Deciml,
  655. "filedName":"",
  656. "accountName":"起运港拖车费结算对象",// 结算对象名
  657. "feeType":2
  658. },
  659. {
  660. "id":Integer,
  661. "feeName":"加固费",
  662. "feePrice":Deciml,
  663. "filedName":"",
  664. "accountName":"加固费结算对象",// 结算对象名
  665. "feeType":2
  666. }
  667. ]
  668. }
  669. }

2.4 添加接口(确定)

URL:

agentProfit/save

请求方式:

post

请求参数:

  1. {
  2. "id":Integer,//标识
  3. "waybillNo":"T20181022IPGM0033",// 运单号
  4. "orderNo":"W20181022IPGM0033",// 订单号
  5. "customerName":"泰晟新材料科技有限公司",// 客户
  6. "mateFeeList":[// 匹配费目项
  7. {
  8. "id":Integer,// 匹配费用项的标识
  9. "feeName":String,// 匹配费用项的名字
  10. "feePrice":Decimal,// 费用项的价格
  11. "account":null,// 结算对象 如果是type 1 ,则结算对象为空,如果是 2 ,则不会空
  12. },
  13. ] ,
  14. "receiveFeeList":[
  15. {// 人工费用项
  16. "id":Integer,// 匹配费用项的标识
  17. "feeName":String,// 匹配费用项的名字
  18. "feePrice":Decimal,// 费用项的价格
  19. "account":String,// 结算对象 如果是type 1 ,则结算对象为空,如果是 2 ,则展示
  20. }
  21. ],
  22. "deleteReceiveFeeList":[// 需要删除的费目项
  23. {
  24. "id":Integer,// 人工费用项的标识
  25. "feeName":String,// 人工费用项的名字
  26. "feePrice":Decimal,// 人工费用项的价格
  27. "account":String,// 结算对象 如果是type 1 ,则结算对象为空,如果是 2 ,则展示
  28. }
  29. ]
  30. }

请求响应

  1. {
  2. "code": 1,
  3. "message": "操作成功",
  4. "result": {}
  5. }