RuoYi
2021-07-28 fd0de5c3ce1b0faa0f2e274d7b70f516e69d575a
src/main/resources/mybatis/system/SysPostMapper.xml
@@ -64,12 +64,12 @@
   
   <select id="checkPostNameUnique" parameterType="String" resultMap="SysPostResult">
      <include refid="selectPostVo"/>
       where post_name=#{postName}
       where post_name=#{postName} limit 1
   </select>
   
   <select id="checkPostCodeUnique" parameterType="String" resultMap="SysPostResult">
      <include refid="selectPostVo"/>
       where post_code=#{postCode}
       where post_code=#{postCode} limit 1
   </select>
   
   <update id="updatePost" parameterType="SysPost">