Compare commits
No commits in common. "ffbce36c301fee779ed6611b7af39e5b7083dc9f" and "8448adeee5daafaff90d2d21c91062ee91259f3c" have entirely different histories.
ffbce36c30
...
8448adeee5
@ -1,20 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.controller.admin;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
||||||
import org.springframework.validation.annotation.Validated;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户管理扩展信息(每个租户的下的客户信息)
|
|
||||||
*
|
|
||||||
* @author : http://www.chiner.pro
|
|
||||||
* @date : 2024-7-31
|
|
||||||
*/
|
|
||||||
@RestController
|
|
||||||
@RequestMapping("/base/customItem")
|
|
||||||
@Tag(name = "管理后台 - BASE 企业管理")
|
|
||||||
@Validated
|
|
||||||
public class CustomerItemController {
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,43 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.entity;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
|
|
||||||
import lombok.*;
|
|
||||||
import java.util.*;
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
|
||||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户车辆关联 DO
|
|
||||||
*
|
|
||||||
* @author 后台管理员
|
|
||||||
*/
|
|
||||||
@TableName("base_customer_car")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@ToString(callSuper = true)
|
|
||||||
@Builder
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
public class CustomerCar extends TenantBaseDO {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 主键标识
|
|
||||||
*/
|
|
||||||
@TableId(type = IdType.INPUT)
|
|
||||||
private String id;
|
|
||||||
/**
|
|
||||||
* 客户信息主表id
|
|
||||||
*/
|
|
||||||
private String cusId;
|
|
||||||
/**
|
|
||||||
* 车辆表id
|
|
||||||
*/
|
|
||||||
private String carId;
|
|
||||||
/**
|
|
||||||
* 是否车主
|
|
||||||
*/
|
|
||||||
private String isOwner;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.entity;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import lombok.*;
|
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户信息扩展 DO
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
@TableName("base_customer_item")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@ToString(callSuper = true)
|
|
||||||
@Builder
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
public class CustomerItem extends TenantBaseDO {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 主键标识
|
|
||||||
*/
|
|
||||||
@TableId(type = IdType.INPUT)
|
|
||||||
private String id;
|
|
||||||
/**
|
|
||||||
* 客户信息主表id
|
|
||||||
*/
|
|
||||||
private String cusId;
|
|
||||||
/**
|
|
||||||
* 系统标识
|
|
||||||
*/
|
|
||||||
private String systemCode;
|
|
||||||
/**
|
|
||||||
* 会员等级;不同的业务表会员等级是独立的
|
|
||||||
*/
|
|
||||||
private String userLevel;
|
|
||||||
/**
|
|
||||||
* 服务内容
|
|
||||||
*/
|
|
||||||
private String serContent;
|
|
||||||
/**
|
|
||||||
* 服务开始时间
|
|
||||||
*/
|
|
||||||
private Date serTimeStart;
|
|
||||||
/**
|
|
||||||
* 服务结束时间
|
|
||||||
*/
|
|
||||||
private Date serTimeEnd;
|
|
||||||
/**
|
|
||||||
* 其他字段
|
|
||||||
*/
|
|
||||||
private String bigJson;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.mapper;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerCar;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户车辆管理关联Mapper
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface CustomerCarMapper extends BaseMapper<CustomerCar> {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.mapper;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerItem;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户管理扩展Mapper
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface CustomerItemMapper extends BaseMapper<CustomerItem> {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.service;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerCar;
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户车辆管理关联Service 接口
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
public interface CustomerCarService extends IService<CustomerCar> {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.service;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerItem;
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户管理 Service 接口
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
public interface CustomerItemService extends IService<CustomerItem> {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.service.impl;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerCar;
|
|
||||||
import cn.iocoder.yudao.module.custom.mapper.CustomerCarMapper;
|
|
||||||
import cn.iocoder.yudao.module.custom.service.CustomerCarService;
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
import org.springframework.validation.annotation.Validated;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户车辆管理关联
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
@Validated
|
|
||||||
public class CustomerCarServiceImpl extends ServiceImpl<CustomerCarMapper, CustomerCar> implements CustomerCarService {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
package cn.iocoder.yudao.module.custom.service.impl;
|
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerItem;
|
|
||||||
import cn.iocoder.yudao.module.custom.mapper.CustomerItemMapper;
|
|
||||||
import cn.iocoder.yudao.module.custom.service.CustomerItemService;
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
import org.springframework.validation.annotation.Validated;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 客户管理 Service 实现类
|
|
||||||
*
|
|
||||||
* @author pqz
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
@Validated
|
|
||||||
public class CustomerItemServiceImpl extends ServiceImpl<CustomerItemMapper, CustomerItem> implements CustomerItemService {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,11 +1,11 @@
|
|||||||
package cn.iocoder.yudao.module.custom.vo;
|
package cn.iocoder.yudao.module.custom.vo;
|
||||||
|
|
||||||
import cn.iocoder.yudao.module.custom.entity.CustomerMain;
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@Schema(description = "管理后台 - 客户管理新增/修改 Request VO")
|
@Schema(description = "管理后台 - 客户管理新增/修改 Request VO")
|
||||||
@Data
|
@Data
|
||||||
public class CustomerMainSaveReqVO extends CustomerMain {
|
public class CustomerMainSaveReqVO {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?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="cn.iocoder.yudao.module.custom.mapper.CustomerCarMapper">
|
|
||||||
|
|
||||||
</mapper>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?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="cn.iocoder.yudao.module.custom.mapper.CustomerItemMapper">
|
|
||||||
|
|
||||||
</mapper>
|
|
||||||
Loading…
Reference in New Issue
Block a user