RuoYi
2021-09-20 20199ed71c1078907de11efbc36ae690bfa252c4
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">