Commit ba2e9ce3 authored by jiaorz's avatar jiaorz

车辆服务次数统计

parent 1e40b3a6
package com.xxfc.platform.order.entity;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Table(name = "order_vehicle_service_statistics")
public class OrderVehicleServiceStatistics {
@Id
private Integer id;
@Column(name = "company_id")
private Integer companyId;
/**
* 出车服务次数
*/
@Column(name = "departure_num")
private Integer departureNum;
/**
* 收车服务次数
*/
@Column(name = "arrival_num")
private Integer arrivalNum;
@Column(name = "count_year")
private Integer countYear;
@Column(name = "count_month")
private Integer countMonth;
@Column(name = "count_date")
private Date countDate;
@Column(name = "count_week")
private Integer countWeek;
/**
* 租车使用天数
*/
@Column(name = "rent_num")
private Integer rentNum;
/**
* @return id
*/
public Integer getId() {
return id;
}
/**
* @param id
*/
public void setId(Integer id) {
this.id = id;
}
/**
* @return company_id
*/
public Integer getCompanyId() {
return companyId;
}
/**
* @param companyId
*/
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
/**
* 获取出车服务次数
*
* @return departure_num - 出车服务次数
*/
public Integer getDepartureNum() {
return departureNum;
}
/**
* 设置出车服务次数
*
* @param departureNum 出车服务次数
*/
public void setDepartureNum(Integer departureNum) {
this.departureNum = departureNum;
}
/**
* 获取收车服务次数
*
* @return arrival_num - 收车服务次数
*/
public Integer getArrivalNum() {
return arrivalNum;
}
/**
* 设置收车服务次数
*
* @param arrivalNum 收车服务次数
*/
public void setArrivalNum(Integer arrivalNum) {
this.arrivalNum = arrivalNum;
}
/**
* @return count_year
*/
public Integer getCountYear() {
return countYear;
}
/**
* @param countYear
*/
public void setCountYear(Integer countYear) {
this.countYear = countYear;
}
/**
* @return count_month
*/
public Integer getCountMonth() {
return countMonth;
}
/**
* @param countMonth
*/
public void setCountMonth(Integer countMonth) {
this.countMonth = countMonth;
}
/**
* @return count_date
*/
public Date getCountDate() {
return countDate;
}
/**
* @param countDate
*/
public void setCountDate(Date countDate) {
this.countDate = countDate;
}
/**
* @return count_week
*/
public Integer getCountWeek() {
return countWeek;
}
/**
* @param countWeek
*/
public void setCountWeek(Integer countWeek) {
this.countWeek = countWeek;
}
/**
* 获取租车使用天数
*
* @return rent_num - 租车使用天数
*/
public Integer getRentNum() {
return rentNum;
}
/**
* 设置租车使用天数
*
* @param rentNum 租车使用天数
*/
public void setRentNum(Integer rentNum) {
this.rentNum = rentNum;
}
}
\ No newline at end of file
package com.xxfc.platform.order.biz;
import com.github.wxiaoqi.security.common.biz.BaseBiz;
import com.xxfc.platform.order.entity.OrderVehicleServiceStatistics;
import com.xxfc.platform.order.mapper.OrderVehicleServiceStatisticsMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class OrderVehicleServiceStatisticsBiz extends BaseBiz<OrderVehicleServiceStatisticsMapper, OrderVehicleServiceStatistics> {
@Autowired
BaseOrderBiz baseOrderBiz;
public void getAllOrder() {
}
}
package com.xxfc.platform.order.mapper;
import com.xxfc.platform.order.entity.OrderVehicleServiceStatistics;
import tk.mybatis.mapper.common.Mapper;
public interface OrderVehicleServiceStatisticsMapper extends Mapper<OrderVehicleServiceStatistics> {
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.xxfc.platform.order.mapper.OrderVehicleServiceStatisticsMapper" >
<!--统计车辆服务次数-->
<select id="countVehicleServiceNum">
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment