package com.bonus.material.basic.service.impl;

import cn.hutool.core.util.PhoneUtil;
import com.alibaba.nacos.common.utils.CollectionUtils;
import com.bonus.common.biz.enums.HttpCodeEnum;
import com.bonus.common.core.constant.SecurityConstants;
import com.bonus.common.core.utils.DateUtils;
import com.bonus.common.core.utils.StringUtils;
import com.bonus.common.core.utils.encryption.Sm4Utils;
import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.common.security.utils.SecurityUtils;
import com.bonus.material.basic.domain.BmUnit;
import com.bonus.material.basic.domain.BmUnitType;
import com.bonus.material.basic.mapper.BmUnitMapper;
import com.bonus.material.basic.mapper.BmUnitTypeMapper;
import com.bonus.material.basic.service.IBmUnitService;
import com.bonus.material.basic.service.IBmUnitTypeService;
import com.bonus.material.purchase.config.RemoteConfig;
import com.bonus.system.api.RemoteDeptService;
import com.bonus.system.api.domain.SysDept;
import com.bonus.system.api.domain.SysDictData;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * 单位类型管理Service业务层处理
 *
 * @author hongchao
 * @date 2024-12-27
 */
@Service
@Slf4j
public class BmUnitTypeServiceImpl implements IBmUnitTypeService
{
    @Autowired
    private BmUnitTypeMapper bmUnitTypeMapper;

    /**
     * 查询单位类型管理列表
     *
     * @param bmUnitType 单位类型管理
     * @return 单位类型管理
     */
    @Override
    public List<BmUnitType> selectBmUnitTypeDataList(BmUnitType bmUnitType)
    {
        return bmUnitTypeMapper.selectBmUnitTypeDataList(bmUnitType);
    }

}
