package com.mosty.base.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mosty.base.manager.mapper.TbJcglZbjlMapper;
import com.mosty.base.manager.service.TbJcglZbjlService;
import com.mosty.base.model.entity.jcgl.TbJcglZbjl;
import com.mosty.base.utils.UUIDGenerator;
import org.springframework.stereotype.Service;

@Service
public class TbJcglZbjlServiceImpl extends ServiceImpl<TbJcglZbjlMapper, TbJcglZbjl>
        implements TbJcglZbjlService {

    @Override
    public int addEntity(TbJcglZbjl dto) {
        dto.setId(UUIDGenerator.getUUID());
        return this.baseMapper.insert(dto);
    }




}
