客户公海部分代码提交;

1 parent 6299be8e
package com.linkwechat.web.controller.wecom;
import com.linkwechat.common.core.controller.BaseController;
import com.linkwechat.wecom.service.IWeCustomerSeasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 客户公海相关
*/
@RestController
@RequestMapping("/wecom/seas")
public class WeCustomerSeasController extends BaseController {
@Autowired
private IWeCustomerSeasService iWeCustomerSeasService;
}
package com.linkwechat.wecom.domain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linkwechat.common.core.domain.BaseEntity;
import lombok.Data;
/**
* 客户公海实体
*/
@Data
@TableName("we_customer_seas")
public class WeCustomerSeas extends BaseEntity {
//主键
@TableId
private Long id;
//手机号
private String phone;
//客户备注名称
private String customerName;
//标签名,多个使用逗号隔开
private String tagNames;
//标签id,多个使用逗号隔开
private String tagIds;
//添加人名称,多个使用逗号隔开
private String addUserName;
//添加人id,多个使用逗号隔开
private String addUserId;
//导入的excel的名称
private String tableExcelName;
//导入的excel的同一批次下的id
private Long tableExcelId;
//当前状态:0:待添加;1:已添加;3:待通过
private Integer addState;
@TableLogic
private Integer delFlag;
}
package com.linkwechat.wecom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeCustomerSeas;
public interface WeCustomerSeasMapper extends BaseMapper<WeCustomerSeas> {
}
package com.linkwechat.wecom.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.linkwechat.wecom.domain.WeCustomerSeas;
public interface IWeCustomerSeasService extends IService<WeCustomerSeas> {
}
package com.linkwechat.wecom.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linkwechat.wecom.domain.WeCustomerSeas;
import com.linkwechat.wecom.mapper.WeCustomerSeasMapper;
import com.linkwechat.wecom.service.IWeCustomerSeasService;
import org.springframework.stereotype.Service;
@Service
public class WeCustomerSeasServiceImpl extends ServiceImpl<WeCustomerSeasMapper, WeCustomerSeas> implements IWeCustomerSeasService {
}
<?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.linkwechat.wecom.mapper.WeCustomerSeasMapper">
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!