demand: tms-统计报表-月结客户出货统计-按目的国家统计
committer: heyu
This commit is contained in:
parent
e330d16f2f
commit
267eaceb49
@ -26,74 +26,92 @@ public class MonthlyCustomerShipmentStatVO implements Serializable {
|
|||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/* 客户名称 */
|
/* 客户名称 */
|
||||||
@Excel(name = "客户名称")
|
|
||||||
private String customerName;
|
private String customerName;
|
||||||
|
|
||||||
/* 客户编号 */
|
/* 客户编号 */
|
||||||
private String customerCode;
|
private String customerCode;
|
||||||
|
|
||||||
/* 月结卡号 */
|
/* 月结卡号 */
|
||||||
@Excel(name = "月结卡号")
|
|
||||||
private String custNo;
|
private String custNo;
|
||||||
|
|
||||||
/* 总票数 */
|
/* 总票数 */
|
||||||
@Excel(name = "总票数")
|
|
||||||
private Integer totalTickets;
|
private Integer totalTickets;
|
||||||
|
|
||||||
/* 总重量 */
|
/* 总重量 */
|
||||||
@Excel(name = "总重量")
|
|
||||||
private BigDecimal totalWeight;
|
private BigDecimal totalWeight;
|
||||||
|
|
||||||
/* 销售联系人(多个用/分隔) */
|
/* 销售联系人(多个用/分隔) */
|
||||||
@Excel(name = "销售联系人")
|
|
||||||
private String salesmen;
|
private String salesmen;
|
||||||
|
|
||||||
/* 快递票数 */
|
/* 快递票数 */
|
||||||
@Excel(name = "快递票数")
|
|
||||||
private Integer expressTickets;
|
private Integer expressTickets;
|
||||||
|
|
||||||
/* 快递实际重量 */
|
/* 快递实际重量 */
|
||||||
@Excel(name = "快递实际重量")
|
|
||||||
private BigDecimal expressWeight;
|
private BigDecimal expressWeight;
|
||||||
|
|
||||||
/* 空运票数 */
|
/* 空运票数 */
|
||||||
@Excel(name = "空运票数")
|
|
||||||
private Integer airTickets;
|
private Integer airTickets;
|
||||||
|
|
||||||
/* 空运实际重量 */
|
/* 空运实际重量 */
|
||||||
@Excel(name = "空运实际重量")
|
|
||||||
private BigDecimal airWeight;
|
private BigDecimal airWeight;
|
||||||
|
|
||||||
/* 陆运票数 */
|
/* 陆运票数 */
|
||||||
@Excel(name = "陆运票数")
|
|
||||||
private Integer landTickets;
|
private Integer landTickets;
|
||||||
|
|
||||||
/* 陆运实际重量 */
|
/* 陆运实际重量 */
|
||||||
@Excel(name = "陆运实际重量")
|
|
||||||
private BigDecimal landWeight;
|
private BigDecimal landWeight;
|
||||||
|
|
||||||
/* 海运票数 */
|
/* 海运票数 */
|
||||||
@Excel(name = "海运票数")
|
|
||||||
private Integer seaTickets;
|
private Integer seaTickets;
|
||||||
|
|
||||||
/* 海运实际重量 */
|
/* 海运实际重量 */
|
||||||
@Excel(name = "海运实际重量")
|
|
||||||
private BigDecimal seaWeight;
|
private BigDecimal seaWeight;
|
||||||
|
|
||||||
/* 进口票数 */
|
/* 进口票数 */
|
||||||
@Excel(name = "进口票数")
|
|
||||||
private Integer importTickets;
|
private Integer importTickets;
|
||||||
|
|
||||||
/* 进口实际重量 */
|
/* 进口实际重量 */
|
||||||
@Excel(name = "进口实际重量")
|
|
||||||
private BigDecimal importWeight;
|
private BigDecimal importWeight;
|
||||||
|
|
||||||
/* 其他票数 */
|
/* 其他票数 */
|
||||||
@Excel(name = "其他票数")
|
|
||||||
private Integer otherTickets;
|
private Integer otherTickets;
|
||||||
|
|
||||||
/* 其他实际重量 */
|
/* 其他实际重量 */
|
||||||
@Excel(name = "其他实际重量")
|
|
||||||
private BigDecimal otherWeight;
|
private BigDecimal otherWeight;
|
||||||
|
|
||||||
|
/* 中国票数 */
|
||||||
|
private Integer chinaTickets;
|
||||||
|
/* 中国实际重量 */
|
||||||
|
private BigDecimal chinaWeight;
|
||||||
|
|
||||||
|
/* 越南票数 */
|
||||||
|
private Integer vietnamTickets;
|
||||||
|
/* 越南实际重量 */
|
||||||
|
private BigDecimal vietnamWeight;
|
||||||
|
|
||||||
|
/* 柬埔寨票数 */
|
||||||
|
private Integer cambodiaTickets;
|
||||||
|
/* 柬埔寨实际重量 */
|
||||||
|
private BigDecimal cambodiaWeight;
|
||||||
|
|
||||||
|
/* 缅甸票数 */
|
||||||
|
private Integer myanmarTickets;
|
||||||
|
/* 缅甸实际重量 */
|
||||||
|
private BigDecimal myanmarWeight;
|
||||||
|
|
||||||
|
/* 孟加拉票数 */
|
||||||
|
private Integer bangladeshTickets;
|
||||||
|
/* 孟加拉实际重量 */
|
||||||
|
private BigDecimal bangladeshWeight;
|
||||||
|
|
||||||
|
/* 老挝票数 */
|
||||||
|
private Integer laosTickets;
|
||||||
|
/* 老挝实际重量 */
|
||||||
|
private BigDecimal laosWeight;
|
||||||
|
|
||||||
|
/* 泰国票数 */
|
||||||
|
private Integer thailandTickets;
|
||||||
|
/* 泰国实际重量 */
|
||||||
|
private BigDecimal thailandWeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -373,6 +373,14 @@ public interface EmisWaybillMapper extends BaseMapper<EmisWaybill>
|
|||||||
*/
|
*/
|
||||||
List<MonthlyCustomerShipmentStatVO> selectMonthlyCustomerShipmentStat(EmisWaybill emisWaybill);
|
List<MonthlyCustomerShipmentStatVO> selectMonthlyCustomerShipmentStat(EmisWaybill emisWaybill);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 按目的国家查询月结客户出货统计
|
||||||
|
*
|
||||||
|
* @param emisWaybill 查询条件
|
||||||
|
* @return 统计结果列表
|
||||||
|
*/
|
||||||
|
List<MonthlyCustomerShipmentStatVO> selectMonthlyCustomerShipmentStatByCountry(EmisWaybill emisWaybill);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询月结客户出货明细
|
* 查询月结客户出货明细
|
||||||
*
|
*
|
||||||
|
|||||||
@ -11,8 +11,6 @@
|
|||||||
package com.xdadan.erp.emis.service.impl;
|
package com.xdadan.erp.emis.service.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
import com.xdadan.erp.common.utils.SecurityUtils;
|
import com.xdadan.erp.common.utils.SecurityUtils;
|
||||||
import com.xdadan.erp.emis.service.EmisBaseService;
|
import com.xdadan.erp.emis.service.EmisBaseService;
|
||||||
@ -162,8 +160,13 @@ public class EmisCustomerUserServiceImpl extends EmisBaseService implements IEmi
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MonthlyCustomerShipmentStatVO> selectMonthlyCustomerShipmentStat(EmisWaybill emisWaybill) {
|
public List<MonthlyCustomerShipmentStatVO> selectMonthlyCustomerShipmentStat(EmisWaybill emisWaybill) {
|
||||||
|
if("1".equals(emisWaybill.getParams().get("statType"))){
|
||||||
|
// 按运输方式统计
|
||||||
return emisWaybillMapper.selectMonthlyCustomerShipmentStat(emisWaybill);
|
return emisWaybillMapper.selectMonthlyCustomerShipmentStat(emisWaybill);
|
||||||
}
|
}
|
||||||
|
// 按目的国家统计
|
||||||
|
return emisWaybillMapper.selectMonthlyCustomerShipmentStatByCountry(emisWaybill);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询月结客户出货明细
|
* 查询月结客户出货明细
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user