新增路线、店铺、客户实时状态
parent
5e9e830180
commit
1c0df81dd2
|
|
@ -0,0 +1,65 @@
|
||||||
|
package com.cpxt.biz.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路线状态
|
||||||
|
* @TableName biz_customer_route_state
|
||||||
|
*/
|
||||||
|
@TableName(value ="biz_customer_route_state")
|
||||||
|
@Data
|
||||||
|
public class BizCustomerRouteState implements Serializable {
|
||||||
|
/**
|
||||||
|
* ID
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路线ID
|
||||||
|
*/
|
||||||
|
private Integer routeId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 今日订单数
|
||||||
|
*/
|
||||||
|
private Integer todayOrders;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成订单数
|
||||||
|
*/
|
||||||
|
private Integer finishOrders;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平均配送时长(秒)
|
||||||
|
*/
|
||||||
|
private Integer avgTimes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前订单
|
||||||
|
*/
|
||||||
|
private String currentOrder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前车辆ID
|
||||||
|
*/
|
||||||
|
private Integer currentCarId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前司机ID
|
||||||
|
*/
|
||||||
|
private Integer currentDriverId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前副驾ID
|
||||||
|
*/
|
||||||
|
private Integer currentCopilotId;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.cpxt.biz.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店状态
|
||||||
|
* @TableName biz_customer_shop_state
|
||||||
|
*/
|
||||||
|
@TableName(value ="biz_customer_shop_state")
|
||||||
|
@Data
|
||||||
|
public class BizCustomerShopState implements Serializable {
|
||||||
|
/**
|
||||||
|
* ID
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺ID
|
||||||
|
*/
|
||||||
|
private Integer shopId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否完成
|
||||||
|
*/
|
||||||
|
private Integer isFinish;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平均配送时长(秒)
|
||||||
|
*/
|
||||||
|
private Integer avgTimes;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前订单
|
||||||
|
*/
|
||||||
|
private String currentOrder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前车辆ID
|
||||||
|
*/
|
||||||
|
private Integer currentCarId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前司机ID
|
||||||
|
*/
|
||||||
|
private Integer currentDriverId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前副驾ID
|
||||||
|
*/
|
||||||
|
private Integer currentCopilotId;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,70 @@
|
||||||
|
package com.cpxt.biz.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客户配送状态
|
||||||
|
* @TableName biz_customer_state
|
||||||
|
*/
|
||||||
|
@TableName(value ="biz_customer_state")
|
||||||
|
@Data
|
||||||
|
public class BizCustomerState implements Serializable {
|
||||||
|
/**
|
||||||
|
* ID
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客户ID
|
||||||
|
*/
|
||||||
|
private Integer customerId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路线数
|
||||||
|
*/
|
||||||
|
private Integer routeCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成路线数
|
||||||
|
*/
|
||||||
|
private Integer finishRoute;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店数
|
||||||
|
*/
|
||||||
|
private Integer shopCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成门店数
|
||||||
|
*/
|
||||||
|
private Integer finishShop;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单数
|
||||||
|
*/
|
||||||
|
private Integer orderCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成订单数
|
||||||
|
*/
|
||||||
|
private Integer finishOrder;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 运单数
|
||||||
|
*/
|
||||||
|
private Integer subOrderCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成运单数
|
||||||
|
*/
|
||||||
|
private Integer finishSubOrder;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
package com.cpxt.biz.mapper;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerRouteState;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_route_state(路线状态)】的数据库操作Mapper
|
||||||
|
* @createDate 2025-01-07 10:29:27
|
||||||
|
* @Entity com.cpxt.biz.domain.BizCustomerRouteState
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface BizCustomerRouteStateMapper extends BaseMapper<BizCustomerRouteState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
package com.cpxt.biz.mapper;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerShopState;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_shop_state(门店状态)】的数据库操作Mapper
|
||||||
|
* @createDate 2025-01-07 10:30:31
|
||||||
|
* @Entity com.cpxt.biz.domain.BizCustomerShopState
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface BizCustomerShopStateMapper extends BaseMapper<BizCustomerShopState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
package com.cpxt.biz.mapper;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerState;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_state(客户配送状态)】的数据库操作Mapper
|
||||||
|
* @createDate 2025-01-07 10:31:25
|
||||||
|
* @Entity com.cpxt.biz.domain.BizCustomerState
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface BizCustomerStateMapper extends BaseMapper<BizCustomerState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.cpxt.biz.service;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerRouteState;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_route_state(路线状态)】的数据库操作Service
|
||||||
|
* @createDate 2025-01-07 10:29:27
|
||||||
|
*/
|
||||||
|
public interface BizCustomerRouteStateService extends IService<BizCustomerRouteState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.cpxt.biz.service;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerShopState;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_shop_state(门店状态)】的数据库操作Service
|
||||||
|
* @createDate 2025-01-07 10:30:31
|
||||||
|
*/
|
||||||
|
public interface BizCustomerShopStateService extends IService<BizCustomerShopState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.cpxt.biz.service;
|
||||||
|
|
||||||
|
import com.cpxt.biz.domain.BizCustomerState;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_state(客户配送状态)】的数据库操作Service
|
||||||
|
* @createDate 2025-01-07 10:31:25
|
||||||
|
*/
|
||||||
|
public interface BizCustomerStateService extends IService<BizCustomerState> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package com.cpxt.biz.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.cpxt.biz.domain.BizCustomerRouteState;
|
||||||
|
import com.cpxt.biz.service.BizCustomerRouteStateService;
|
||||||
|
import com.cpxt.biz.mapper.BizCustomerRouteStateMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_route_state(路线状态)】的数据库操作Service实现
|
||||||
|
* @createDate 2025-01-07 10:29:27
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BizCustomerRouteStateServiceImpl extends ServiceImpl<BizCustomerRouteStateMapper, BizCustomerRouteState>
|
||||||
|
implements BizCustomerRouteStateService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package com.cpxt.biz.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.cpxt.biz.domain.BizCustomerShopState;
|
||||||
|
import com.cpxt.biz.service.BizCustomerShopStateService;
|
||||||
|
import com.cpxt.biz.mapper.BizCustomerShopStateMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_shop_state(门店状态)】的数据库操作Service实现
|
||||||
|
* @createDate 2025-01-07 10:30:31
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BizCustomerShopStateServiceImpl extends ServiceImpl<BizCustomerShopStateMapper, BizCustomerShopState>
|
||||||
|
implements BizCustomerShopStateService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package com.cpxt.biz.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.cpxt.biz.domain.BizCustomerState;
|
||||||
|
import com.cpxt.biz.service.BizCustomerStateService;
|
||||||
|
import com.cpxt.biz.mapper.BizCustomerStateMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author LuoJian
|
||||||
|
* @description 针对表【biz_customer_state(客户配送状态)】的数据库操作Service实现
|
||||||
|
* @createDate 2025-01-07 10:31:25
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BizCustomerStateServiceImpl extends ServiceImpl<BizCustomerStateMapper, BizCustomerState>
|
||||||
|
implements BizCustomerStateService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue