From d77171ee108ed708800d53fed174726be359b058 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 17 十一月 2022 14:54:52 +0800
Subject: [PATCH] 注册 白名单拦截 token验证

---
 ycl-platform/src/main/resources/dao/NewsDepartmentInformationDao.xml |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/NewsDepartmentInformationDao.xml b/ycl-platform/src/main/resources/dao/NewsDepartmentInformationDao.xml
similarity index 95%
rename from ycl-platform/src/main/resources/mapper/NewsDepartmentInformationDao.xml
rename to ycl-platform/src/main/resources/dao/NewsDepartmentInformationDao.xml
index 6a364f1..e5264d0 100644
--- a/ycl-platform/src/main/resources/mapper/NewsDepartmentInformationDao.xml
+++ b/ycl-platform/src/main/resources/dao/NewsDepartmentInformationDao.xml
@@ -1,31 +1,31 @@
-<?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.ycl.dao.NewsDepartmentInformationDao">
-
-    <resultMap type="com.ycl.entity.NewsDepartmentInformation" id="NewsDepartmentInformationMap">
-        <result property="id" column="id" jdbcType="INTEGER"/>
-        <result property="newsDepartmentId" column="news_department_id" jdbcType="INTEGER"/>
-        <result property="newsPoliceId" column="news_police_id" jdbcType="INTEGER"/>
-        <result property="isSign" column="is_sign" jdbcType="INTEGER"/>
-    </resultMap>
-
-    <!-- 鎵归噺鎻掑叆 -->
-    <insert id="insertBatch" keyProperty="id" useGeneratedKeys="true">
-        insert into news_website.news_department_information(news_department_id, news_police_id, is_sign)
-        values
-        <foreach collection="entities" item="entity" separator=",">
-        (#{entity.newsDepartmentId}, #{entity.newsPoliceId}, #{entity.isSign})
-        </foreach>
-    </insert>
-    <!-- 鎵归噺鎻掑叆鎴栨寜涓婚敭鏇存柊 -->
-    <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
-        insert into news_website.news_department_information(news_department_id, news_police_id, is_sign)
-        values
-        <foreach collection="entities" item="entity" separator=",">
-            (#{entity.newsDepartmentId}, #{entity.newsPoliceId}, #{entity.isSign})
-        </foreach>
-        on duplicate key update
-         news_department_id = values(news_department_id) , news_police_id = values(news_police_id) , is_sign = values(is_sign)     </insert>
-
-</mapper>
-
+<?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.ycl.mapper.NewsDepartmentInformationDao">
+
+    <resultMap type="com.ycl.entity.NewsDepartmentInformation" id="NewsDepartmentInformationMap">
+        <result property="id" column="id" jdbcType="INTEGER"/>
+        <result property="newsDepartmentId" column="news_department_id" jdbcType="INTEGER"/>
+        <result property="newsPoliceId" column="news_police_id" jdbcType="INTEGER"/>
+        <result property="isSign" column="is_sign" jdbcType="INTEGER"/>
+    </resultMap>
+
+    <!-- 鎵归噺鎻掑叆 -->
+    <insert id="insertBatch" keyProperty="id" useGeneratedKeys="true">
+        insert into news_website.news_department_information(news_department_id, news_police_id, is_sign)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+        (#{entity.newsDepartmentId}, #{entity.newsPoliceId}, #{entity.isSign})
+        </foreach>
+    </insert>
+    <!-- 鎵归噺鎻掑叆鎴栨寜涓婚敭鏇存柊 -->
+    <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
+        insert into news_website.news_department_information(news_department_id, news_police_id, is_sign)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.newsDepartmentId}, #{entity.newsPoliceId}, #{entity.isSign})
+        </foreach>
+        on duplicate key update
+         news_department_id = values(news_department_id) , news_police_id = values(news_police_id) , is_sign = values(is_sign)     </insert>
+
+</mapper>
+

--
Gitblit v1.8.0