src/main/resources/mapper/system/SysPostMapper.xml
@@ -73,6 +73,12 @@ <include refid="selectPostVo"/> where post_code=#{postCode} limit 1 </select> <select id="selectPostByTenantId" resultType="com.ruoyi.project.system.domain.SysPost"> <include refid="selectPostVo"/> <where> AND p.tenant_id = #{tenantId} </where> </select> <update id="updatePost" parameterType="com.ruoyi.project.system.domain.SysPost"> update sys_post