elis 2 年之前
父节点
当前提交
b81df61aa0

+ 0 - 10
nngkxxdp/src/main/resources/mapper/HlwInterfaceDao.xml

@@ -402,16 +402,6 @@
     </select>
 
 
-    <select id="getHlwDataZcwjNew" resultType="java.util.Map">
-        SELECT id, CHNLID, CHANNELNAME, DOCPUBURL, DOCRELTIME, DOCTITLE
-        from save_hlw_interface_data
-        where DOCRELTIME BETWEEN
-            #{firstDay} and #{lastDay}
-          AND CHNLID IN
-              (SELECT chnlid FROM t_dept_chnlid WHERE deptid = #{deptid} AND chnlid_specify = 1)
-        order by chnlid, DOCRELTIME
-    </select>
-
     <select id="getHlwDataGz" resultType="map">
         SELECT id, CHNLID, CHANNELNAME, DOCPUBURL, DOCRELTIME, DOCTITLE
         from save_hlw_interface_data

+ 0 - 27
nngkxxdp/src/test/java/com/example/nngkxxdp/service/impl/ArticleServiceImplTest.java

@@ -1,27 +0,0 @@
-package com.example.nngkxxdp.service.impl;
-
-import com.example.nngkxxdp.NngkxxdpApplication;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
-
-import javax.annotation.Resource;
-import java.util.Map;
-
-@RunWith(SpringRunner.class)
-@SpringBootTest(classes = NngkxxdpApplication.class)
-public class ArticleServiceImplTest {
-
-    @Resource
-    private ArticleServiceImpl articleService;
-    @Test
-    public void publicRemind() {
-        Map<String, Object> stringObjectMap = articleService.publicRemindNew();
-        System.out.println(stringObjectMap.toString());
-    }
-
-    @Test
-    public void publicRemindNew() {
-    }
-}

+ 0 - 34
nngkxxdp/src/test/java/com/jd/nngkxxdp/MapperTest.java

@@ -1,34 +0,0 @@
-package com.jd.nngkxxdp;
-
-import cn.hutool.core.date.DateUtil;
-import com.example.nngkxxdp.NngkxxdpApplication;
-import com.example.nngkxxdp.dao.HlwInterfaceDao;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.boot.test.context.SpringBootTest;
-
-import org.springframework.test.context.junit4.SpringRunner;
-
-import javax.annotation.Resource;
-import java.util.Date;
-import java.util.List;
-import java.util.Map;
-
-@RunWith(SpringRunner.class)
-@SpringBootTest(classes = NngkxxdpApplication.class)
-public class MapperTest {
-
-
-    @Resource
-    private HlwInterfaceDao hlwInterfaceDao;
-
-
-
-    @Test
-    public void testHlwInterfaceDao(){
-        List<Map<String, Object>> allNoColumn = hlwInterfaceDao.getAllNoColumn(DateUtil.format(new Date(), "yyyy-MM-dd HH:mm:ss"));
-        List<Map<String, Object>> allNoColumn2 = hlwInterfaceDao.getAllNoColumnNew(DateUtil.format(new Date(), "yyyy-MM-dd HH:mm:ss"));
-        System.out.println(allNoColumn.size());
-        System.out.println(allNoColumn2.size());
-    }
-}