| | |
| | | <include refid="selectPostVo"/> |
| | | where post_code=#{postCode} limit 1 |
| | | </select> |
| | | |
| | | <update id="updatePost" parameterType="com.ruoyi.project.system.domain.SysPost"> |
| | | <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 |
| | | <set> |
| | | <if test="postCode != null and postCode != ''">post_code = #{postCode},</if> |