src/main/java/com/ruoyi/project/system/customerinfo/service/impl/OaCustomerinfoServiceImpl.java

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.ruoyi.project.system.customerinfo.service.impl;

import java.util.List;

import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.security.ShiroUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.system.customerinfo.mapper.OaCustomerinfoMapper;
import com.ruoyi.project.system.customerinfo.domain.OaCustomerinfo;
import com.ruoyi.project.system.customerinfo.service.IOaCustomerinfoService;
import com.ruoyi.common.utils.text.Convert;

/**
 * 客户管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-21
 */
@Service
public class OaCustomerinfoServiceImpl implements IOaCustomerinfoService 
{
    @Autowired
    private OaCustomerinfoMapper oaCustomerinfoMapper;

    /**
     * 查询客户管理
     * 
     * @param customerId 客户管理主键
     * @return 客户管理
     */
    @Override
    public OaCustomerinfo selectOaCustomerinfoByCustomerId(Long customerId)
    {
        return oaCustomerinfoMapper.selectOaCustomerinfoByCustomerId(customerId);
    }

    /**
     * 查询客户管理列表
     * 
     * @param oaCustomerinfo 客户管理
     * @return 客户管理
     */
    @Override
    public List<OaCustomerinfo> selectOaCustomerinfoList(OaCustomerinfo oaCustomerinfo)
    {
        return oaCustomerinfoMapper.selectOaCustomerinfoList(oaCustomerinfo);
    }

    /**
     * 新增客户管理
     * 
     * @param oaCustomerinfo 客户管理
     * @return 结果
     */
    @Override
    public int insertOaCustomerinfo(OaCustomerinfo oaCustomerinfo)
    {

        oaCustomerinfo.setCreateDate(DateUtils.getNowDate());
后面还有 45 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。