diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/mapper/HwWebMapper1.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/mapper/HwWebMapper1.java index cf48bc9..0f90b96 100644 --- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/mapper/HwWebMapper1.java +++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/mapper/HwWebMapper1.java @@ -20,6 +20,14 @@ public interface HwWebMapper1 */ public HwWeb1 selectHwWebByWebcode(Long webCode); + /** + * 查询haiwei官网json列表 + * + * @param HwWeb1 haiwei官网json + * @return haiwei官网json集合 + */ + public HwWeb1 selectHwWebOne(HwWeb1 hwWeb1); + /** * 查询haiwei官网json列表 * diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/IHwWebService1.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/IHwWebService1.java index 076d0ee..3cddc2a 100644 --- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/IHwWebService1.java +++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/IHwWebService1.java @@ -19,6 +19,8 @@ public interface IHwWebService1 */ public HwWeb1 selectHwWebByWebcode(Long webCode); + public HwWeb1 selectHwWebOne(HwWeb1 hwWeb1); + /** * 查询haiwei官网json列表 * diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/impl/HwWebServiceImpl1.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/impl/HwWebServiceImpl1.java index 61143d6..f1dc951 100644 --- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/impl/HwWebServiceImpl1.java +++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/service/impl/HwWebServiceImpl1.java @@ -34,6 +34,12 @@ public class HwWebServiceImpl1 implements IHwWebService1 return hwWebMapper1.selectHwWebByWebcode(webCode); } + @Override + public HwWeb1 selectHwWebOne(HwWeb1 hwWeb1) + { + return hwWebMapper1.selectHwWebOne(hwWeb1); + } + /** * 查询haiwei官网json列表 diff --git a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper1.xml b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper1.xml index f4c5020..ee172b0 100644 --- a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper1.xml +++ b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper1.xml @@ -36,6 +36,13 @@ where web_code = #{webCode} + + insert into hw_web1