diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/config/entity/AreaMapEntity.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/config/entity/AreaMapEntity.java new file mode 100644 index 0000000..4deb318 --- /dev/null +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/config/entity/AreaMapEntity.java @@ -0,0 +1,26 @@ +package com.hnac.hzims.operational.config.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.NoArgsConstructor; +import org.springblade.core.tenant.mp.TenantEntity; + +/** + * @author ysj + */ +@ApiModel("区域地图配置实体类") +@AllArgsConstructor +@NoArgsConstructor +@Builder +@TableName("hzims_area_map_config") +public class AreaMapEntity extends TenantEntity { + + @ApiModelProperty("区域机构ID") + private Long areaId; + + @ApiModelProperty("地图编码") + private String mapCode; +} \ No newline at end of file diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/AreaMapController.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/AreaMapController.java new file mode 100644 index 0000000..8b4cd70 --- /dev/null +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/controller/AreaMapController.java @@ -0,0 +1,21 @@ +package com.hnac.hzims.operational.config.controller; + +import com.hnac.hzims.operational.config.service.AreaMapService; +import io.swagger.annotations.Api; +import lombok.AllArgsConstructor; +import org.springblade.core.boot.ctrl.BladeController; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + + +/** + * @author ysj + */ +@RestController +@AllArgsConstructor +@Api(value = "区域地图配置",tags = "区域地图配置") +@RequestMapping("/areaMap") +public class AreaMapController extends BladeController { + + private AreaMapService areaMapService; +} \ No newline at end of file diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.java new file mode 100644 index 0000000..99072c1 --- /dev/null +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.java @@ -0,0 +1,13 @@ +package com.hnac.hzims.operational.config.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.hnac.hzims.operational.config.entity.AreaMapEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * @author ysj + */ +@Mapper +public interface AreaMapMapper extends BaseMapper { + +} \ No newline at end of file diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.xml b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.xml new file mode 100644 index 0000000..185a1fa --- /dev/null +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/mapper/AreaMapMapper.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/AreaMapService.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/AreaMapService.java new file mode 100644 index 0000000..287cc24 --- /dev/null +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/AreaMapService.java @@ -0,0 +1,12 @@ +package com.hnac.hzims.operational.config.service; + + +import com.hnac.hzims.operational.config.entity.AreaMapEntity; +import org.springblade.core.mp.base.BaseService; + +/** + * @author ysj + */ +public interface AreaMapService extends BaseService { + +} \ No newline at end of file diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/AreaMapServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/AreaMapServiceImpl.java new file mode 100644 index 0000000..f829010 --- /dev/null +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/service/impl/AreaMapServiceImpl.java @@ -0,0 +1,18 @@ +package com.hnac.hzims.operational.config.service.impl; + +import com.hnac.hzims.operational.config.entity.AreaMapEntity; +import com.hnac.hzims.operational.config.mapper.AreaMapMapper; +import com.hnac.hzims.operational.config.service.AreaMapService; +import lombok.RequiredArgsConstructor; +import org.springblade.core.mp.base.BaseServiceImpl; +import org.springframework.stereotype.Service; + + +/** + * @author ysj + */ +@Service +@RequiredArgsConstructor +public class AreaMapServiceImpl extends BaseServiceImpl implements AreaMapService { + +} \ No newline at end of file