From b79c78fedb367570ca2f17a87fbc244a8dadb793 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期三, 27 三月 2024 17:29:04 +0800
Subject: [PATCH] 替换保存在数据库的模型中的图片的url前缀和token值,页面回显模型时,再替换回去。(因为url前缀和token是随环境变换的值,不能存在数据库中)

---
 modules/mainPart/src/main/resources/mapper/sysPictureBase/SysPictureBaseDao.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/mainPart/src/main/resources/mapper/sysPictureBase/SysPictureBaseDao.xml b/modules/mainPart/src/main/resources/mapper/sysPictureBase/SysPictureBaseDao.xml
index cc8a20a..bf36c33 100644
--- a/modules/mainPart/src/main/resources/mapper/sysPictureBase/SysPictureBaseDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/sysPictureBase/SysPictureBaseDao.xml
@@ -1,7 +1,7 @@
 <?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.zt.life.modules.sysPictureBase.dao.SysPictureBaseDao">
+<mapper namespace="com.zt.life.modules.mainPart.sysPictureBase.dao.SysPictureBaseDao">
     <update id="updateByDefault">
         update sys_picture_base
         set is_default=2
@@ -20,7 +20,7 @@
           and is_delete = 0
     </update>
 
-    <select id="getList" resultType="com.zt.life.modules.sysPictureBase.model.SysPictureBase">
+    <select id="getList" resultType="com.zt.life.modules.mainPart.sysPictureBase.model.SysPictureBase">
         select a.*
         from sys_picture_base a
         <where>

--
Gitblit v1.9.1