@ -47,7 +47,7 @@ public interface ClassifyMapper {
* @param id
* @return
*/
int updateStatus(Integer id);
int updateStatus(@Param("id") Integer id,@Param("status") Integer status);
/**
* 查找某个
@ -89,4 +89,9 @@
where id=#{id}
</update>
<!-- 更新状态 -->
<update id="updateStatus" parameterType="java.lang.Integer">
update <include refid="tbName"/> set status=#{status} where id=#{id}
</mapper>