RuoYi
2021-05-23 c0eb447bb447d7d60a2c9293ec85c84595b9a3d9
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">