From 4a8345a9643ab40ec6268edd455e91a68e0ba79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=89=E5=BF=AB=E7=9A=84=E5=A4=A7=E7=A6=8F?= <8790092+honest_zcy@user.noreply.gitee.com> Date: Mon, 22 Jul 2024 08:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AC=E4=BB=B6=E5=95=86=E5=9F=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin_zt/src/api/setting/hardware.js | 37 ++ .../src/components/ImagePreview/index.vue | 1 + .../src/components/ImageUpload/index.vue | 6 +- fuintAdmin_zt/src/views/setting/hardware.vue | 343 ++++++++++++++++++ fuintAdmin_zt/src/views/setting/message.vue | 343 ++++++++++++++++++ fuintAdmin_zt/src/views/setting/sysLog.vue | 0 .../controller/HardwareStoreController.java | 105 ++++++ .../controller/MessageTemplateController.java | 88 +++++ .../setting/controller/SysLogController.java | 88 +++++ .../setting/entity/HardwareStore.java | 49 +++ .../setting/entity/MessageTemplate.java | 41 +++ .../fuint/business/setting/entity/SysLog.java | 147 ++++++++ .../setting/mapper/HardwareStoreMapper.java | 17 + .../setting/mapper/MessageTemplateMapper.java | 17 + .../business/setting/mapper/SysLogMapper.java | 17 + .../setting/service/HardwareStoreService.java | 15 + .../service/MessageTemplateService.java | 15 + .../setting/service/SysLogService.java | 15 + .../impl/HardwareStoreServiceImpl.java | 19 + .../impl/MessageTemplateServiceImpl.java | 19 + .../service/impl/SysLogServiceImpl.java | 19 + .../dict/mapper/xml/SysDictDataMapper.xml | 2 +- .../src/main/resources/application.properties | 2 +- fuintBackend/pom.xml | 2 +- 24 files changed, 1403 insertions(+), 4 deletions(-) create mode 100644 fuintAdmin_zt/src/api/setting/hardware.js create mode 100644 fuintAdmin_zt/src/views/setting/hardware.vue create mode 100644 fuintAdmin_zt/src/views/setting/message.vue create mode 100644 fuintAdmin_zt/src/views/setting/sysLog.vue create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/HardwareStoreController.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/MessageTemplateController.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/HardwareStore.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/MessageTemplate.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/SysLog.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/HardwareStoreMapper.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/MessageTemplateMapper.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/SysLogMapper.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/HardwareStoreService.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/MessageTemplateService.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/SysLogService.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/HardwareStoreServiceImpl.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/MessageTemplateServiceImpl.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/SysLogServiceImpl.java diff --git a/fuintAdmin_zt/src/api/setting/hardware.js b/fuintAdmin_zt/src/api/setting/hardware.js new file mode 100644 index 000000000..184e70d9c --- /dev/null +++ b/fuintAdmin_zt/src/api/setting/hardware.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' + +// 分页查询所有的订单信息 +export function getListApi(query) { + return request({ + url: 'hardwareStore', + method: 'get', + params: query + }) +} + +// +export function deleteApi(ids) { + return request({ + url: 'hardwareStore?idList=' + ids, + method: 'delete' + }) +} +// +export function saveApi(data) { + return request({ + url: 'hardwareStore', + method: 'post', + data: data + }) +} + +// 保存修改信息 +export function updateApi(data) { + return request({ + url: 'hardwareStore', + method: 'put', + data: data + }) +} + + diff --git a/fuintAdmin_zt/src/components/ImagePreview/index.vue b/fuintAdmin_zt/src/components/ImagePreview/index.vue index 743d8d51d..b2d4c7a52 100644 --- a/fuintAdmin_zt/src/components/ImagePreview/index.vue +++ b/fuintAdmin_zt/src/components/ImagePreview/index.vue @@ -32,6 +32,7 @@ export default { }, computed: { realSrc() { + let real_src = this.src.split(",")[0]; if (isExternal(real_src)) { return real_src; diff --git a/fuintAdmin_zt/src/components/ImageUpload/index.vue b/fuintAdmin_zt/src/components/ImageUpload/index.vue index 8192c87cf..841f91589 100644 --- a/fuintAdmin_zt/src/components/ImageUpload/index.vue +++ b/fuintAdmin_zt/src/components/ImageUpload/index.vue @@ -88,8 +88,10 @@ export default { value: { handler(val) { if (val) { + console.log(91111) // 首先将值转为数组 const list = Array.isArray(val) ? val : this.value.split(','); + console.log(9333) // 然后将数组转为对象数组 this.fileList = list.map(item => { if (typeof item === "string") { @@ -127,7 +129,8 @@ export default { }, // 上传成功回调 handleUploadSuccess(res) { - this.uploadList.push({ name: res.fileName, url: res.fileName }); + console.log(res,132) + this.uploadList.push({ name: res.data.fileName, url: res.data.fileName }); if (this.uploadList.length === this.number) { this.fileList = this.fileList.concat(this.uploadList); this.uploadList = []; @@ -185,6 +188,7 @@ export default { listToString(list, separator) { let strs = ""; separator = separator || ","; + console.log(list,190) for (let i in list) { strs += list[i].url.replace(this.baseUrl, "") + separator; } diff --git a/fuintAdmin_zt/src/views/setting/hardware.vue b/fuintAdmin_zt/src/views/setting/hardware.vue new file mode 100644 index 000000000..991db3e85 --- /dev/null +++ b/fuintAdmin_zt/src/views/setting/hardware.vue @@ -0,0 +1,343 @@ + + + + + diff --git a/fuintAdmin_zt/src/views/setting/message.vue b/fuintAdmin_zt/src/views/setting/message.vue new file mode 100644 index 000000000..3bbda30bc --- /dev/null +++ b/fuintAdmin_zt/src/views/setting/message.vue @@ -0,0 +1,343 @@ + + + + + diff --git a/fuintAdmin_zt/src/views/setting/sysLog.vue b/fuintAdmin_zt/src/views/setting/sysLog.vue new file mode 100644 index 000000000..e69de29bb diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/HardwareStoreController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/HardwareStoreController.java new file mode 100644 index 000000000..301c232b7 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/HardwareStoreController.java @@ -0,0 +1,105 @@ +package com.fuint.business.setting.controller; + + + +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.fuint.business.setting.entity.HardwareStore; +import com.fuint.business.setting.service.HardwareStoreService; +import com.fuint.common.dto.AccountInfo; +import com.fuint.common.util.StringUtils; +import com.fuint.common.util.TokenUtil; +import com.fuint.framework.web.BaseController; +import com.fuint.framework.web.ResponseObject; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.io.Serializable; +import java.util.List; + +/** + * 硬件商城(HardwareStore)表控制层 + * + * @author makejava + * @since 2024-07-18 17:30:38 + */ +@RestController +@RequestMapping("hardwareStore") +public class HardwareStoreController extends BaseController { + /** + * 服务对象 + */ + @Resource + private HardwareStoreService hardwareStoreService; + + /** + * 分页查询所有数据 + * + * @param page 分页对象 + * @param hardwareStore 查询实体 + * @return 所有数据 + */ + @GetMapping + public ResponseObject selectAll(Page page, HardwareStore hardwareStore) { + LambdaQueryWrapper hardwareStoreQueryWrapper = new LambdaQueryWrapper(); + if (!StringUtils.isEmpty(hardwareStore.getName())){ + hardwareStoreQueryWrapper.like(HardwareStore::getName,hardwareStore.getName()); + } + if (!StringUtils.isEmpty(hardwareStore.getStatus())){ + hardwareStoreQueryWrapper.eq(HardwareStore::getStatus,hardwareStore.getStatus()); + } + if (!StringUtils.isEmpty(hardwareStore.getCategoryName())){ + hardwareStoreQueryWrapper.eq(HardwareStore::getCategoryName,hardwareStore.getCategoryName()); + } + return getSuccessResult(this.hardwareStoreService.page(page, hardwareStoreQueryWrapper)); + } + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("{id}") + public ResponseObject selectOne(@PathVariable Serializable id) { + return getSuccessResult(this.hardwareStoreService.getById(id)); + } + + /** + * 新增数据 + * + * @param hardwareStore 实体对象 + * @return 新增结果 + */ + @PostMapping + public ResponseObject insert(@RequestBody HardwareStore hardwareStore) { + //获取当前登录用户 + AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo(); + hardwareStore.setCreateName(nowAccountInfo.getRealName()); + return getSuccessResult(this.hardwareStoreService.save(hardwareStore)); + } + + /** + * 修改数据 + * + * @param hardwareStore 实体对象 + * @return 修改结果 + */ + @PutMapping + public ResponseObject update(@RequestBody HardwareStore hardwareStore) { + return getSuccessResult(this.hardwareStoreService.updateById(hardwareStore)); + } + + /** + * 删除数据 + * + * @param idList 主键结合 + * @return 删除结果 + */ + @DeleteMapping + public ResponseObject delete(@RequestParam("idList") List idList) { + return getSuccessResult(this.hardwareStoreService.removeByIds(idList)); + } +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/MessageTemplateController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/MessageTemplateController.java new file mode 100644 index 000000000..437bc58b0 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/MessageTemplateController.java @@ -0,0 +1,88 @@ +package com.fuint.business.setting.controller; + + + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.fuint.business.setting.entity.MessageTemplate; +import com.fuint.business.setting.service.MessageTemplateService; +import com.fuint.framework.web.BaseController; +import com.fuint.framework.web.ResponseObject; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.io.Serializable; +import java.util.List; + +/** + * (MessageTemplate)表控制层 + * + * @author makejava + * @since 2024-07-18 14:58:50 + */ +@RestController +@RequestMapping("messageTemplate") +public class MessageTemplateController extends BaseController { + /** + * 服务对象 + */ + @Resource + private MessageTemplateService messageTemplateService; + + /** + * 分页查询所有数据 + * + * @param page 分页对象 + * @param messageTemplate 查询实体 + * @return 所有数据 + */ + @GetMapping + public ResponseObject selectAll(Page page, MessageTemplate messageTemplate) { + return getSuccessResult(this.messageTemplateService.page(page, new QueryWrapper<>(messageTemplate))); + } + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("{id}") + public ResponseObject selectOne(@PathVariable Serializable id) { + return getSuccessResult(this.messageTemplateService.getById(id)); + } + + /** + * 新增数据 + * + * @param messageTemplate 实体对象 + * @return 新增结果 + */ + @PostMapping + public ResponseObject insert(@RequestBody MessageTemplate messageTemplate) { + return getSuccessResult(this.messageTemplateService.save(messageTemplate)); + } + + /** + * 修改数据 + * + * @param messageTemplate 实体对象 + * @return 修改结果 + */ + @PutMapping + public ResponseObject update(@RequestBody MessageTemplate messageTemplate) { + return getSuccessResult(this.messageTemplateService.updateById(messageTemplate)); + } + + /** + * 删除数据 + * + * @param idList 主键结合 + * @return 删除结果 + */ + @DeleteMapping + public ResponseObject delete(@RequestParam("idList") List idList) { + return getSuccessResult(this.messageTemplateService.removeByIds(idList)); + } +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java new file mode 100644 index 000000000..ecfdc5a4d --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/controller/SysLogController.java @@ -0,0 +1,88 @@ +package com.fuint.business.setting.controller; + + + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.fuint.business.setting.entity.SysLog; +import com.fuint.business.setting.service.SysLogService; +import com.fuint.framework.web.BaseController; +import com.fuint.framework.web.ResponseObject; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.io.Serializable; +import java.util.List; + +/** + * (SysLog)表控制层 + * + * @author makejava + * @since 2024-07-18 15:37:16 + */ +@RestController +@RequestMapping("sysLog") +public class SysLogController extends BaseController { + /** + * 服务对象 + */ + @Resource + private SysLogService sysLogService; + + /** + * 分页查询所有数据 + * + * @param page 分页对象 + * @param sysLog 查询实体 + * @return 所有数据 + */ + @GetMapping + public ResponseObject selectAll(Page page, SysLog sysLog) { + return getSuccessResult(this.sysLogService.page(page, new QueryWrapper<>(sysLog))); + } + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("{id}") + public ResponseObject selectOne(@PathVariable Serializable id) { + return getSuccessResult(this.sysLogService.getById(id)); + } + + /** + * 新增数据 + * + * @param sysLog 实体对象 + * @return 新增结果 + */ + @PostMapping + public ResponseObject insert(@RequestBody SysLog sysLog) { + return getSuccessResult(this.sysLogService.save(sysLog)); + } + + /** + * 修改数据 + * + * @param sysLog 实体对象 + * @return 修改结果 + */ + @PutMapping + public ResponseObject update(@RequestBody SysLog sysLog) { + return getSuccessResult(this.sysLogService.updateById(sysLog)); + } + + /** + * 删除数据 + * + * @param idList 主键结合 + * @return 删除结果 + */ + @DeleteMapping + public ResponseObject delete(@RequestParam("idList") List idList) { + return getSuccessResult(this.sysLogService.removeByIds(idList)); + } +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/HardwareStore.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/HardwareStore.java new file mode 100644 index 000000000..f74f1429b --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/HardwareStore.java @@ -0,0 +1,49 @@ +package com.fuint.business.setting.entity; + +import java.util.Date; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.extension.activerecord.Model; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.io.Serializable; + +/** + * 硬件商城(HardwareStore)表实体类 + * + * @author makejava + * @since 2024-07-18 17:30:38 + */ +@Data +public class HardwareStore extends Model { + @TableId(type = IdType.AUTO) + private Integer id; + //商品名称 + private String name; + //分类 + private String categoryName; + //图片 + private String image; + //采购商家 + private String formStore; + //商品介绍 + private String content; + //状态0未上架1已上架 + private String status; + //创建时间 + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + private Date createTime; + //创建人 + private String createBy; + //更新时间 + private Date updateTime; + //更新人 + private String updateBy; + //创建人名称 + private String createName; + + + } + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/MessageTemplate.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/MessageTemplate.java new file mode 100644 index 000000000..42a7fa5a6 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/MessageTemplate.java @@ -0,0 +1,41 @@ +package com.fuint.business.setting.entity; + +import java.util.Date; +import com.baomidou.mybatisplus.extension.activerecord.Model; +import lombok.Data; + +import java.io.Serializable; + +/** + * (MessageTemplate)表实体类 + * + * @author makejava + * @since 2024-07-18 14:58:56 + */ +@Data +public class MessageTemplate extends Model { + //主键 + private Integer id; + //短信名称 + private String name; + //短信内容 + private String content; + //适用范围 + private String deptIds; + //适用角色 + private String roleIds; + //状态0停用1启用 + private String status; + //创建者名称 + private String createName; + //创建时间 + private Date createTime; + //创建人 + private String createBy; + //更新时间 + private Date updateTime; + //更新人 + private String updateBy; + + } + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/SysLog.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/SysLog.java new file mode 100644 index 000000000..c85953385 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/entity/SysLog.java @@ -0,0 +1,147 @@ +package com.fuint.business.setting.entity; + +import java.util.Date; +import com.baomidou.mybatisplus.extension.activerecord.Model; +import java.io.Serializable; + +/** + * (SysLog)表实体类 + * + * @author makejava + * @since 2024-07-18 15:37:16 + */ +@SuppressWarnings("serial") +public class SysLog extends Model { + + private Integer id; + //ip地址 + private String ipAddr; + //操作内容 + private String content; + //操作模块 + private String moudle; + //1中台端2油站端 + private String systemName; + //机构名称 + private String deptName; + //登录账户 + private String createAccount; + //创建人名称 + private String createName; + //创建时间 + private Date createTime; + //创建人 + private String createBy; + //更新时间 + private Date updateTime; + //更新人 + private String updateBy; + + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getIpAddr() { + return ipAddr; + } + + public void setIpAddr(String ipAddr) { + this.ipAddr = ipAddr; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getMoudle() { + return moudle; + } + + public void setMoudle(String moudle) { + this.moudle = moudle; + } + + public String getSystemName() { + return systemName; + } + + public void setSystemName(String systemName) { + this.systemName = systemName; + } + + public String getDeptName() { + return deptName; + } + + public void setDeptName(String deptName) { + this.deptName = deptName; + } + + public String getCreateAccount() { + return createAccount; + } + + public void setCreateAccount(String createAccount) { + this.createAccount = createAccount; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy) { + this.updateBy = updateBy; + } + + /** + * 获取主键值 + * + * @return 主键值 + */ + @Override + protected Serializable pkVal() { + return this.id; + } + } + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/HardwareStoreMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/HardwareStoreMapper.java new file mode 100644 index 000000000..54e5c6861 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/HardwareStoreMapper.java @@ -0,0 +1,17 @@ +package com.fuint.business.setting.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.fuint.business.setting.entity.HardwareStore; +import org.mapstruct.Mapper; + +/** + * 硬件商城(HardwareStore)表数据库访问层 + * + * @author makejava + * @since 2024-07-18 17:30:38 + */ +@Mapper +public interface HardwareStoreMapper extends BaseMapper { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/MessageTemplateMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/MessageTemplateMapper.java new file mode 100644 index 000000000..1c17f4b5d --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/MessageTemplateMapper.java @@ -0,0 +1,17 @@ +package com.fuint.business.setting.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.fuint.business.setting.entity.MessageTemplate; +import org.mapstruct.Mapper; + +/** + * (MessageTemplate)表数据库访问层 + * + * @author makejava + * @since 2024-07-18 14:58:51 + */ +@Mapper +public interface MessageTemplateMapper extends BaseMapper { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/SysLogMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/SysLogMapper.java new file mode 100644 index 000000000..5d6baabea --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/mapper/SysLogMapper.java @@ -0,0 +1,17 @@ +package com.fuint.business.setting.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.fuint.business.setting.entity.SysLog; +import org.mapstruct.Mapper; + +/** + * (SysLog)表数据库访问层 + * + * @author makejava + * @since 2024-07-18 15:37:16 + */ +@Mapper +public interface SysLogMapper extends BaseMapper { + //插入数据库日志 +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/HardwareStoreService.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/HardwareStoreService.java new file mode 100644 index 000000000..035f74eb4 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/HardwareStoreService.java @@ -0,0 +1,15 @@ +package com.fuint.business.setting.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.fuint.business.setting.entity.HardwareStore; + +/** + * 硬件商城(HardwareStore)表服务接口 + * + * @author makejava + * @since 2024-07-18 17:30:39 + */ +public interface HardwareStoreService extends IService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/MessageTemplateService.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/MessageTemplateService.java new file mode 100644 index 000000000..4cbdbb75c --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/MessageTemplateService.java @@ -0,0 +1,15 @@ +package com.fuint.business.setting.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.fuint.business.setting.entity.MessageTemplate; + +/** + * (MessageTemplate)表服务接口 + * + * @author makejava + * @since 2024-07-18 14:58:57 + */ +public interface MessageTemplateService extends IService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/SysLogService.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/SysLogService.java new file mode 100644 index 000000000..aa7f62b58 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/SysLogService.java @@ -0,0 +1,15 @@ +package com.fuint.business.setting.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.fuint.business.setting.entity.SysLog; + +/** + * (SysLog)表服务接口 + * + * @author makejava + * @since 2024-07-18 15:37:16 + */ +public interface SysLogService extends IService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/HardwareStoreServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/HardwareStoreServiceImpl.java new file mode 100644 index 000000000..b0e954e39 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/HardwareStoreServiceImpl.java @@ -0,0 +1,19 @@ +package com.fuint.business.setting.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.fuint.business.setting.mapper.HardwareStoreMapper; +import com.fuint.business.setting.entity.HardwareStore; +import com.fuint.business.setting.service.HardwareStoreService; +import org.springframework.stereotype.Service; + +/** + * 硬件商城(HardwareStore)表服务实现类 + * + * @author makejava + * @since 2024-07-18 17:30:39 + */ +@Service("hardwareStoreService") +public class HardwareStoreServiceImpl extends ServiceImpl implements HardwareStoreService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/MessageTemplateServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/MessageTemplateServiceImpl.java new file mode 100644 index 000000000..51722a1c2 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/MessageTemplateServiceImpl.java @@ -0,0 +1,19 @@ +package com.fuint.business.setting.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.fuint.business.setting.mapper.MessageTemplateMapper; +import com.fuint.business.setting.entity.MessageTemplate; +import com.fuint.business.setting.service.MessageTemplateService; +import org.springframework.stereotype.Service; + +/** + * (MessageTemplate)表服务实现类 + * + * @author makejava + * @since 2024-07-18 14:58:57 + */ +@Service("messageTemplateService") +public class MessageTemplateServiceImpl extends ServiceImpl implements MessageTemplateService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/SysLogServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/SysLogServiceImpl.java new file mode 100644 index 000000000..30478f7a1 --- /dev/null +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/setting/service/impl/SysLogServiceImpl.java @@ -0,0 +1,19 @@ +package com.fuint.business.setting.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.fuint.business.setting.mapper.SysLogMapper; +import com.fuint.business.setting.entity.SysLog; +import com.fuint.business.setting.service.SysLogService; +import org.springframework.stereotype.Service; + +/** + * (SysLog)表服务实现类 + * + * @author makejava + * @since 2024-07-18 15:37:16 + */ +@Service("sysLogService") +public class SysLogServiceImpl extends ServiceImpl implements SysLogService { + +} + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/system/dict/mapper/xml/SysDictDataMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/system/dict/mapper/xml/SysDictDataMapper.xml index ac03a599f..0a6b0dc9c 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/system/dict/mapper/xml/SysDictDataMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/system/dict/mapper/xml/SysDictDataMapper.xml @@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"