长者标签改版

This commit is contained in:
1378012178@qq.com 2026-02-25 14:55:17 +08:00
parent d8c2450688
commit 82e671590e
20 changed files with 1122 additions and 11 deletions

View File

@ -0,0 +1,53 @@
package com.nu.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description: 长者标签-操作日志-详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
public class ElderTagOpeLogInfoMQDto implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
private String id;
/**nu_config_elder_tag_ope_log_main.id*/
private String pkId;
/**创建日期*/
private Date createTime;
/**数据类型 1修改前 2修改后*/
private String dataType;
/**标签类型nu_elder_tag_type.id*/
private String type;
/**标签类型中文名*/
private String typeName;
/**标签名称*/
private String tagName;
/**说明*/
private String describ;
/**价格*/
private BigDecimal price;
/**默认图标*/
private String pic;
/**焦点图标*/
private String picFocus;
/**所属机构*/
private String sysOrgCode;
}

View File

@ -0,0 +1,54 @@
package com.nu.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* @Description: 长者标签-操作日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
public class ElderTagOpeLogMainMQDto implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
private String id;
/**操作类型 1新增 2修改*/
private String opeType;
/**机构编码*/
private String orgCode;
/**操作人*/
private String createBy;
/**操作日期*/
private Date createTime;
/**标签类型中文名*/
private String typeName;
/**标签名称*/
private String tagName;
/**说明*/
private String describ;
/**价格*/
private BigDecimal price;
/**默认图标*/
private String pic;
/**焦点图标*/
private String picFocus;
private List<ElderTagOpeLogInfoMQDto> infoList;
}

View File

@ -0,0 +1,41 @@
package com.nu.dto;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
public class ElderTagSyncLogInfoMQDto implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
private String id;
/**nu_config_elder_tag_sync_log_main.id*/
private String pkId;
/**创建日期*/
private Date createTime;
/**标签类型nu_elder_tag_type.id*/
private String type;
/**标签类型中文名*/
private String typeName;
/**标签名称*/
private String tagName;
/**说明*/
private String describ;
/**价格*/
private BigDecimal price;
/**默认图标*/
private String pic;
/**焦点图标*/
private String picFocus;
/**所属机构*/
private String sysOrgCode;
}

View File

@ -0,0 +1,33 @@
package com.nu.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
public class ElderTagSyncLogMainMQDto implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
private String id;
/**哪个机构镜像的*/
private String opeOrgCode;
/**镜像的哪个机构的标签*/
private String targetOrgCode;
/**标签镜像码*/
private String orgTagCode;
/**创建人*/
private String createBy;
/**创建日期*/
private Date createTime;
private List<ElderTagSyncLogInfoMQDto> infoList;
}

View File

@ -1,8 +1,6 @@
package com.nu.modules.eldertag.controller;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@ -10,12 +8,14 @@ import cn.hutool.core.util.IdUtil;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.nu.dto.DirectiveAsyncMQDto;
import com.nu.dto.ElderTagAsyncMQDto;
import com.google.common.collect.Maps;
import com.nu.dto.*;
import com.nu.modules.canaddeldertag.entity.CanAddElderTag;
import com.nu.modules.canaddeldertag.service.ICanAddElderTagService;
import com.nu.utils.RabbitMQUtil;
import org.apache.commons.compress.utils.Lists;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.api.ISysBaseAPI;
import org.jeecg.common.system.query.QueryGenerator;
@ -28,6 +28,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.system.base.controller.JeecgController;
import org.jeecg.common.system.vo.DictModel;
import org.jeecg.common.system.vo.LoginUser;
import org.jetbrains.annotations.Nullable;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
@ -51,6 +53,10 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
public class ElderTagController extends JeecgController<ElderTag, IElderTagService> {
@Autowired
private IElderTagService elderTagService;
@Autowired
private ISysBaseAPI sysBaseAPI;
@Autowired
private RabbitMQUtil rabbitMQUtil;
/**
@ -137,6 +143,48 @@ public class ElderTagController extends JeecgController<ElderTag, IElderTagServi
Result<String> error = elderTagService.add(elderTag);
if (error != null) return error;
//操作日志
{
//存储机构编码
JSONObject deptInfo = sysBaseAPI.getDeptInfo();
List<DictModel> elder_tag_type = sysBaseAPI.getDictItems("elder_tag_type");
Map<String, String> typeDictMap = Maps.newHashMap();
for (DictModel dictModel : elder_tag_type) {
typeDictMap.put(dictModel.getValue(), dictModel.getText());
}
String opeId = IdUtil.simpleUUID();//本次操作主表id
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();//操作人信息
ElderTagOpeLogMainMQDto mainMQDto = new ElderTagOpeLogMainMQDto();
mainMQDto.setId(opeId);
mainMQDto.setOrgCode(deptInfo.getString("code"));
mainMQDto.setOpeType("1");//1-新增
mainMQDto.setCreateBy(sysUser.getRealname());
mainMQDto.setCreateTime(new Date());
mainMQDto.setTypeName(typeDictMap.get(elderTag.getType()));//标签类型名称
mainMQDto.setTagName(elderTag.getTagName());//标签名称
mainMQDto.setDescrib(elderTag.getDescrib());//说明
mainMQDto.setPrice(elderTag.getPrice());//价格
mainMQDto.setPic(elderTag.getPic());//默认图标
mainMQDto.setPicFocus(elderTag.getPicFocus());//焦点图标
List<ElderTagOpeLogInfoMQDto> infoList = Lists.newArrayList();
ElderTagOpeLogInfoMQDto info = new ElderTagOpeLogInfoMQDto();
info.setPkId(opeId);//主表id
info.setSysOrgCode(deptInfo.getString("code"));//所属部门
info.setCreateTime(new Date());//创建日期
info.setType(elderTag.getType());//标签类型
info.setTypeName(typeDictMap.get(elderTag.getType()));//标签类型名称
info.setTagName(elderTag.getTagName());//标签名称
info.setDescrib(elderTag.getDescrib());//说明
info.setPrice(elderTag.getPrice());//价格
info.setPic(elderTag.getPic());//默认图标
info.setPicFocus(elderTag.getPicFocus());//焦点图标
infoList.add(info);
mainMQDto.setInfoList(infoList);
rabbitMQUtil.sendToExchange("hldy.elderTag", "hldy.elderTag.ope", mainMQDto);
}
return Result.OK("添加成功!");
}
@ -151,10 +199,84 @@ public class ElderTagController extends JeecgController<ElderTag, IElderTagServi
@ApiOperation(value = "长者标签-编辑", notes = "长者标签-编辑")
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
public Result<String> edit(@RequestBody ElderTag elderTag) {
//查询出修改前的数据
ElderTag his = elderTagService.getById(elderTag.getId());
//处理静态资源
elderTagService.handleMediaFile(elderTag);
elderTagService.updateById(elderTag);
//操作日志
{
JSONObject deptInfo = sysBaseAPI.getDeptInfo();
List<DictModel> elder_tag_type = sysBaseAPI.getDictItems("elder_tag_type");
Map<String, String> typeDictMap = Maps.newHashMap();
for (DictModel dictModel : elder_tag_type) {
typeDictMap.put(dictModel.getValue(), dictModel.getText());
}
String opeId = IdUtil.simpleUUID();//本次操作主表id
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();//操作人信息
ElderTagOpeLogMainMQDto mainMQDto = new ElderTagOpeLogMainMQDto();
mainMQDto.setId(opeId);
mainMQDto.setOrgCode(deptInfo.getString("code"));
mainMQDto.setOpeType("2");//2-变更
mainMQDto.setCreateBy(sysUser.getRealname());
mainMQDto.setCreateTime(new Date());
mainMQDto.setTypeName(typeDictMap.get(elderTag.getType()));//标签类型名称
mainMQDto.setTagName(elderTag.getTagName());//标签名称
mainMQDto.setDescrib(elderTag.getDescrib());//说明
mainMQDto.setPrice(elderTag.getPrice());//价格
mainMQDto.setPic(elderTag.getPic());//默认图标
mainMQDto.setPicFocus(elderTag.getPicFocus());//焦点图标
List<ElderTagOpeLogInfoMQDto> infoList = Lists.newArrayList();
//修改前
{
ElderTagOpeLogInfoMQDto info = new ElderTagOpeLogInfoMQDto();
info.setPkId(opeId);//主表id
info.setSysOrgCode(his.getSysOrgCode());//所属部门
info.setCreateTime(new Date());//创建日期
info.setDataType("1");
info.setType(his.getType());//标签类型
info.setTypeName(typeDictMap.get(his.getType()));//标签类型名称
info.setTagName(his.getTagName());//标签名称
info.setDescrib(his.getDescrib());//说明
info.setPrice(his.getPrice());//价格
info.setPic(his.getPic());//默认图标
info.setPicFocus(his.getPicFocus());//焦点图标
infoList.add(info);
}
//修改后
{
ElderTagOpeLogInfoMQDto info = new ElderTagOpeLogInfoMQDto();
info.setPkId(opeId);//主表id
info.setSysOrgCode(his.getSysOrgCode());//所属部门
info.setCreateTime(new Date());//创建日期
info.setDataType("2");
info.setType(elderTag.getType());//标签类型
info.setTypeName(typeDictMap.get(elderTag.getType()));//标签类型名称
info.setTagName(elderTag.getTagName());//标签名称
info.setDescrib(elderTag.getDescrib());//说明
info.setPrice(elderTag.getPrice());//价格
info.setPic(elderTag.getPic());//默认图标
info.setPicFocus(elderTag.getPicFocus());//焦点图标
infoList.add(info);
}
mainMQDto.setInfoList(infoList);
boolean hasChanges = !Objects.equals(his.getType(), elderTag.getType())
|| !Objects.equals(his.getTagName(), elderTag.getTagName())
|| !Objects.equals(his.getDescrib(), elderTag.getDescrib())
|| !Objects.equals(his.getPrice(), elderTag.getPrice())
|| !Objects.equals(his.getPic(), elderTag.getPic())
|| !Objects.equals(his.getPicFocus(), elderTag.getPicFocus());
if (hasChanges) {
rabbitMQUtil.sendToExchange("hldy.elderTag", "hldy.elderTag.ope", mainMQDto);
}
}
return Result.OK("编辑成功!");
}
@ -240,7 +362,7 @@ public class ElderTagController extends JeecgController<ElderTag, IElderTagServi
//同步
if (StringUtils.isNotBlank(dto.getSyncIds())) {
new Thread(() -> {
service.syncElderTag(sourceOrgCode, dto.getSyncIds());
service.syncElderTag(sourceOrgCode, dto.getSyncIds(), dto.getSyncCode());
}).start();
}
//发送消息
@ -259,4 +381,46 @@ public class ElderTagController extends JeecgController<ElderTag, IElderTagServi
public Result<List<ElderTag>> compareList(ElderTag elderTag) {
return Result.OK(elderTagService.compareList(elderTag));
}
/**
* 获取镜像码
* 存储在管理平台
*
* @param orgCode
* @return
*/
@ApiOperation(value = "长者标签-获取镜像码", notes = "长者标签-获取镜像码")
@GetMapping(value = "/getSyncCode")
public Result<?> getSyncCode(@RequestParam("orgCode") String orgCode) {
return Result.OK(elderTagService.getSyncCode(orgCode));
}
/**
* 更新镜像码
* 存储在管理平台
*
* @param orgCode
* @return
*/
@ApiOperation(value = "长者标签-更新镜像码", notes = "长者标签-更新镜像码")
@GetMapping(value = "/updateSyncCode")
public Result<?> updateSyncCode(@RequestParam("orgCode") String orgCode) {
return Result.OK(elderTagService.updateSyncCode(orgCode));
}
/**
* 根据镜像码获取机构编码
* 存储在管理平台
*
* @param syncCode
* @return
*/
@ApiOperation(value = "长者标签-根据镜像码获取机构编码", notes = "长者标签-根据镜像码获取机构编码")
@GetMapping(value = "/getOrgCodeBySyncCode")
public Result<?> getOrgCodeBySyncCode(@RequestParam(value = "syncCode", required = false) String syncCode) {
if (StringUtils.isBlank(syncCode)) {
return Result.ok(null);
}
return Result.OK(elderTagService.getOrgCodeBySyncCode(syncCode));
}
}

View File

@ -116,4 +116,6 @@ public class ElderTag implements Serializable {
//目标平台是否存在该指令
@TableField(exist = false)
private boolean targetExist;
@TableField(exist = false)
private String syncCode;
}

View File

@ -17,7 +17,7 @@ public interface IElderTagService extends IService<ElderTag> {
void handleMediaFile(ElderTag elderTag);
ElderTagMQDto syncElderTag(String sourceOrgCode, String syncIds);
ElderTagMQDto syncElderTag(String sourceOrgCode, String syncIds, String syncCode);
List<ElderTag> allDataIds();
@ -26,4 +26,10 @@ public interface IElderTagService extends IService<ElderTag> {
List<ElderTag> compareList(ElderTag elderTag);
Result<String> add(ElderTag elderTag);
String getSyncCode(String orgCode);
String updateSyncCode(String orgCode);
String getOrgCodeBySyncCode(String syncCode);
}

View File

@ -7,6 +7,7 @@ import com.alibaba.fastjson.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.google.common.collect.Maps;
import com.nu.dto.*;
import com.nu.modules.canaddeldertag.entity.CanAddElderTag;
import com.nu.modules.canaddeldertag.service.ICanAddElderTagService;
@ -20,8 +21,12 @@ import com.nu.utils.HttpRequestUtil;
import com.nu.utils.NuFileUtils;
import com.nu.utils.RabbitMQUtil;
import org.apache.commons.compress.utils.Lists;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.api.ISysBaseAPI;
import org.jeecg.common.system.vo.DictModel;
import org.jeecg.common.system.vo.LoginUser;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
@ -30,6 +35,7 @@ import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.io.File;
import java.net.URLEncoder;
import java.util.*;
import java.util.stream.Collectors;
@ -77,13 +83,13 @@ public class ElderTagServiceImpl extends ServiceImpl<ElderTagMapper, ElderTag> i
@Override
@DS("#sourceOrgCode")
public ElderTagMQDto syncElderTag(String sourceOrgCode, String syncIds) {
public ElderTagMQDto syncElderTag(String sourceOrgCode, String syncIds, String syncCode) {
ElderTagMQDto etMQDto = new ElderTagMQDto();
QueryWrapper<ElderTag> qw = new QueryWrapper<>();
qw.in("id",syncIds.split(","));
qw.in("id", syncIds.split(","));
List<ElderTag> elderTags = baseMapper.selectList(qw);
etMQDto.setElderTagList(BeanUtil.copyToList(elderTags, ElderTagAsyncMQDto.class));
elderTagMQListener.handleIncremental2( etMQDto);
elderTagMQListener.handleIncremental2(etMQDto);
// String apiAddress = "";
// //查询源数据平台的接口api地址
@ -108,6 +114,51 @@ public class ElderTagServiceImpl extends ServiceImpl<ElderTagMapper, ElderTag> i
//
// elderTagMQListener.handleCreateMedia2(etMQDto, apiAddress);
//给对应业务平台发送消息
//同步结果保存到管理平台
{
List<DictModel> elder_tag_type = sysBaseAPI.getDictItems("elder_tag_type");
Map<String, String> typeDictMap = Maps.newHashMap();
for (DictModel dictModel : elder_tag_type) {
typeDictMap.put(dictModel.getValue(), dictModel.getText());
}
String syncId = IdUtil.simpleUUID();//本次镜像id
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();//操作人信息
DynamicDataSourceContextHolder.push("master");
JSONObject deptInfo;//本机构信息
try {
deptInfo = sysBaseAPI.getDeptInfo();
} finally {
DynamicDataSourceContextHolder.clear();
}
ElderTagSyncLogMainMQDto syncDto = new ElderTagSyncLogMainMQDto();
List<ElderTagSyncLogInfoMQDto> syncInfoList = Lists.newArrayList();
syncDto.setId(syncId);
syncDto.setOpeOrgCode(deptInfo.getString("code"));//镜像机构101同步102指令 那就是101
syncDto.setTargetOrgCode(sourceOrgCode);//被镜像机构101同步102指令 那就是102
syncDto.setOrgTagCode(syncCode.replaceAll("\\*", ""));//镜像码
syncDto.setCreateBy(sysUser.getRealname());//操作人姓名
for (ElderTag item : elderTags) {
ElderTagSyncLogInfoMQDto info = new ElderTagSyncLogInfoMQDto();
info.setPkId(syncId);//主表id
info.setSysOrgCode(item.getSysOrgCode());//所属部门
info.setCreateTime(new Date());//创建日期
info.setType(item.getType());//标签类型
info.setTypeName(typeDictMap.get(item.getType()));//标签类型名称
info.setTagName(item.getTagName());//标签名称
info.setDescrib(item.getDescrib());//说明
info.setPrice(item.getPrice());//价格
info.setPic(item.getPic());//默认图标
info.setPicFocus(item.getPicFocus());//焦点图标
syncInfoList.add(info);
}
syncDto.setInfoList(syncInfoList);
rabbitMQUtil.sendToExchange("hldy.zzbq", "zzbq.synccode.log", syncDto);
}
return etMQDto;
}
@ -198,7 +249,7 @@ public class ElderTagServiceImpl extends ServiceImpl<ElderTagMapper, ElderTag> i
}));
result.stream().forEach(et -> {
et.setType(dictUtils.translateDictValue("elder_tag_type",et.getType()));
et.setType(dictUtils.translateDictValue("elder_tag_type", et.getType()));
});
return result;
}
@ -252,4 +303,92 @@ public class ElderTagServiceImpl extends ServiceImpl<ElderTagMapper, ElderTag> i
}
return null;
}
@Override
public String getSyncCode(String orgCode) {
JSONObject opeOpenUrl = sysConfigApi.getByKeyByDS("master", "ope_open_url");
String opeApiAddress = opeOpenUrl.getString("configValue");
if (opeApiAddress.endsWith("/")) {
opeApiAddress = opeApiAddress.substring(0, opeApiAddress.length() - 1);
}
String syncCode = "";
//各平台api地址都存在管理系统中 管理系统api地址在系统参数配置中 ope_open_url
{
String apiAddress = opeApiAddress + "/api/services/elderTag/getSyncCodeByOrgCode?orgCode=" + orgCode;
try {
String res = HttpRequestUtil.doGet(apiAddress, HttpRequestUtil.createDefaultHeaders());
JSONObject jsonResponse = JSON.parseObject(res);
JSONObject r_ = jsonResponse.getJSONObject("result");
syncCode = r_.getString("orgCode");
} catch (Exception e) {
e.printStackTrace();
}
}
//如果还没生成生成过 直接生成
if (StringUtils.isBlank(syncCode)) {
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
try {
String apiAddress = opeApiAddress + "/api/services/elderTag/generateDirectiveSyncCode?orgCode=" + orgCode + "&createBy=" + URLEncoder.encode(sysUser.getRealname(), "UTF-8");
String res = HttpRequestUtil.doGet(apiAddress, HttpRequestUtil.createDefaultHeaders());
JSONObject jsonResponse = JSON.parseObject(res);
JSONObject r_ = jsonResponse.getJSONObject("result");
syncCode = r_.getString("elderTagSyncCode");
} catch (Exception e) {
e.printStackTrace();
}
}
return syncCode;
}
@Override
public String updateSyncCode(String orgCode) {
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
String syncCode = "";
JSONObject opeOpenUrl = sysConfigApi.getByKeyByDS("master", "ope_open_url");
String opeApiAddress = opeOpenUrl.getString("configValue");
if (opeApiAddress.endsWith("/")) {
opeApiAddress = opeApiAddress.substring(0, opeApiAddress.length() - 1);
}
try {
String apiAddress = opeApiAddress + "/api/services/elderTag/generateDirectiveSyncCode?orgCode=" + orgCode + "&createBy=" + URLEncoder.encode(sysUser.getRealname(), "UTF-8");
String res = HttpRequestUtil.doGet(apiAddress, HttpRequestUtil.createDefaultHeaders());
JSONObject jsonResponse = JSON.parseObject(res);
JSONObject r_ = jsonResponse.getJSONObject("result");
syncCode = r_.getString("elderTagSyncCode");
} catch (Exception e) {
e.printStackTrace();
}
return syncCode;
}
@Override
public String getOrgCodeBySyncCode(String syncCode) {
String orgCode = "";
JSONObject opeOpenUrl = sysConfigApi.getByKeyByDS("master", "ope_open_url");
String opeApiAddress = opeOpenUrl.getString("configValue");
if (opeApiAddress.endsWith("/")) {
opeApiAddress = opeApiAddress.substring(0, opeApiAddress.length() - 1);
}
try {
String apiAddress = opeApiAddress + "/api/services/elderTag/getOrgCodeBySyncCode?syncCode=" + URLEncoder.encode(syncCode.replaceAll("\\*", ""), "UTF-8");
String res = HttpRequestUtil.doGet(apiAddress, HttpRequestUtil.createDefaultHeaders());
JSONObject jsonResponse = JSON.parseObject(res);
JSONObject r_ = jsonResponse.getJSONObject("result");
orgCode = r_.getString("orgCode");
} catch (Exception e) {
e.printStackTrace();
}
JSONObject deptInfo = sysBaseAPI.getDeptInfo();
Map<String, String> result = Maps.newHashMap();
if (StringUtils.isNotBlank(orgCode) && orgCode.equals(deptInfo.getString("code"))) {
return "-2";
}
return orgCode;
}
}

View File

@ -0,0 +1,183 @@
package com.nu.modules.eldertagsynclog.controller;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.common.system.query.QueryRuleEnum;
import org.jeecg.common.util.oConvertUtils;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogInfo;
import com.nu.modules.eldertagsynclog.service.IElderTagSyncLogInfoService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.extern.slf4j.Slf4j;
import org.jeecgframework.poi.excel.ExcelImportUtil;
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
import org.jeecg.common.system.base.controller.JeecgController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.apache.shiro.authz.annotation.RequiresPermissions;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Api(tags="长者标签-镜像-日志-指令详情表")
@RestController
@RequestMapping("/eldertagsynclog/elderTagSyncLogInfo")
@Slf4j
public class ElderTagSyncLogInfoController extends JeecgController<ElderTagSyncLogInfo, IElderTagSyncLogInfoService> {
@Autowired
private IElderTagSyncLogInfoService elderTagSyncLogInfoService;
/**
* 分页列表查询
*
* @param elderTagSyncLogInfo
* @param pageNo
* @param pageSize
* @param req
* @return
*/
//@AutoLog(value = "长者标签-镜像-日志-指令详情表-分页列表查询")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-分页列表查询", notes="长者标签-镜像-日志-指令详情表-分页列表查询")
@GetMapping(value = "/list")
@DS("ope")
public Result<IPage<ElderTagSyncLogInfo>> queryPageList(ElderTagSyncLogInfo elderTagSyncLogInfo,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
HttpServletRequest req) {
QueryWrapper<ElderTagSyncLogInfo> queryWrapper = QueryGenerator.initQueryWrapper(elderTagSyncLogInfo, req.getParameterMap());
Page<ElderTagSyncLogInfo> page = new Page<ElderTagSyncLogInfo>(pageNo, pageSize);
IPage<ElderTagSyncLogInfo> pageList = elderTagSyncLogInfoService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 添加
*
* @param elderTagSyncLogInfo
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-指令详情表-添加")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-添加", notes="长者标签-镜像-日志-指令详情表-添加")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:add")
@PostMapping(value = "/add")
public Result<String> add(@RequestBody ElderTagSyncLogInfo elderTagSyncLogInfo) {
elderTagSyncLogInfoService.save(elderTagSyncLogInfo);
return Result.OK("添加成功!");
}
/**
* 编辑
*
* @param elderTagSyncLogInfo
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-指令详情表-编辑")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-编辑", notes="长者标签-镜像-日志-指令详情表-编辑")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:edit")
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
public Result<String> edit(@RequestBody ElderTagSyncLogInfo elderTagSyncLogInfo) {
elderTagSyncLogInfoService.updateById(elderTagSyncLogInfo);
return Result.OK("编辑成功!");
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-指令详情表-通过id删除")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-通过id删除", notes="长者标签-镜像-日志-指令详情表-通过id删除")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:delete")
@DeleteMapping(value = "/delete")
public Result<String> delete(@RequestParam(name="id",required=true) String id) {
elderTagSyncLogInfoService.removeById(id);
return Result.OK("删除成功!");
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-指令详情表-批量删除")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-批量删除", notes="长者标签-镜像-日志-指令详情表-批量删除")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:deleteBatch")
@DeleteMapping(value = "/deleteBatch")
public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
this.elderTagSyncLogInfoService.removeByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");
}
/**
* 通过id查询
*
* @param id
* @return
*/
//@AutoLog(value = "长者标签-镜像-日志-指令详情表-通过id查询")
@ApiOperation(value="长者标签-镜像-日志-指令详情表-通过id查询", notes="长者标签-镜像-日志-指令详情表-通过id查询")
@GetMapping(value = "/queryById")
public Result<ElderTagSyncLogInfo> queryById(@RequestParam(name="id",required=true) String id) {
ElderTagSyncLogInfo elderTagSyncLogInfo = elderTagSyncLogInfoService.getById(id);
if(elderTagSyncLogInfo==null) {
return Result.error("未找到对应数据");
}
return Result.OK(elderTagSyncLogInfo);
}
/**
* 导出excel
*
* @param request
* @param elderTagSyncLogInfo
*/
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:exportXls")
@RequestMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request, ElderTagSyncLogInfo elderTagSyncLogInfo) {
return super.exportXls(request, elderTagSyncLogInfo, ElderTagSyncLogInfo.class, "长者标签-镜像-日志-指令详情表");
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_info:importExcel")
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
return super.importExcel(request, response, ElderTagSyncLogInfo.class);
}
}

View File

@ -0,0 +1,183 @@
package com.nu.modules.eldertagsynclog.controller;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.common.system.query.QueryRuleEnum;
import org.jeecg.common.util.oConvertUtils;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogMain;
import com.nu.modules.eldertagsynclog.service.IElderTagSyncLogMainService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.extern.slf4j.Slf4j;
import org.jeecgframework.poi.excel.ExcelImportUtil;
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
import org.jeecg.common.system.base.controller.JeecgController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.apache.shiro.authz.annotation.RequiresPermissions;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Api(tags="长者标签-镜像-日志-主表")
@RestController
@RequestMapping("/eldertagsynclog/elderTagSyncLogMain")
@Slf4j
public class ElderTagSyncLogMainController extends JeecgController<ElderTagSyncLogMain, IElderTagSyncLogMainService> {
@Autowired
private IElderTagSyncLogMainService elderTagSyncLogMainService;
/**
* 分页列表查询
*
* @param elderTagSyncLogMain
* @param pageNo
* @param pageSize
* @param req
* @return
*/
//@AutoLog(value = "长者标签-镜像-日志-主表-分页列表查询")
@ApiOperation(value="长者标签-镜像-日志-主表-分页列表查询", notes="长者标签-镜像-日志-主表-分页列表查询")
@GetMapping(value = "/list")
@DS("ope")
public Result<IPage<ElderTagSyncLogMain>> queryPageList(ElderTagSyncLogMain elderTagSyncLogMain,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
HttpServletRequest req) {
QueryWrapper<ElderTagSyncLogMain> queryWrapper = QueryGenerator.initQueryWrapper(elderTagSyncLogMain, req.getParameterMap());
Page<ElderTagSyncLogMain> page = new Page<ElderTagSyncLogMain>(pageNo, pageSize);
IPage<ElderTagSyncLogMain> pageList = elderTagSyncLogMainService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 添加
*
* @param elderTagSyncLogMain
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-主表-添加")
@ApiOperation(value="长者标签-镜像-日志-主表-添加", notes="长者标签-镜像-日志-主表-添加")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:add")
@PostMapping(value = "/add")
public Result<String> add(@RequestBody ElderTagSyncLogMain elderTagSyncLogMain) {
elderTagSyncLogMainService.save(elderTagSyncLogMain);
return Result.OK("添加成功!");
}
/**
* 编辑
*
* @param elderTagSyncLogMain
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-主表-编辑")
@ApiOperation(value="长者标签-镜像-日志-主表-编辑", notes="长者标签-镜像-日志-主表-编辑")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:edit")
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
public Result<String> edit(@RequestBody ElderTagSyncLogMain elderTagSyncLogMain) {
elderTagSyncLogMainService.updateById(elderTagSyncLogMain);
return Result.OK("编辑成功!");
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-主表-通过id删除")
@ApiOperation(value="长者标签-镜像-日志-主表-通过id删除", notes="长者标签-镜像-日志-主表-通过id删除")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:delete")
@DeleteMapping(value = "/delete")
public Result<String> delete(@RequestParam(name="id",required=true) String id) {
elderTagSyncLogMainService.removeById(id);
return Result.OK("删除成功!");
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog(value = "长者标签-镜像-日志-主表-批量删除")
@ApiOperation(value="长者标签-镜像-日志-主表-批量删除", notes="长者标签-镜像-日志-主表-批量删除")
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:deleteBatch")
@DeleteMapping(value = "/deleteBatch")
public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
this.elderTagSyncLogMainService.removeByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");
}
/**
* 通过id查询
*
* @param id
* @return
*/
//@AutoLog(value = "长者标签-镜像-日志-主表-通过id查询")
@ApiOperation(value="长者标签-镜像-日志-主表-通过id查询", notes="长者标签-镜像-日志-主表-通过id查询")
@GetMapping(value = "/queryById")
public Result<ElderTagSyncLogMain> queryById(@RequestParam(name="id",required=true) String id) {
ElderTagSyncLogMain elderTagSyncLogMain = elderTagSyncLogMainService.getById(id);
if(elderTagSyncLogMain==null) {
return Result.error("未找到对应数据");
}
return Result.OK(elderTagSyncLogMain);
}
/**
* 导出excel
*
* @param request
* @param elderTagSyncLogMain
*/
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:exportXls")
@RequestMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request, ElderTagSyncLogMain elderTagSyncLogMain) {
return super.exportXls(request, elderTagSyncLogMain, ElderTagSyncLogMain.class, "长者标签-镜像-日志-主表");
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequiresPermissions("eldertagsynclog:nu_config_elder_tag_sync_log_main:importExcel")
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
return super.importExcel(request, response, ElderTagSyncLogMain.class);
}
}

View File

@ -0,0 +1,81 @@
package com.nu.modules.eldertagsynclog.entity;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
@TableName("nu_config_elder_tag_sync_log_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="nu_config_elder_tag_sync_log_info对象", description="长者标签-镜像-日志-指令详情表")
public class ElderTagSyncLogInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "id")
private java.lang.String id;
/**nu_config_elder_tag_sync_log_main.id*/
@Excel(name = "nu_config_elder_tag_sync_log_main.id", width = 15)
@ApiModelProperty(value = "nu_config_elder_tag_sync_log_main.id")
private java.lang.String pkId;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private java.util.Date createTime;
/**标签类型nu_elder_tag_type.id*/
@Excel(name = "标签类型nu_elder_tag_type.id", width = 15)
@ApiModelProperty(value = "标签类型nu_elder_tag_type.id")
private java.lang.String type;
/**标签类型中文名*/
@Excel(name = "标签类型中文名", width = 15)
@ApiModelProperty(value = "标签类型中文名")
private java.lang.String typeName;
/**标签名称*/
@Excel(name = "标签名称", width = 15)
@ApiModelProperty(value = "标签名称")
private java.lang.String tagName;
/**说明*/
@Excel(name = "说明", width = 15)
@ApiModelProperty(value = "说明")
private java.lang.String describ;
/**价格*/
@Excel(name = "价格", width = 15)
@ApiModelProperty(value = "价格")
private java.math.BigDecimal price;
/**默认图标*/
@Excel(name = "默认图标", width = 15)
@ApiModelProperty(value = "默认图标")
private java.lang.String pic;
/**焦点图标*/
@Excel(name = "焦点图标", width = 15)
@ApiModelProperty(value = "焦点图标")
private java.lang.String picFocus;
/**所属机构*/
@ApiModelProperty(value = "所属机构")
private java.lang.String sysOrgCode;
}

View File

@ -0,0 +1,62 @@
package com.nu.modules.eldertagsynclog.entity;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Data
@TableName("nu_config_elder_tag_sync_log_main")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="nu_config_elder_tag_sync_log_main对象", description="长者标签-镜像-日志-主表")
public class ElderTagSyncLogMain implements Serializable {
private static final long serialVersionUID = 1L;
/**id*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "id")
private java.lang.String id;
/**哪个机构镜像的*/
@Excel(name = "哪个机构镜像的", width = 15)
@ApiModelProperty(value = "哪个机构镜像的")
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
private java.lang.String opeOrgCode;
/**镜像的哪个机构的标签*/
@Excel(name = "镜像的哪个机构的标签", width = 15)
@ApiModelProperty(value = "镜像的哪个机构的标签")
private java.lang.String targetOrgCode;
/**标签镜像码*/
@Excel(name = "标签镜像码", width = 15)
@ApiModelProperty(value = "标签镜像码")
private java.lang.String orgTagCode;
/**创建人*/
@ApiModelProperty(value = "创建人")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private java.util.Date createTime;
}

View File

@ -0,0 +1,17 @@
package com.nu.modules.eldertagsynclog.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
public interface ElderTagSyncLogInfoMapper extends BaseMapper<ElderTagSyncLogInfo> {
}

View File

@ -0,0 +1,17 @@
package com.nu.modules.eldertagsynclog.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogMain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
public interface ElderTagSyncLogMainMapper extends BaseMapper<ElderTagSyncLogMain> {
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.nu.modules.eldertagsynclog.mapper.ElderTagSyncLogInfoMapper">
</mapper>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.nu.modules.eldertagsynclog.mapper.ElderTagSyncLogMainMapper">
</mapper>

View File

@ -0,0 +1,14 @@
package com.nu.modules.eldertagsynclog.service;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
public interface IElderTagSyncLogInfoService extends IService<ElderTagSyncLogInfo> {
}

View File

@ -0,0 +1,14 @@
package com.nu.modules.eldertagsynclog.service;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogMain;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
public interface IElderTagSyncLogMainService extends IService<ElderTagSyncLogMain> {
}

View File

@ -0,0 +1,19 @@
package com.nu.modules.eldertagsynclog.service.impl;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogInfo;
import com.nu.modules.eldertagsynclog.mapper.ElderTagSyncLogInfoMapper;
import com.nu.modules.eldertagsynclog.service.IElderTagSyncLogInfoService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* @Description: 长者标签-镜像-日志-指令详情表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Service
public class ElderTagSyncLogInfoServiceImpl extends ServiceImpl<ElderTagSyncLogInfoMapper, ElderTagSyncLogInfo> implements IElderTagSyncLogInfoService {
}

View File

@ -0,0 +1,19 @@
package com.nu.modules.eldertagsynclog.service.impl;
import com.nu.modules.eldertagsynclog.entity.ElderTagSyncLogMain;
import com.nu.modules.eldertagsynclog.mapper.ElderTagSyncLogMainMapper;
import com.nu.modules.eldertagsynclog.service.IElderTagSyncLogMainService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* @Description: 长者标签-镜像-日志-主表
* @Author: jeecg-boot
* @Date: 2026-02-25
* @Version: V1.0
*/
@Service
public class ElderTagSyncLogMainServiceImpl extends ServiceImpl<ElderTagSyncLogMainMapper, ElderTagSyncLogMain> implements IElderTagSyncLogMainService {
}