From 93681ca68a83ec3e071b2f85f7ed6449509a1dfb Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 21 十一月 2024 20:09:39 +0800
Subject: [PATCH] 初始化

---
 system/src/main/resources/mapper/system/SysPostMapper.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/system/src/main/resources/mapper/system/SysPostMapper.xml b/system/src/main/resources/mapper/system/SysPostMapper.xml
index 55d3669..e9312e5 100644
--- a/system/src/main/resources/mapper/system/SysPostMapper.xml
+++ b/system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -2,9 +2,9 @@
 <!DOCTYPE mapper
 PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.hnct.system.mapper.SysPostMapper">
+<mapper namespace="com.ycl.system.mapper.SysPostMapper">
 
-	<resultMap type="com.hnct.system.domain.SysPost" id="SysPostResult">
+	<resultMap type="SysPost" id="SysPostResult">
 		<id     property="postId"        column="post_id"       />
 		<result property="postCode"      column="post_code"     />
 		<result property="postName"      column="post_name"     />
@@ -22,7 +22,7 @@
 		from sys_post
     </sql>
 
-	<select id="selectPostList" parameterType="com.hnct.system.domain.SysPost" resultMap="SysPostResult">
+	<select id="selectPostList" parameterType="SysPost" resultMap="SysPostResult">
 	    <include refid="selectPostVo"/>
 		<where>
 			<if test="postCode != null and postCode != ''">
@@ -72,7 +72,7 @@
 		 where post_code=#{postCode} limit 1
 	</select>
 
-	<update id="updatePost" parameterType="com.hnct.system.domain.SysPost">
+	<update id="updatePost" parameterType="SysPost">
  		update sys_post
  		<set>
  			<if test="postCode != null and postCode != ''">post_code = #{postCode},</if>
@@ -86,7 +86,7 @@
  		where post_id = #{postId}
 	</update>
 
- 	<insert id="insertPost" parameterType="com.hnct.system.domain.SysPost" useGeneratedKeys="true" keyProperty="postId">
+ 	<insert id="insertPost" parameterType="SysPost" useGeneratedKeys="true" keyProperty="postId">
  		insert into sys_post(
  			<if test="postId != null and postId != 0">post_id,</if>
  			<if test="postCode != null and postCode != ''">post_code,</if>

--
Gitblit v1.8.0