feat:[REQ-3282] 编写unit模块代码

This commit is contained in:
liuyang 2024-12-09 20:46:07 +08:00
parent 5172011d83
commit 598f2f084a
6 changed files with 9 additions and 9 deletions

View File

@ -4,8 +4,8 @@ import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@Mapper
public interface OrgUnitInfraConvert {
public interface UnitInfraConvert {
OrgUnitInfraConvert INSTANCE = Mappers.getMapper(OrgUnitInfraConvert.class);
UnitInfraConvert INSTANCE = Mappers.getMapper(UnitInfraConvert.class);
}

View File

@ -6,5 +6,5 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
@Repository
public class OrgUnitDao extends ServiceImpl<OrganizationalUnitMapper, OrganizationalUnit> {
public class UnitDao extends ServiceImpl<OrganizationalUnitMapper, OrganizationalUnit> {
}

View File

@ -1,4 +1,4 @@
package cn.axzo.orgmanax.infra.dao.unit.repository;
public interface OrgUnitQueryRepository {
public interface UnitQueryRepository {
}

View File

@ -1,4 +1,4 @@
package cn.axzo.orgmanax.infra.dao.unit.repository;
public interface OrgUnitUpsertRepository {
public interface UnitUpsertRepository {
}

View File

@ -1,10 +1,10 @@
package cn.axzo.orgmanax.infra.dao.unit.repository.impl;
import cn.axzo.orgmanax.infra.dao.unit.repository.OrgUnitUpsertRepository;
import cn.axzo.orgmanax.infra.dao.unit.repository.UnitUpsertRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
@Service
@RequiredArgsConstructor
public class OrgUnitUpsertRepositoryImpl implements OrgUnitUpsertRepository {
public class OrgUnitUpsertRepositoryImpl implements UnitUpsertRepository {
}

View File

@ -1,10 +1,10 @@
package cn.axzo.orgmanax.infra.dao.unit.repository.impl;
import cn.axzo.orgmanax.infra.dao.unit.repository.OrgUnitQueryRepository;
import cn.axzo.orgmanax.infra.dao.unit.repository.UnitQueryRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
@Service
@RequiredArgsConstructor
public class OrgUnitQueryRepositoryImpl implements OrgUnitQueryRepository {
public class UnitQueryRepositoryImpl implements UnitQueryRepository {
}