新增路线、店铺、客户实时状态

master
luojian 2025-01-07 10:57:37 +08:00
parent 5e9e830180
commit 1c0df81dd2
12 changed files with 360 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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> {
}

View File

@ -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> {
}

View File

@ -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> {
}

View File

@ -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> {
}

View File

@ -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> {
}

View File

@ -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> {
}

View File

@ -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{
}

View File

@ -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{
}

View File

@ -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{
}